© 2018 Thorlabs
4 Write Your Own Application
47
4.3 Command Reference
4.3.1 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,
Command summary
Mnemonic
Name
Description
*CLS
Clear status
Clears all event registers and Error Queue
*ESE <NRf>
Event enable command
Sets the Standard Event Enable Register
*ESE?
Event enable query
Returns the Standard Event Enable Register
*ESR?
Event status register query
Returns and clear the Standard Event Register
*IDN?
Identification query
Returns the unit’s identification string
*OPC
Operation complete command
Sets the Operation Complete bit in the Standard Event
Register
*OPC?
Operation complete query
Places a “1” into the output queue when all device
operations have been completed
*RST
Reset command
Returns the unit to the *RST default condition
*SRE <NRf>
Service request enable command
Sets the Service Request Enable Register
*SRE?
Service request enable query
Returns the Service Request Enable Register
*STB?
Status byte query
Returns the Status Byte Register
*TST?
Self-test query
Performs the unit’s self-test and returns the result.
*WAI
Wait-to-continue command
Waits until all previous commands are executed
Command reference
1.
*IDN? – identification query - read identification code
The identification code includes the manufacturer, model code, serial number, and firmware
revision levels and is sent in the following format:
Thorlabs,MMM,SSS,X.X.X,
where
MMM
is the model code
SSS
is the serial number
X.X.X
is the instrument firmware revision level
2. *OPC – operation complete - set OPC bit
3. *OPC? – operation complete query – places a “1” in output queue
When
*OPC
is sent, the OPC bit in the Standard Event Register will set after all pending command
operations are complete. When
*OPC?
is sent, an ASCII “1” is placed in the Output Queue after all
pending command operations are complete.
Typically, either one of these commands is sent after the
INITiate
command. The
INITiate
command is used to take the instrument out of idle in order to perform measurements. While
operating within the trigger model layers, many sent commands will not execute. After all
programmed operations are completed, the instrument returns to the idle state at which time all
pending commands (including
*OPC
and/or
*OPC?
) are executed. After the last pending command
is executed, the OPC bit and/or an ASCII “1” is placed in the Output Queue.
4. *RST – reset – return instrument to defaults
When the
*RST
command is sent, the instrument performs the following operations:
·
Returns the instrument to default conditions
·
Cancels all pending commands.
·
Cancels response to any previously received
*OPC
and
*OPC?
commands.
Содержание CLD101 Series
Страница 1: ...Compact Laser Diode Controller CLD101x Operation Manual 2018 ...
Страница 2: ...Version Date 1 7 09 Jul 2018 Copyright 2018 Thorlabs ...
Страница 76: ... 2018 Thorlabs 74 CLD101x 6 2 Dimensions CLD101x ...
Страница 84: ... 2018 Thorlabs 82 CLD101x 6 5 Certifications and Compliances ...
Страница 90: ......
Страница 91: ......
Страница 92: ...www thorlabs com ...