NI-VNA

Content Type
Programming Language
Current manual

niVNA_QueryAutoCalBoxInfo

niVNA_QueryAutoCalBoxInfo

niVNA_QueryAutoCalBoxInfo(ViSession instrumentHandle, ViConstString channel, ViChar serialNumber[], ViInt32 serialNumberBufferSize, ViChar type[], ViInt32 typeBufferSize);

Purpose

Queries the AutoCal module information, including the serialNumber and type.

Supported Devices: NI 5630/5632

Parameters

Input
Name Type Description
instrumentHandle ViSession Identifies your instrument handle.
channel ViConstString Specifies the channel for which this operation is targeted.
serialNumberBufferSize ViInt32 Specifies the size of the buffer for the serialNumber parameter.
typeBufferSize ViInt32 Specifies the size of the type array.
Output
Name Type Description
serialNumber ViChar[] Returns the serial number of the AutoCal module.
type ViChar[] Returns the type of the AutoCal module.

Return Value

Name Type Description
returnValue ViStatus Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to an NI-VNA function to determine if an error has occurred.

To obtain a text description of the status code and additional information about the error condition, call the niVNA_GetError function. To clear the error information from NI-VNA, call the niVNA_ClearError function.

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors
Was this information helpful?