LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string storage

Hello, I am trying to store / export buffer that I read from VISA to a text file.

I can read / store it but only one line is printed.

 

And I feel this should be fairly simple, but no idea where to dig in.. 

I tried several but could make it yet.. 

 

Bare me with this beginner's question..

 

Thanks,

 

-ELabview.JPG

0 Kudos
Message 1 of 2
(2,347 Views)

As it stands, your code sends the same command (IDN?) over and over again... and therefore gets the same answer over and over again until you press stop. None of your code is trying to write to a file, it is just putting it onto your front panel in a string indicator. As the data you read will be the same every loop, you will not notice that the indicator is being updated.

 

If you want to write it to a text file you need to look at the File I/O palette and some of the examples for Write to Text File or similar.

 

What exactly are you trying to achieve?

 

Ian

0 Kudos
Message 2 of 2
(2,324 Views)