05-10-2007 02:55 AM
05-10-2007 07:01 PM
Hi Dany,
Pad synchronization forces a trigger to arrive at two different counters at the same time. You can enable it by placing a DAQmx Channel Property Node and selecting Counter Input >> Count Edges >> Digital Synchronizatioin >> Enable. In DAQmx this feature is known as Digital Synchronization instead of Pad Synchronization.
Hope this helps!
05-11-2007 01:27 AM
Thanks Abhinav!
I'm doing an application in VisualC useing the PCI 6602 board.From what you said i think i have to use " ND_COUNTING_SYNCHRONOUS: GPCTR_Change_Parameter" and set a common imput for the gate of the two counters,am I right?
05-11-2007 04:36 PM
Hello.
Pad Synchronization forces a signal to arrive at different counters synchronously. You need to use Pad Synchronization when sharing an external signal between several counters (e.g. triggering multiple counters, gating multiple counters).
To enable Pad Synchronization in the Traditional NI-DAQ C API:
Use the Line_Change_Attribute function with parameters listed below: Line_Change_Attribute (iDevice, ulLineNum, ND_LINE_FILTER, ND_SYNCHRONIZATION
I would try this if you current idea is unsuccessful. Keep us posted!
Brian F
Applications Engineer
National Instruments