From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Use analog trigger on NI 9201 in .NET

Hi,

 

i used the matlab legacy interface to analog trigger my NI 9201 Device on 32 BIt Systems. In 64 Bit only the session based interface is supported by matlab and iam not able to use the analog trigger function.

So i try to write an C# program to trigger an analog input channel and record an other channel if an trigger event occurs. Can anybody explain how to do this? If i try to do this:

 

ATask.Triggers.StartTrigger.ConfigureAnalogEdgeTrigger("Dev1/ai0", AnalogEdgeStartTriggerSlope.Falling, 2.0);

 

i become the following error code:

Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property.

How was matlab able to trigger the a analog channel on this device?

0 Kudos
Message 1 of 1
(3,925 Views)