Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQ PCI-6602 gate signal:how to select source pin

Hi there,

I am using NI-DAQ 6.9.x for programing the PCI-6602 timer board.

In the 660x Register-Level Programmer Manual on page 3-16 I found that
the the timers should be capable to use the pin dedicated to the source
signal as the gate signal:
"0—Source Pin i; the source pin dedicated to this counter"
This is exactly what I need.

However, it seems to me that in NI-DAQ 6.9.x the command
GPCTR_Change_Parameter (deviceNumber, gpctrNum, ND_GATE, paramValue)
cannot make use of this feature. The paramValue should be set to
something like ND_THIS_SOURCE_PIN but this seems not to exist.

My questions:
1) Is it true that this option does not exist in NI-DAQ?
2) Could it be done in DAQmx?
3) Or do I need to do register level programing in order to achieve it?

Message Edited by Vera on 03-07-2005 08:21 AM

0 Kudos
Message 1 of 3
(4,207 Views)
1) I believe in NI-DAQ you'd want to use "ND_SOURCE" as your paramValue
2) It could be done in DAQmx simply by selecting the PFI line as the input terminal
3) I believe this could be done with RLP as well

I hope this helps!
gus....
0 Kudos
Message 2 of 3
(4,202 Views)
Using "ND_SOURCE" as the paramValue does indeed work... thanks Gus! dean
0 Kudos
Message 3 of 3
(3,834 Views)