02-26-2018 08:06 AM
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?
02-27-2018 03:49 PM
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/