From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-15-2018 08:45 AM
Hello,
I am using labview 2012 at my place of business. originally it would append to a txt file when I save or append it and it would lay out all the specs similar to this
Title
name
power
etc..
but after a while it started saving the fiile like this
title power
33333333333333333333333
we would open it with MS Excel and it would work perfect like top example now it's doing this does anyone know why.
Solved! Go to Solution.
08-15-2018 09:18 AM
08-15-2018 03:07 PM
I don't know what you mean by VI but I been saving it like that since last week and nothing like that ever happened. Today is the first time that happened.
08-15-2018 03:11 PM
Hi daddy,
so there is a problem with a text file you don't want to attach.
And that text file is created by your VI - but you also don't want to attach that VI here.
So what kind of help do you expect when you don't want to attach anything needed to spot possible problems?
(Talk with a car mechanic: Hey, my car stopped working. Last week everything was fine. Can you repair it?)
08-15-2018 03:52 PM
@daddycardona wrote:
Hello,
I am using labview 2012 at my place of business. originally it would append to a txt file when I save or append it ...
So what do you do? Do you start LabVIEW 2012? Do you open a piece of LabVIEW Code (also known as a VI, a Virtual Instrument) and click the Run button? If you do this, then please attach the code (the file whose extension is ".vi" that you have been running) and we will take a look at it and try to figure out what is wrong.
If you are doing "something else" to run your LabVIEW program, tell us the steps that you take ("I open the file called XXX, and click on the button marked YYY") so we can understand better and make more helpful comments.
Bob Schor
08-16-2018 05:14 PM
First sorry for the late response. I do everything the exact same way. someone else wrote the program that we use for labview and that person is not there. So basically we have a file called Golden.txt, and use this file for appending a 11 step test to a mimic. Golden is just short for golden standard which we use the same mimic to check and make sure it is still producing the same amount of power or very similar power after we calibrate the heads. I can't attach the spread sheet because it is confidential however, basically what happens to just that file is, it turns the appended file into something unreadable.
the attached file is an example because that is all the information I am about to give out.
08-17-2018 12:41 AM
Hi daddy,
you talk about some text files with garbled content, but then you attach an Excel in a proprietary file format (aka XLSX)…
How should we help here?
All we can do is to state "Yes, the content of that Excel file looks not as probably intended."
When you need more help you need to attach the VI which is used to create those files! The problem is not "in" the text (or XLSX) file, it is in the routine used to create them!
08-22-2018 06:19 PM
I can't attach it it's confidential. I am saying this is what happens originally when opened in txt file in Excel and this is what it looks like because I had 2 sheets filled. That was my example however, we made a new file.
08-23-2018 01:00 AM - edited 08-23-2018 01:01 AM
Hi daddy,
this is what happens originally when opened in txt file in Excel and this is what it looks like because I had 2 sheets filled.
You have the words "text file", "Excel" and "2 sheets" in one sentence. This sounds horribly wrong to me!
You EITHER work with Excel files (aka XLS/XLSX), which can have (among other things) several worksheets.
OR you work with (plain or formatted) text files, which only contain text. No sheets, no formatting, no fancy stuff. Just ONE sheet of data, maybe delimited using tabs , commas or semicolons.
Now ask yourself (or write us): did you mix those two very different file formats?
08-23-2018 03:04 AM
Hello daddy,
after answering Gerd's questions you also should explain what steps you take to start your program. Because still it is likely that you start a compiled EXE and then the answers will change.
Considering your answer "I don't know what you mean by VI..." I suppose you are not a LabVIEW- programmer. And with the statement that it's all confident you can't show us the relevant parts of your code (i.e. the appropriate VI). But in this way we are not able to help you.
Perhaps you should think about getting a trustworthy LabVIEW- programmer to maintain your VI.