06-30-2011 07:51 AM
Hi
I have created an output of the form ABCB (i.e., four square pulses of different amplitudes). The program is also set up to measure the corresponding input continuously. However, I am interested in the data during the period of pulse C, i.e. I wish to implement a trigger that starts the measurement everytime pulse C is on.
I'm somewhat new to LabWindows, so any suggetions are very welcome.
Best.
06-30-2011 08:17 AM
Hi ,
A good way to start is MultVoltUpdates-IntClk-DigStart example it will show you how to make analog output with external trigger.
Then look for the Digital generation examples , bassicly you have lots of exmples for that kind of actions.
The basic sequence is like that :
1. create a task.
2. create digital outour channel
3. define you vars & trigger.
4. start the task.
in order to define the trigger you can use DAQmxErrChk (DAQmxCfgDigEdgeStartTrig(taskHandle,triggerSource,triggerEdge));
hopes it helps