LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS file like a .wav file

Solved!
Go to solution

hi,

 

i would like to do a triggered acquisition of dynamic power spectrum and to save it in a TDMS file.

(XP pro, Labview 8.5, PXI 5600 and PXI 5620) 

 

And then, when i read it, i will have the same dynamic power spectrum.

 

My problem is my "read signal" is static, and not dynamic like a ".wave" file for instance.

 

is it possible to do this?

 

find the 2 attached Vi

 

Thanks in advance 

Seb_MDI
France
Download All
0 Kudos
Message 1 of 3
(2,997 Views)
Solution
Accepted by topic author seb_MDI

Not sure I understand what you mean by static versus dynamic files.

 

What you're doing right now is that you append all your spectrums to one channel in the file, so when you read the whole thing, you'll get one waveform with all the concatenated spectrums in it. Instead, you could use a different channel name every time you store a spectrum. That way, you could also attach related properties (e.g. time stamp, f0, df) to the channel.

 

You can then wire either a single channel name or an array of channel names to TDMS Read in order to retrieve the spectrums you want to look at.

 

Thanks, 

Herbert

Message 2 of 3
(2,976 Views)

Thanks for your response.

 

I have my TDMS file with my initial waveform power spectrum, i can write and read this power spectrum. Now, i would like to regenerate it with PXI 5421 and PXI 5610, is it possible?

is it with the NI-RFSG library ?

 

thanks 

Seb_MDI
France
0 Kudos
Message 3 of 3
(2,942 Views)