Retrieves and then clears the warning information for the session.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int GetWarning(out int warningCode, out string warningDescription)

Remarks

This method maps to the RFmxDemod_GetError() function in C.

Parameters

NameTypeDescription
warningCodeout int

Upon return, contains the warning code for the session.

warningDescriptionout string

Upon return, contains the warning description for the session.

Returns

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