LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to array and saving strings

Hello,

 

I am having two issues with my Labview code that I'm hoping someone can help me with. (VI has been attached)

 

1) I want to be able to take my continuous waveform data and write it to an array so that the user can have a visual of the values that are being read. I have multiple DAQs operating at different sampling rates, therefore I want to read every sample, resample it, then write all the data to a TDMS with a common timestamp. The only way I am able to get the data to write to an array is if I set a value for  '# of samples to read" on my Read function. The problem is, I need to read every sample in order for it to be resampled and written with a common timestamp, therefore setting a '# of samples to read' isn't an option. Any advice on how to get the data to write to an array is greatly appreciated.

 

2) I want to give all my channels a set name, which can be adjusted later if the user wishes. The problem is that if I type out names for all my channels into a string, then save and close the program, once I reopen the VI all the channel names I wrote out are once again blank. How can I make it so that the channel names/string I type out are not deleted when closing the program, yet still editable?

 

Thank you

Download All
0 Kudos
Message 1 of 2
(2,836 Views)
I do not have version 2015 so I could not open your vi
just for your second question If I guess correctly that what you want
do this
right click on string and go data operations and select make this data as default
0 Kudos
Message 2 of 2
(2,796 Views)