Send commands to an instrument and read its answers.
- Connect. Press Connect and choose your instrument in the dialog of the browser.
- Write. Type a command, or pick one under Examples, and press Write.
- Read. Press Read to fetch the answer. Only a query (the command name is followed by
?, for example *IDN?) produces an answer.
Other buttons
- Status byte reads the status byte of the instrument and names the bits that are set (see below).
- Device clear resets the communication with the instrument. Use it when the answers stop coming.
Status byte
- MAV (bit 4): the instrument has an answer to read.
- ESB (bit 5): an event is recorded in the standard event status register, for example an error. Read it with
*ESR?.
- MSS (bit 6): the instrument requests service.
- EAV (bit 2): the error queue has entries. Read them with
:SYSTem:ERRor?.
- QSB (bit 3) and OSB (bit 7): summary of the questionable and the operation status.
- Other bits depend on the instrument and are shown as “bit 0” and so on.
Transfer options
Open Transfer options to read binary data, to show the result as an image or as a file, to send a file, or to change the timeout of Read.
Tips
- If Read reports that there was no answer, write a query first, or raise the timeout if the instrument is slow. The connection can still be used.
- The log can be copied with Copy. Each line has the time it was written.