Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

6221 pulse generation using external digital trigger

Hi there: I am trying to do something very basic, but cannot figure out how to do it. I have an NI 6221 USB I/O device.  I want to program it to generate a digital output 100ms after receiving a digital input. I am trying to create a task to do this using NI Max, but all of the options on the trigger source menu are greyed out. There is no way to specify an external hardware trigger.  Do I have to program this functionality using DAQmx in the code?

0 Kudos
Message 1 of 2
(4,260 Views)

I found the solution to this question in Gen Dig Pulse-Dig Start.vi from the NI example finder. The answer is that you do need to configure the input trigger programmaticaly using the DAQmx functions. See example code for more details.

0 Kudos
Message 2 of 2
(4,219 Views)