LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counter Output on Position Meas Quadrature Encoder-Adv (NI-TIO)

I am using the NI sample program 'Position Meas Quadrature Encoder-Adv (NI-TIO)" with a 6601 card and want to use the resulting count from this program as a trigger for some analog data acquisition on another card. It seems to me that I should be able to use the OUT (0) (I'm using the counter O inputs for the program) line to get the resulting count and then run that as the trigger, however, when I hooked up an oscilloscope to the OUT (0) line on the 6601, I got no signal...So, is there something I need to add into the NI program to get the resulting count to be routed to the OUT (0) pin? or should it be there already? or am I missing something? Any help would be great! thanks a lot...

Brad
0 Kudos
Message 1 of 2
(2,662 Views)
Hi Brad,

By default, the output of counters in measurement mode (frequency, encoder, period etc.) is not internally routed to the default PFI line. To route the output of the counter you will need use the Route Signal.vi (or Select_Signal() in C) with the source value as GPCTR 0 Output and your signal value would be your PFI line. You can use this VI anywhere in the configuration section of the flow of your program (which is right before you start the counter). This should do the trick for you. Hope that helps. Have a good day.

Ron
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,662 Views)