NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerMeasurement.BeginMeasure Method

  • Updated2024-01-04
  • 2 minute(s) read
DCPowerMeasurement.BeginMeasure Method

DCPowerMeasurementBeginMeasure Method

Returns a IAsyncResult struct that represents pending Asynchronous measure.

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

Syntax

public IAsyncResult BeginMeasure(
	string channelString,
	DCPowerMeasureResult result,
	AsyncCallback callback,
	Object asyncState
)
Public Function BeginMeasure ( 
	channelString As String,
	result As DCPowerMeasureResult,
	callback As AsyncCallback,
	asyncState As Object
) As IAsyncResult

Parameters

channelString
Type: SystemString
Specifies the output channels to measure. 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.
result
Type: NationalInstruments.ModularInstruments.NIDCPowerDCPowerMeasureResult
Returns a DCPowerMeasureResult struct that contains arrays of current measurements and voltage measurements.
callback
Type: SystemAsyncCallback
Specifies a delegate of type AsyncCallback, which will be invoked once the operation is complete.
asyncState
Type: SystemObject
Specifies the state of the asynchronous operation.

Return Value

Type: IAsyncResult
Returns a IAsyncResult struct that represents the pending asynchronous measurement.
Note Note
The measurements in the arrays are returned in the same order as the channels specified in the channel string on which the measurement is done.

Remarks

The function does the Asynchronous measurements

See Also

Log in to get a better experience