Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Using AI channel to trigger AO operation

5 types of triggers can be accepted by the CWAO1.StartCondition: PFI, RTSI, hardware digital, ATCOut, and AIStartTrigger. I would like to use the AI channel as a trigger signal, but can't find the way to route the AI signal to any of these 5 trigger options. My guess is that I need to use RouteSignal or RouteIOSignal functions, but they do not seem to accept AI channels as sources (by the way, does anybody know what "AI convert" signal is?).
Please, help.
0 Kudos
Message 1 of 2
(5,674 Views)
Thank you for contacting National Instruments.

Analog output can only be directly triggered by a digital signal. The way to do what you are trying to do is by using the ATCOUT generated by an analog input group to trigger the generation.

Configure analog input to have an analog trigger. Set the trigger type to General Purpose Analog Trigger ATCOUT. Then select ATCOUT, which is a digital signal that indicates that the analog input trigger conditions have been met, as the digital trigger input for the analog output group.

Essentially you will be using the analog input trigger to create a routable digital pulse that you can use to trigger your generation.

Here is a link to additional related resources on analog generation with triggering:
http://zone.ni.
com/devzone/conceptd.nsf/webmain/F433B6826ADED1AC86256802007B91FF?opendocument

-Mike
0 Kudos
Message 2 of 2
(5,674 Views)