Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid analog trigger source using NI9234 and C# project Demo

Hi

I am using triaxial accelerometer with the cDAQ-9181 and NI9234. When I run the "Test Panel.." feature from the NI MAX, I can read everything with no problem. I also started a task and it runs with no problems. 

I then try to run the C# .NET example, named "ContAccelSamp_IntClk_AnlgStart" from Analog In ==> Measure acceleration folder from the DotNET4.5.1 folder. 

I can see the 3 axes identified  in the "physical channels" text box.

However, no  matter what I put in the other fields, I get this error: "an attempt has been made to use an invalid analog trigger source"

I tried to enter "none" in the trigger field but it didn't change anything.

What can I do?

 

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

Only for a quick recap, everything is working in NI-MAX,

 

How are you configuring the continuous acceleration interface?

 

I found that: ContAccelSamp_IntClk_AnlgStart

This example demonstrates how to create an analog input acceleration task and perform a continuous acquisition using option IEPE excitation, analog triggering, and overload detection. from here http://zone.ni.com/reference/en-XX/help/370473J-01/ninetdaqmxfx40/netdaqmxexamples/

 

 

 

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