10-05-2021 03:10 PM
When I try to create an AI Accelerometer Channel with a Sensitivity over 1000 mV/g the DAQmx save task VI throws and error saying that the voltage max and mins are out of range even though they should be inside. As I continue to increase the sensitivity it continues to lower the the max/min voltages that it will take. For whatever reason changing the units from g to m/s^2 will also make the error go away.
I am using a CDAQ with NI9234 Card trying to run an accelerometer with a sensitivity of 1007 mV/g. The AI input should be +/- 5V.
Thanks!
Solved! Go to Solution.
10-05-2021 06:06 PM
You're actually asking it to create an AI task with,
This roughly translates to,
This seems reasonable but I could not find any documentation about in/s^2 as a supported unit, maybe that is causing the error.
I would suggest configuring with proper values for min and max in terms of acceleration and not in terms of Voltage, DAQmx automatically figures out voltage equivalents for min and max based on the sensitivity configured.
10-05-2021 06:19 PM
Thank you!
The person I inherited the code from had the AI.Voltage.Range of the CDAQ wired into those terminals so I was thinking of them as voltages and not in g...