Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I am wondering if anyone has a suggestion to make a good synchronization (<<ms) between analog output and Dig output.

I forgot to specify that it is for a 4451PCI board.

Thanks
0 Kudos
Message 2 of 3
(7,522 Views)
Hello Jean-Michel,

The digital lines on the 4451 DSA device do not directly support any syncrhonization or hardware timing. However, you could start an analog output operation based on a state change in one of the digital lines. This just requires digital triggering for your analog output. You would need to physically route one of the DIO pins to the WFMTRIG pin (PFI6) on your digital connector block.

In LabVIEW, you should make a call to AO Trigger and Gate Config.VI. Use the following parameters:

Gate or Trigger Source: PFI Pin

Trigger or Gate Condition: Trigger on Rising edge (or falling if you want to trigger when a digital line is turned off).

Trigger or Gate Source Specification: 6

If you are programming in the NI-DAQ text API, use the following call:

i
Status = Select_Signal(iDevice, ND_OUT_START_TRIGGER, ND_PFI_6, ND_HIGH_TO_LOW)

Good luck!
Bryan
0 Kudos
Message 3 of 3
(7,522 Views)