LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading from a multi-segment measurement file

Thanks Kristen. I colud solve the problem by making it a single-segment TDMS file. The only problem that is left is that I have a "multi-column list box" which contents should be saved and loaoed as well. I tried to do this with the comment option by making the 2D string into a spreadsheet and passing it as a comment to the write function, but the read function does not recover the comment. What is your suggestion to solve this?

 

Thank you,

-- Reza

0 Kudos
Message 11 of 16
(849 Views)

Hi Reza,

 

I'm not sure I follow.  Would you mind posting your code or a VI with this section of code that is giving you trouble? thanks!

 

Kristen H.

0 Kudos
Message 12 of 16
(832 Views)
My main question is that how we can write a 2D array of strings to a TDMS file?
0 Kudos
Message 13 of 16
(830 Views)

Hi rayt,

 

I was able to write stings to a TDMS file and read them too.  See below.

 

tdms with strings block diagram.jpg

 

Kristen H.

0 Kudos
Message 14 of 16
(812 Views)

Thank you Kristen. I'll try to use this approach mixed with Write/Read from Measurement file method that I have already used.

 

-- Reza

0 Kudos
Message 15 of 16
(796 Views)

To keep everything in a single TDMS file, I used string to array functions and wrote them in the TDMS file.

 

-- Reza

0 Kudos
Message 16 of 16
(777 Views)