Detect If Load Cell Is Connected to DSA C Series Modules Automatically

Updated Jun 26, 2018

Reported In

Hardware

  • NI-9237

Driver

  • NI-DAQmx

Issue Details

I have a NI 9237 with a load cell connected to it. I want to be able to programmatically detect whether the load cell is connected to it. How can I do that?

Solution

There may be many methods to automatically detect whether a load cell is connected to a DSA C-Series Module. One method is to use the Shunt Calibration functionality. If there is no load sensor connected then DAQmx will throw the error below.

Error -201493 occurred at an unidentified location

Possible reason(s):

Shunt calibration failed. The calculated gain adjust is out of range. Ensure that the shunt calibration terminals are connected properly and that the shunt resistance and shunt element location settings match how the hardware is wired.


If this error occurs, it is a good idea to check wiring of your load cell.

Additional Information

Generally speaking Error -201493 means that calibration failed, this could occur for mean reasons including but limited to the load cell not being properly connected.

WAS THIS ARTICLE HELPFUL?

Not Helpful