NI-RFPM API Reference

Table of Contents

RfpmMeasurements.Initiate Method (String, String)

  • Updated2023-12-28
  • 1 minute(s) read
RfpmMeasurements.Initiate Method (String, String)

RfpmMeasurementsInitiate Method (String, String)

Initiates a measurement on the specified ports, using the specified sweep setting defined in the sweep settings file.

Namespace:  NationalInstruments.ModularInstruments.NIRfpm
Assembly:  NationalInstruments.ModularInstruments.NIRfpm.Fx40 (in NationalInstruments.ModularInstruments.NIRfpm.Fx40.dll) Version: 2023

Syntax

public void Initiate(
	string ports,
	string sweepSettingName
)
Public Sub Initiate ( 
	ports As String,
	sweepSettingName As String
)

Parameters

ports
Type: SystemString
A comma-separated list of the ports to be measured.
sweepSettingName
Type: SystemString
The name of the sweep in the sweep settings file.

Exceptions

ExceptionCondition
ObjectDisposedExceptionInitiate(String, String) was called after the associated NIRfpm or RfpmDriverUtility object was disposed.
ArgumentNullException The value for ports is .

- or -

The value for sweepSettingName is .
ArgumentException The value for sweepSettingName is invalid.

- or -

The value for sweepSettingName is unknown.

- or -

The value for sweepSettingName is Empty.
InvalidOperationException Initiate was called before performing calibration.
SelectorNameException The value for ports is invalid.

- or -

The value for ports is unknown.
IviCDriverException The value for ports is Empty.

- or -

The underlying NI-RFPM driver returned an error.

Remarks

You must call Initiate(String, String) first and then wait.

Perform the initiate with one of the sweep setting names from GetSweepSettings .

See Also

Log in to get a better experience