Waits until the RF output signal has settled.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsg

public void WaitUntilSettled(int maxTimeMilliseconds)

Remarks


The default value is 10000.

This method is useful for devices that support on-the-fly configuration changes (changes while in the Generation state). Call this method after you make a dynamic change to wait for the output to settle. You can also call this method after calling Commit to wait for changes to settle. Do not call this method after you call Initiate because Initiate does not return until the output is settled.

Parameters

NameTypeDescription
maxTimeMillisecondsint

Defines the maximum time the method waits for the output to be settled. If the maximum time is exceeded, this method returns the an error. If you set this parameter to -1, NI-RFSG waits indefinitely until it is settled. The units are expressed in milliseconds.

Exceptions

TypeDescription
System.ObjectDisposedException

The WaitUntilSettled method was accessed after the associated NIRfsg object was disposed.