Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the start condition control for CWAI in my program.

I am programing a data sampling application use Measurement studio, but I don't know how to change the start condition of CWAI in my program. Is this    "m_wai.GetStartCondition().SetMode(1) " right?
0 Kudos
Message 1 of 2
(2,663 Views)
If you mean setting the option that specifies that the device does not start until it gets a trigger or wait for no condition (In the CWAI properties pages under condition), then you should use m_wai.GetStartCondition().SetType(1) instead

SetType(1) will select cwaiContinuous

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,663 Views)