From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

generating two triggers with delay

Hi,

 

I need to generate two digital output triggers: for example, one trigger in channel 0 and the other in channel 1 with 0.25msec delay.

I'm using USB-6001 and looking for VC++ sample for a similar application.

 

Thanks,

Hyun

0 Kudos
Message 1 of 3
(3,790 Views)

Hi Hyun,

 

C++ isn't officially supported by DAQmx anymore. You may be able to find some C examples in the DAqmx. Check out this knowledgebase article for more on finding those examples.

 

http://digital.ni.com/public.nsf/allkb/FB26BDA52FFFD4EE86257124005C36C3

 

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 2 of 3
(3,756 Views)

Also, note, the 6001 does not support HW-Timed DO. Timing will have to be enforced by your computer, which will not allow for the level of precision you would get with and onboard clock.

0 Kudos
Message 3 of 3
(3,714 Views)