LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change sampling frequency in software?

Hi,
 
I have a Phidgets Interface Kit, with a temperature sensor, that is sampling at a high rate. I would like to re-sample the signal, or somehow reprocess the signal, so that the output refreshes once per second. Is there a way I can do this in Labview? I tried the Repack vi...but I don't know if this is the best way to handle this task.
 
Any ideas are appreciated,
 
Fred
0 Kudos
Message 1 of 2
(2,747 Views)

If you are using the "On Sensor Change" event than you should change to some sort of loop timer where you use the "getSensorValue" property.

Some of the examples just use a "while loop" so it is polling the phidget as fast as possible. You will need to change the loop to a timer.

Hope this helps.

0 Kudos
Message 2 of 2
(2,717 Views)