LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is a 'waveform dt parameter <=0' error?

Solved!
Go to solution

I need to monitor a square wave signal using a PXI-6221. Currently I'm using it to take a 500000-sample waveform, which is then sent to 'Extract Single Tone Information' to find the frequency. The frequency is then written to a spreadsheet file.

 

At first I used this VI with the PXI-6221 in a PXI-1000B with a PXI-8156B controller. The VI I'd wrote to perform the above tasks was saved as a LV 7.1 executable. There were no errors reported while the VI executed and the ~3 kHz frequency was evaluated to ~20 Hz. Then I decided to use the exact same VI and card in a PXIe-1065 chassis using a MXI-Express bridge to a PC. Suddenly, whether I was using a LV 7.1 exe or the same VI saved under 8.6, 8.0, or 7.1, I was given the same error whenever the VI reached the point where it had to evaluate the frequency of the signal : 'waveform dt parameter <=0'.

 

-The PXI-8156B is a 233MHz processor running Win.NT.

-The PC is a relatively new model running Win XP.

-When I access the PXI-6221's test panel and run the test manually, I see a set of square waves appear on the graph as expected.

-The exact same error occurs when I substitute a PXI-6259 for the PXI-6221.

-The voltage of the signal moves between -5 and 0 V.

-When a different frequency analysis VI is used the same problem occurs.

 

0 Kudos
Message 1 of 4
(3,933 Views)
Note about the attached VI image: The top half is all I'm using right now.
0 Kudos
Message 2 of 4
(3,931 Views)
Can't really tell what the problem is from your plot, but I'd guess it's not seeing any signal... can't be sure.  Can you plot the signal you acquired and make sure it looks right?
-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




0 Kudos
Message 3 of 4
(3,906 Views)
Solution
Accepted by topic author Dqtn
You don't have any clock rate set.  When your VI runs, the waveform in the upper half as a dt value of zero.
Message 4 of 4
(3,897 Views)