NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerSelfCalibration.SelfCalibrate Method

  • Updated2024-01-04
  • 2 minute(s) read
DCPowerSelfCalibration.SelfCalibrate Method

DCPowerSelfCalibrationSelfCalibrate Method

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

Namespace:  NationalInstruments.ModularInstruments.NIDCPower
Assembly:  NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023

Syntax

public void SelfCalibrate(
	string channelString
)
Public Sub SelfCalibrate ( 
	channelString As String
)

Parameters

channelString
Type: SystemString
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

ExceptionCondition
ObjectDisposedException The SelfCalibrate(String) method was accessed after the associated NIDCPower object was disposed.

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 Note
This method calls the Reset method, which puts the instrument configuration into the default state without changing the SelfCalibrationPersistence property.
Note 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 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.

See Also

Log in to get a better experience