Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

how to choose a different terminal for counter output task using PCIe-6738

I notify that in the purpose description of C function "DAQmxCreateCOPulseChanFreq", it says "

The pulses appear on the default output terminal of the counter unless you select a different output terminal

". So I wonder how to choose a different terminal for the counter.

0 Kudos
Message 1 of 2
(946 Views)

I don't know the C API syntax at all, but hopefully I can offer some clues based on how one does it in LabVIEW:

 

- in LabVIEW, I'd use a DAQmx Channel property node to specify counter pulse output terminal.  It'd look like this:

 

                   Kevin_Price_0-1680620905319.png

 

(Note the leading forward slash character needed when specifying *terminals*.  It is *not* used when specifying *channels*.)

 

For terminals that are on the same device as the channel being used in the task, the following shortcut generally works too (it might *always* work, I just haven't investigated enough to make the claim):

            

                       Kevin_Price_1-1680621148311.png

 

 

-Kevin P

 

 

 

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 2
(913 Views)