ST2523 Series Operation Manual Ver1.2
59
7.2
GPIB Common Commands
●*RST
●*TRG
●*IDN
●*TST
●*ESE
●*SRE
●*ESR
●*STB
●*OPC
●*CLS
The *RST command resets the instrument.
Command syntax: *RST
For example: WrtCmd(“*RST”);
The *TRG command triggers the measurement and then sends the result to the output buffer.
Command syntax: *TRG
For example: WrtCmd(“*TRG”);
NOTE: It is essential to set bus trigger (trig:sour bus) firstly before using “*trg”.
The *CLS command clears the standard event status register and the service request status register.
Command syntax: *CLS
For example: WrtCmd(“*CLS”);
The *IDN? query returns ST2523’s identification string.
Query syntax: *IDN?
Return foramt: <manufacturer>,<model>,<firmware><NL^END>
Where,
<manufacturer> Name of Manufacturer
<model> Instrument Model
<firmware> Firmware Version
For example: WrtCmd(“*IDN?”);
The *TST? query executes an internal self test and returns the test result as the sum of all existing errors
codes. If there are no error ST2523 returns 0.
Query syntax: *TST?
Return format: 0<NL^END>
Where, 0 0 (NR1 format)
For example: WrtCmd(“*TST?”);
The *ESE (standard Event Status Enable command) command sets each open bit of the standard event
status register. This command returns setups of each open bit for the standard event status permission
register.
Command syntax: *ESE<value>
Where,
<value> NR1 format: decimal expression for each bit of operation status register.
Descriptions for each byte of the standard event status register are shown as follows:
Bit number Description
7
6
5
4
3
2
Power On(PON) Bit
User Request(URQ) Bit
Command Error(EME) Bit
Execution Error(EXE) Bit
Device Dependent Error(DDE) Bit
Query Error(QYE) Bit