![background image](http://html2.mh-extra.com/html/racal-instruments/3155/3155_user-manual_3125650118.webp)
User Manual 3155
Programming Reference 4-8
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.
Summary of Contents for 3155
Page 4: ...This page was left intentionally blank...
Page 14: ...User Manual 3155 1 2 Overview Figure 1 1 3155 Series...
Page 41: ...User Manual 3155 Installation 2 15 Figure 2 15 Device Manager...
Page 44: ...User Manual 3155 2 18 Installation Figure 2 19 Customer Information Step...
Page 110: ...User Manual 3155 3 58 ArbConnection This page was left intentionally blank...
Page 150: ...User Manual 3155 Programming Reference 4 40...
Page 184: ...User Manual 3155 Programming Reference 4 74 This page was left intentionally blank...
Page 202: ...User Manual 3155 Specifications A 8 This page was left intentionally blank...