© 2017 Thorlabs GmbH
5 Write Your Own Application
45
5.5.2 IEEE488.2 Common Commands
Common commands are device commands that are common to all devices according to the
IEEE488.2 standard. These commands are designed and defined by this standard. Most of the
commands are described in detail in this section. The following common commands associated
with the status structure are covered in the “Status Structure” section: *CLS, *ESE, *ESE?,
*ESR?, *SRE, *SRE?, *STB?
5.5.2.1 Command Summary
Clears all event registers and Error Queue
Program the Standard Event Enable Register
Read the Standard Event Enable Register
Event status register query
Read and clear the Standard Event Register
Read the unit’s identification string
Operation complete command
Set the Operation Complete bit in the Stan-
dard Event Register
Places a “1” into the output queue when all
device operations have been completed
Returns the unit to the *RST default condition
Service request enable com-
mand
Programs the Service Request Enable Regis-
ter
Service request enable query
Reads the Service Request Enable Register
Reads the Status Byte Register
Performs the unit’s self-test and returns the re-
sult.
Wait until all previous commands are execu-
ted