Hello,
I do not know of an already written example. However, this should not be too difficult of a task. There is a shipping example �ContAcqVoltageExtClk_DigStart.sln�, that is in the following folder
C:\Program Files\National Instruments\MeasurementStudio70\DotNET\Examples\DAQmx\Analog In\Measure Voltage\ContAcqVoltageExtClk_DigStart\Vb
For digital I/O, there is also the following example �WriteDigChan.sln�, which can be found in the following folder
C:\Program Files\National Instruments\MeasurementStudio70\DotNET\Examples\DAQmx\Digital\Generate Values\WriteDigChan\Vb
These two examples will allow you to output on a digital line, and then you can use a wire to route the digital output to the trigger line. In this case, you would want to start
the first example, and then start the second example.
On a different note, why are looking to do this? If you let us know about your application, we may be help to help you find a better solution.
Best regards,
Justin T.
National Instruments