LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering frequency measurement with 9402 and cDAQ

Hi all,

 

I'm trying to take a speed measurement off of a shaft using a hall effect sensor and a 9402 module in a 4 module cDAQ 9174 chassis. I've used the low frequency measurement example using DAQmx but if the shaft isn't spinning I get a timeout error.

 

Two questions, is there a way to use the Express VI's to accomplish this and how do I create a trigger to start the measurement?

 

-Ian

0 Kudos
Message 1 of 4
(2,475 Views)

Why not clear the timeout and report 0 RPM.  The timeout is 0 rmp but you dont want to wait forever and block program flow.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 4
(2,467 Views)

Yes, that is exactly what I'd like to do but how can it be achieved without causing the program to hang?

 

-Ian

0 Kudos
Message 3 of 4
(2,451 Views)

In the read, specify a timeout.  the read will return and not block.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 4 of 4
(2,442 Views)