3156B User Manual
Racal Instrument © 2005
Programming Reference 5-17
ri3156b_close
Description
Closes the instrument and de-allocates the resources allocated by the call to the initialization function. This
should be called once for EACH instrument handle returned by the ri3156B_init() function. This should be called
prior to terminating the application program.
C Syntax
ViStatus ri3156b_close (ViSession instrHandle)
Parameters
Name
Variable
Type
Description
instrHandle
ViSession
The Instrument Handle is used to identify the unique
session or communication channel between the driver
and the instrument. If more than one instrument of the
model type is used, this will be used to differentiate
between them. Note that the initialize function may be
used to associate multiple instrument handles with a
single instrument.
Return Values
Displays the return status of the function call. If the function was successful, it will return a status of
VI_SUCCESS, otherwise it will return an error code. Passing the error code into the function
"ri3156B_error_message()" will return a string describing the error.