beautypg.com
BOP-1K 022814
iii
TABLE OF CONTENTS
SECTION
PAGE
3.6.4
RS232-C Operation ........................................................................................................................... 3-30
3.6.4.1
Serial Interface............................................................................................................................. 3-30
3.6.4.2
RS 232 Implementation ............................................................................................................... 3-30
3.6.4.2.1
XON XOFF Method.................................................................................................................3-32
3.6.4.2.2
Echo Mode ..............................................................................................................................3-32
3.6.4.2.3
Prompt Method........................................................................................................................3-32
3.6.4.3
RS 232 Serial Port Setup............................................................................................................. 3-33
3.6.4.3.1
Select Baud Rate ....................................................................................................................3-33
3.6.4.3.2
Configure Echo Protocol .........................................................................................................3-33
3.6.4.3.3
Configure XON/XOFF Protocol ...............................................................................................3-33
3.6.4.3.4
Configure Prompt Mode ..........................................................................................................3-33
3.6.5
BOP VISA Instrument driver .............................................................................................................. 3-34
3.7
SCPI Programming ................................................................................................................................. 3-34
3.7.1
SCPI Messages ................................................................................................................................. 3-34
3.7.2
Common Commands/Queries ........................................................................................................... 3-34
3.7.3
SCPI Subsystem Command/Query Structure.................................................................................... 3-35
3.7.3.1
ABORt Subsystem ....................................................................................................................... 3-35
3.7.3.2
INITiate Subsystem...................................................................................................................... 3-35
3.7.3.3
LIST Subsystem........................................................................................................................... 3-35
3.7.3.3.1
Required LIST Commands......................................................................................................3-36
3.7.3.3.2
Other Required Commands ....................................................................................................3-36
3.7.3.3.3
Other Useful Commands.........................................................................................................3-36
3.7.3.3.4
Optional Commands ...............................................................................................................3-37
3.7.3.4
MEASure Subsystem................................................................................................................... 3-37
3.7.3.5
OUTPut Subsystem ..................................................................................................................... 3-37
3.7.3.6
MEMory Subsystem..................................................................................................................... 3-37
3.7.3.7
STATus Subsystem ..................................................................................................................... 3-39
3.7.3.8
TRIGger subsystem ..................................................................................................................... 3-39
3.7.3.9
[SOURce:]VOLTage and [SOURce:]CURRent Subsystems ....................................................... 3-39
3.7.3.10
CALibrate Subsystem .................................................................................................................. 3-40
3.7.3.11
System Subsystem ...................................................................................................................... 3-40
3.7.3.11.1
Forgotten Passwords ..............................................................................................................3-40
3.7.4
Program Message Structure.............................................................................................................. 3-40
3.7.4.1
Keyword ....................................................................................................................................... 3-41
3.7.4.2
Keyword Separator ...................................................................................................................... 3-41
3.7.4.3
Query Indicator ............................................................................................................................ 3-41
3.7.4.4
Data ............................................................................................................................................. 3-42
3.7.4.5
Data Separator............................................................................................................................. 3-42
3.7.4.6
Message Unit Separator .............................................................................................................. 3-42
3.7.4.7
Root Specifier .............................................................................................................................. 3-42
3.7.4.8
Message Terminator .................................................................................................................... 3-43
3.7.5
Understanding The Command Structure ........................................................................................... 3-43
3.7.6
Program Message Syntax Summary ................................................................................................. 3-44
3.7.7
Status Reporting................................................................................................................................ 3-44
3.7.7.1
Status Reporting Structure........................................................................................................... 3-44
3.7.7.2
Operational Status Register......................................................................................................... 3-46
3.7.7.3
QUEStionable Status Register..................................................................................................... 3-46
3.7.8
SCPI Program Examples................................................................................................................... 3-47
3.8
Operator Troubleshooting ....................................................................................................................... 3-48