04-03-2023 12:59 AM
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.
04-04-2023 10:12 AM
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:
(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 P