Waits and blocks the data flow until the acquisition is complete. This method is typically called after a specific initiate method.

Syntax

Namespace: NationalInstruments.RFmx.InstrMX

public int WaitForAcquisitionComplete(double timeout)

Parameters

NameTypeDescription
timeoutdouble

Specifies the time to wait for an ongoing acquisition to complete before returning a timeout error. A value of -1 specifies that the method waits indefinitely for acquisition to complete. This value is expressed in seconds.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.