VTI Instruments Corp.
164 EX1629 Command Set
vtex1629_get_instrument_serial_number
FUNCTION PROTOTYPE
ViStatus vtex1629_get_instrument_serial_number (ViSession vi, ViChar _VI_FAR serialNumber[]);
FUNCTION PARAMETERS
vi = contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
serialNumber[] = indicates the instruments serial number. The client should allocate an array of 64 bytes for the
serial number.
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function returns the instrument’s serial number.
EXAMPLE
ViStatus status;
ViSession instrumentHandle;
ViChar serialNumber[64];
…
…
status = vtex1629_get_instrument_serial_number (instrumentHandle, serialNumber);
if (status < VI_SUCCESS)
{
<inform the user the API call failed>
}