LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

plot two graphs in same XY graph

Solved!
Go to solution

Hi

i want to save the graphs which are generated by a Vi into  a file programically  

how this can be done

thanks in advance

augustin

 

Certified LabVIEW Developer
0 Kudos
Message 1 of 6
(3,349 Views)

Hi augustin,

you can use the "Write Waveforms to File.vi". If you have no waveforms, which format do you have?

Mike

0 Kudos
Message 2 of 6
(3,348 Views)

thanks for your reply .

I am saving it in .txt format

Certified LabVIEW Developer
0 Kudos
Message 3 of 6
(3,345 Views)

Hi augustin,

you can use the write to spreadsheet file function. See the attached picture please.

 

Hope it helps.

Mike

0 Kudos
Message 4 of 6
(3,341 Views)
Solution
Accepted by mjaugustin

Hi Augustin,

 

       Get the array data form the XY graph using property node and convert that into spreadsheet string and then write in a text file.

       The attached image might be useful to you.

 

 

Regards,

 

Raja 

0 Kudos
Message 5 of 6
(3,328 Views)

Rajaa,

Obviously the XY graph has been constructed using X and Y data. It should be better (faster and memory saving) to use directly these data than to use a property node to retrieve them... 😉

Chilly Charly    (aka CC)
Message 6 of 6
(3,317 Views)