Converts the status code returned by an RFmxSpecAn function into a string.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetErrorString(int errorCode, out string errorDescription)

Remarks

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

Parameters

NameTypeDescription
errorCodeint

Specifies an error or warning code.

errorDescriptionout string

Upon return, contains the error description.

Returns

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