Check and return error message from instrument
msg = geterror(obj)
| A device object. |
| The error message returned from the instrument. |
msg = geterror(obj)
checks the instrument
associated with the device object specified by obj
for an error
message. If an error message exists, it is returned to msg
. The
interpretation of msg
will vary based on the instrument.