Returns an NILCRMeasurement array of previously measured LCR data on the specified channel that have been taken and stored in a buffer.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public NILCRMeasurement[] FetchLCR(string channelString, PrecisionTimeSpan timeout, int pointsToFetch)

Remarks

To use this method:

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 to fetch measurements from. You can specify only a single channel. Specify the channel using the form PXI1Slot3/0, where PXI1Slot3 is the instrument resource name and 0 is the channel. If the session has only a single channel, you may specify an empty string to select that channel.

timeoutPrecisionTimeSpan

Specifies the maximum time allowed for this method to complete, in seconds. If the method does not complete within this time interval, NI-DCPower returns an error.

pointsToFetchint

Specifies the number of measurements to fetch.

Returns

Returns a NILCRMeasurement array.

Exceptions

TypeDescription
System.ObjectDisposedException

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