|NI-SCOPE (English | Japanese)|
The NI 5112 contains electromechanical relays that have life spans of 1–2 million operations. To prolong the life of these relays, and subsequently the life of the digitizer, consider the following programming practices.
Small modifications to your NI-SCOPE application can significantly minimize the number of relay operations. For example, you can avoid unnecessary resets, frequent changes to specific vertical parameters, and excessive self-calibration, all of which can cause the relays to switch.
Resetting the digitizer by calling niScope Reset or by calling niScope Initialize with the reset parameter enabled restores the default properties of the device, which subsequently switches the relays. This type of reset is known as a software reset. Theoretically, you may never need to call reset if you always know the current state of the device. Consider the following two strategies for managing the state information for the device:
Certain property changes affect the relays. Changing the vertical range across the 0.5 V and 5 V levels is the most common cause of relay changes. Enabling and disabling channels also switches the relays. Other less frequent operations include changing input impedance and performing self-calibration. Consider the order of your test operations if you find you are changing these vertical parameters more than necessary.