LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hi, im trying to do the event count using USB 6009..

Solved!
Go to solution

im using an toggle switch as an input to PFI0,i have configured the DAQ with edge, falling parameters..whenever i give toggle the switch,there is no increment in the count value..anybody help me out in this regard..

0 Kudos
Message 1 of 6
(2,357 Views)

Can you post your code?

 

Ed

Edward Motts
Certified LabVIEW Associate Developer
0 Kudos
Message 2 of 6
(2,339 Views)

And can you post a schematic of how you've wired the switch?

 

Ed

Edward Motts
Certified LabVIEW Associate Developer
0 Kudos
Message 3 of 6
(2,338 Views)

i have attached my code

0 Kudos
Message 4 of 6
(2,315 Views)

You forgot the schematic.

0 Kudos
Message 5 of 6
(2,310 Views)
Solution
Accepted by topic author Sumithra_Nagappan

There is also a quick way to test this with out using a switch, connect one of the DI/O lines to the counter input. Then toggle the line. This is just  a sanity check but it is a classic "demo" of the counter input in several tutorials I have seen. But yes the switch diagram would be needed to see what is going on.

 

Alan

0 Kudos
Message 6 of 6
(2,299 Views)