01-26-2011 04:59 AM
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..
Solved! Go to Solution.
01-26-2011 09:14 AM
Can you post your code?
Ed
01-26-2011 09:15 AM
And can you post a schematic of how you've wired the switch?
Ed
01-26-2011 09:47 PM
i have attached my code
01-26-2011 09:57 PM
You forgot the schematic.
01-27-2011 01:22 AM
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