LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Square wave counter (via Trigger and Gate)

Hello,

 

I have an application where I am using a pneumatic air solenoid spool valve to apply force to a load cell in a load cycling application.  The signal that controls the process is a 0-1V DC Square wave (frequency and duty cycle are controllable via front panel, typical setup would 0.2 Hz, 50% Duty) I would like to count the number of cycles actually performed.  Attached is a snippet of code where I cannot get the Trigger / Gate + Statistics to count the number of triggers (it is behaving the same as the full vi that I created, where a trigger is not occurring)

 

 

NOTES:

  1. Using Labview 8.2
  2. I have tried to copy and past the entire  Trigger Counter example minus the examples signal generation with no success, the cycler seems to stop working. 
  3. Full code & explanation posted HERE

Any suggestions would be greatly appreciated.

 

Thank you for your time

jqm

0 Kudos
Message 1 of 2
(2,988 Views)

Never mind, stupid stupid stupid. 

Need more coffee.

 

jqm

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