Racal Instruments 3155 User Manual page 118

100ms/s arbitrary waveform generator
Table of Contents

Advertisement

GetStateMessage
Purpose
Returns a string with a description of the error found
C Syntax
Void GetStateMessage (INSTRUMENT state, char *pMsg, int size)
Resource Classes
PXI, PCI
Parameters
Name
Description
state
An error code. The error list is available in RIComm.h.
pMsg
Returns a string identifying the error
Size
Assigned buffer size for the returned string
Return Values
None
Description
Use this function to detect errors while sending commands to the instrument. Errors could
generate from not being able to communicate with the devices, or from sending illegal SCPI
syntax. Setting conflicts are also common source for errors. The GetStateMessage() function
returns codes for errors. These codes are interpreted in the RIComm.h header file.
Programming Reference 4-8
User Manual 3155

Advertisement

Table of Contents
loading

Table of Contents