Virus scan in progress. Please wait to download attachments.
This example demonstrates how shunt calibration is enabled/disabled on supported modules in a NI 9144 EtherCAT slave chassis.
In order to enable shunt calibration, the Scan Engine must be set to Configuration mode. Then a property node for the module can be used to enable/disable this feature for each channel. The Scan Engine must then be set back into Active mode. This example simply contains a project with a cRIO-9074 and a NI 9144 containing a single NI 9235 module. The VI opens a reference to the module and sets the Scan Engine. Using a property node enables/disables the shunt calibration of the channel. The Scan Engine is then set to Active mode.
LabVIEW Full Development System 2012 (or compatible)
LabVIEW Real-Time Module 2012 (or compatible)
NI-CompactRIO 12.0 (or compatible)
NI-Industrial Communications for EtherCAT 2.4 (or compatible)
NI Real-Time cRIO
NI EtherCAT Slave 9144
any C-Series Module with Shunt Calibration, in this example is the NI-9235 used
Steps to Implement or Execute Code
Run the VI.
(Optional) Observe measurements disabling the shunt calibration.
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text 'NIVerified'. Read here for more information about the new Example Guidelines and Community Platform.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.