LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurements and triggers

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.

0 Kudos
Message 1 of 2
(2,738 Views)

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 

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 2 of 2
(2,732 Views)