LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Inductive Proximity Sensor Pulse Width and Rosette Strain Gauge Calculation

I am currently utilizing a cDAQ-9178 with a 9237 and 9411.

I am trying to create a LabVIEW program to help me achieve 3 separate measurements in conjunction:

1. Count Gear Teeth as the pass by digital inductive sensor (already achieved using edge counter)

2. Count Pulse Width of a linearly reciprocating mass within the same system using a digital inductive sensor. 

      - I have it currently set in the code to count edges, but the mass has different gaps in it to allow for the sensor to turn off and on to get a better velocity profile. At the moment, I only get a signal when an edge is detected and I want to see when it turns off as well.

3. Measure Strain using a Rosette

 

I am want to be able to have #2 generate time differences for the time that the sensor is on (detecting an edge) and when it is off (passes the edge). There are an expected 4 passes from this relative to the ~50 gear teeth passes per cycle (~50 Hz)

 

I have attached my current code that is working for collecting data, but not the data that I am looking for.

 

Thanks!

0 Kudos
Message 1 of 1
(879 Views)