LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Peak Detection and Display of TDMS file of 4 channels

The Peak Detection and Display sample VI in the NI Example finder is exactly what I am looking for but I would like to use a recoded TDMS file as its input. The TDMS file is a 4 channel data file.

 

Does someone have an example code on how to do this?

 

ERB 

0 Kudos
Message 1 of 8
(3,800 Views)

Hi

 

I found an example in exampler finder called Read Channel Groups (TDMS).vi, which seems to plot data for four channels written in a TDMS file.

 

Its also attached.

 

Kind Regards, 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
Message 2 of 8
(3,785 Views)

Thanks. I have version 8.5 so I can not open up the sample while it has been created in Labview 8.6.


Does this sample allow the user to idividually find the peaks of a signal? My application involves machining a sample. For each machining pass I have a peak force. I just want to find each peak force and average them.

 

ERB

0 Kudos
Message 3 of 8
(3,774 Views)

Hey ERB,

 

You will find the same example in 8.5 if you search for its name using the example finder.

Then you can delete the signal simulating part of the peak detection example and use the TDMS example to get your signals into the peak detection.

 

Christian

0 Kudos
Message 4 of 8
(3,772 Views)

Thanks. Unfortunately the memory is full when running the read channel groups. I have 4 channels which were running at 100khz sampling rate. I was under the impression that using the labview tdms file would eliminate this problem.


Any suggestions?

 

 

0 Kudos
Message 5 of 8
(3,767 Views)

Hey,

 

Whats the size of your TDMS File in MB? And how much RAM does your system have?

 

Christian

0 Kudos
Message 6 of 8
(3,765 Views)
The files are between 200-400MB. My system has 2.49GB RAM.

When I run a file with 5MB. No problem.
0 Kudos
Message 7 of 8
(3,762 Views)

Hey,

 

When do you get this overflow? And is it a LabVIEW error, do you have the error code?

 

Christian

0 Kudos
Message 8 of 8
(3,733 Views)