LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 20315; "The waveform dt parameter is <= 0".

OK thanks for the responses & patience guys, I've still quite the Labview newbie.
0 Kudos
Message 11 of 19
(2,432 Views)

Hello everyone,

 

I made a VI to plot spectrum of the .tdms file of voltage data acquired through NI 9225. Data obtained from tdms read block got successfully shown in the waveform graph. But when i tried to take its FFT or any other spectrum, it is showing error code-20315 (The waveform dt parameter is <=0). I observed using probe wires that value of dt parameter in the data coming from tdms read block is 0. Please suggest me how can i rectify this error or increase the value of dt parameter. VI and .tdms data file are attached here.

 

 

0 Kudos
Message 12 of 19
(1,839 Views)

Your problem could be in your recording.  Do you have an example of how you are logging to the TDMS file and possibly an example TDMS file?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 13 of 19
(1,829 Views)

used data is attached here.........

0 Kudos
Message 14 of 19
(1,820 Views)

Please suggest something for the above mentioned problem.

0 Kudos
Message 15 of 19
(1,782 Views)

Hi akanksha91, 

 

As crossrulz suggested this could be an issue related to your recording. How did you log the data?  

 

If what you want is to edit the waveform and set a different time interval (dt) you could use the Build Waveform VI. But you have to be aware that this will change the original waveform. 

Build Waveform (Analog Waveform) Function - LabVIEW 2011 Help
http://zone.ni.com/reference/en-XX/help/371361H-01/lvwave/build_waveform/

 

 

Regards,

Carolina

0 Kudos
Message 16 of 19
(1,753 Views)

Hi Dennis.

My english is not very well, so I try explain my problem.

I have the same problem. I'm using a bending machine, mark Instron. I trying to detect de signal's machine, and detect when the machine is trigger. 

I attached my program.

I hope you help me.

 

Thanks

0 Kudos
Message 17 of 19
(1,656 Views)

Hi Makarena.osorio,

 

It seems that you could use some error handler to skip the error, are you trying to do something like this in one of your subVIs?

0 Kudos
Message 18 of 19
(1,638 Views)

Hi Makarena.osorio,

 

Also, I added a DAQmx Timing with a rate of 1 between the start and the create channel and I am not seeing the error anymore, try that.

0 Kudos
Message 19 of 19
(1,638 Views)