![PeakTech 1015 GPIB Operation Manual Download Page 34](http://html1.mh-extra.com/html/peaktech/1015-gpib/1015-gpib_operation-manual_1517473034.webp)
29
Command set (RS232 & GPIB)
Command Set
Limits
Command
Min Max
*CLS
*ESE (GPIB only)
0
255
*ESE? 0 255
*ESR? 0 255
*SRE? 0 255
*SRE? 0 255
*SRE? 0 255
*IDN?
*RST
*TRG
*TST?
*WAI
*SRE?
*OPC?
*OPT?
7. Command or Query message terminator
In order for the device to recognize the end of a command or query message, a special terminator is
required.
CR LF
CR represents carriage return and is an ASC
Ⅱ
0D (CHR$(13) for
basic),
LF represents line feed and is an ASC
Ⅱ
0A (CHR$(10) for basic).
Command Execution examples
Example1. To set Function to FREQ A and Gate time to 1S
You would send the following program message:
F 0 ; G 10
CR
LF
Example2. How to get the response from a query message
If you send a query message below
MD ? CR LF
You would get the response below from a query message.
- 1 9 . 9 9 9 9 CR LF