From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to route the ctr0 in DAQ MX for PXI 6229?

Hello,

The counter ctr0 of the PXI 6229 is internally wired to PFI12.
How could i change the terminal on which this counter is wired? What is the function in LabWindows CVI 7.1 (NI_DAQ MX 7.3) should be used? Is there any example of this? (in all the CVI example the fact that we have to connect the counter to a terminal is just mentioned)

Thanks for your help!

guyom
0 Kudos
Message 1 of 2
(2,790 Views)
You can change the output terminal on M Series devices using the following function:

int32 __CFUNC DAQmxSetCOPulseTerm(TaskHandle taskHandle, const char channel[], const char *data);

On M Series devices you can route the output of a counter to any PFI line.

I hope this helps!
gus....
0 Kudos
Message 2 of 2
(2,788 Views)