Performs a self-calibration upon the specified channel(s).

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public void SelfCalibrate(string channelString)

Remarks

This method disables the output, performs several internal calculations, and updates calibration values. The updated calibration values are written to the hardware if the SelfCalibrationPersistence property is set to WriteToEeprom.

For the PXIe-4147 and PXIe-4162/4163, you must specify all channels of the instrument with the channelName parameter. You cannot self-calibrate a subset of channels for these instruments.

Note

This method calls the Reset method, which puts the instrument configuration into the default state without changing the SelfCalibrationPersistence property.

Note

NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively.

Note

This method is not supported by all instruments. Refer to the Supported Functions by Device topic in the NI DC Power Supplies and SMUs Help for information about supported instruments.

Parameters

NameTypeDescription
channelStringstring

Specifies which channel(s) to self-calibrate. Specify the channel(s) using the form PXI1Slot3/0,PXI1Slot3/2-3,PXI1Slot4/2-3 or PXI1Slot3/0,PXI1Slot3/2:3,PXI1Slot4/2:3, where PXI1Slot3 and PXI1Slot4 are instrument resource names and 0, 2, and 3 are channels. If you do not provide channel(s), all channels in the session are used.

Exceptions

TypeDescription
System.ObjectDisposedException

The SelfCalibrate method was accessed after the associated NIDCPower object was disposed.