08-21-2006 04:27 PM
Hi scorpsjl,
Take a look at \Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples\DAQmx\Synchronization\Multi-Function\SyncAIAO_DigStart.
If you do not have this example, please modify the installation of NI-DAQmx and choose to install support for Visual Studio so that your example programs properly install. Note that you do not need Measurement Studio to have these examples.
Regards,
Laura
08-21-2006 09:13 PM
08-22-2006 09:16 AM
Hi scorpsjl,
Sorry, I missed this part of the question. You can start one task with the DAQmxStartTask call and set the other one off to trigger off of the digital edge start trigger of the other task which is an internal signal that happens when the task starts. For example, if you are going to have the AO task be the one that starts the other, you would set the AI task up to use the ao/StartTrigger and start the AI task first, and then the AO task. The AI and AO tasks will then start synchronously.
Regards,
Laura
05-26-2008 04:51 AM
05-27-2008 12:39 PM