LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sampling Frequency

Solved!
Go to solution

I am trying to measure two analog inputs(NI-PXI-4461) using daq assist on Labiew 7.1. I want to run the same code on both inputs and comparing them together on a graph. I am measuring 2 accelerometers and the most important parameters are measuring the g rms and phase difference. I keep getting an error code -1907 "The sampling frequency of the input waveform should be greater than 0 (dt greater than 0)." I have set the sampling freq to 2k. I am not sure what I am doing wrong. Any help will greatly be appreciated.

 

Thanks,

SparkEE

 

Block_Diagram.jpg

0 Kudos
Message 1 of 6
(4,151 Views)
Have you placed a probe or indicator on the waveform array? Why are you even using the for loop instead of just the convert from dynamic data function to create the waveform array?
0 Kudos
Message 2 of 6
(4,120 Views)

I placed an indicator on the waveform array but as soon as I hit run the error pops up.

As far as the For Loop, I was basing this VI off of another. I removed the For Loop but the same problem still persists

0 Kudos
Message 3 of 6
(4,109 Views)
Solution
Accepted by topic author SparkEE

The problem has been resolved. Thanks to AirFrantz, the solution is to keep the For Loop and wire the iteration terminal to the channel input on the converter.

I want to thank Dennis_Knutson for his input as well.

0 Kudos
Message 4 of 6
(4,094 Views)

Hi Kight of NI,

 

Im sorry thatI have to reply on your post cause I dont know how to start a new message. I am really sorry.

 

But i would like to ask if you dont mind to answer it, how can I know if I insert 5khz freq signal from function gen into myRio and myrio gets the same freq signal?

 

Thank you.Sorry again.

0 Kudos
Message 5 of 6
(3,857 Views)