LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot get write-text vi to pull/write existing array data to local drive. Using ver7.0

Cannot get write-text vi to pull/write existing array data to local drive. Using ver7.0. Trying to unbundle strings by name and write to file on local drive. However, only random data from example text vi being saved to file.
Where am I making my mistakes in capturing the data? The Run Info Out string is what I'm trying to capture.
 
Thanks
 
Zone
 
0 Kudos
Message 1 of 5
(2,962 Views)

First of all,  I did you post a screenshot of your code embedded as a graphic on an Excel spreadsheet.  It looks horrible! Smiley Mad A lot of the graphics are corrupted.  Please post the actual .vi, or a screenshot as a .png file (best), or even .jpeg (not as good as .png, but far better than an excel file.)

 

In your section of code where you write to the file, the only data you are writing is what is coming out of the VI with up and down curved arrows and a PC icon.  What does that VI do?  Where is the "existing array data" generated?    Where is the "random data from example text vi"? 

Your run info out cluster is unbundled and all the items show up as tunnels on the top edge of the while loop, but you don't actually use any of that data in the while loop.  So what are you trying to do there?

Perhaps you can give a little clearer description of what  you are trying to do in this VI and whether you wrote it, or someone else.  Are you trying to modify it?

0 Kudos
Message 2 of 5
(2,952 Views)

Sorry about the bad screen-shot. I am trying to modify this existing code that takes the input cluster string and runs the vi once all the inputs are populated and the "start" initilalizes. I am trying to take this data -(the run info out) and write it to a folder on a local drive on the pc.

I want to unbundle this data wired to the while loop and write as a text file to the local drive ( 1 run info in-run- 2 take run info out and 3 write text file). I just not sure how to wire/ format the data once it is wired to the while loop.

Thanks for the reply

0 Kudos
Message 3 of 5
(2,935 Views)
You might want to look at the OpenG libraries.  I haven't had an opportunity to use them myself, but a lot of people on the forums mention using them.  Here is a link to a thread that tells how to download the files.  http://forums.ni.com/ni/board/message?board.id=170&message.id=218523&requireLogin=False
0 Kudos
Message 4 of 5
(2,927 Views)
OK Thanks. I will check this out
0 Kudos
Message 5 of 5
(2,921 Views)