Hey everyone,
I am working on a senior design project controlling an inverted pendulum and I have run into a road block. I can read count pulses from my encoder (and display them!!) and on a separate digital channel I can read the directional input (and display it!!) off my decoder. I am currently using the CI CNT EDGE DAQmx VI and it says there is an option for external control of the count direction (up or down). The hardware we are using includes the NI PCI-6229 (M Series) and the SCB-68 connector block. We tried connecting the inputs to the default pins to use for edge counting, according to the LabVIEW Help (Edges: PFI 6, Count Direction: port0/line6), but we haven't been able to change the count direction in this way. Is it possible to use my digital input to tell the software to count up if the digital input is high and count down if it is low????
Eric
EE the way to be.