Interface Commands; Cls Clear Interface Cmd; Ese Event Status Enable Register Cmd; Ese? Event Status Enable Register Query - Lakeshore 336 User Manual

Table of Contents

Advertisement

6.6.1 Interface
Commands
CLS
Input
Remarks
ESE
Input
Format
Remarks
Example
ESE?
Input
Returned
Format
ESR?
Input
Returned
Format
Remarks
This section lists the interface commands in alphabetical order.
Begins common interface command
?
Required to identify queries
String of alphanumeric characters with length "n." Send these strings
using surrounding quotes. Quotes enable characters such as commas
s[n]
and spaces to be used without the instrument interpreting them as
delimiters.
nn...
String of number characters that may include a decimal point.
Dotted decimal format, common with IP addresses. Always contains 4
dd
dot separated 3-digit decimal numbers, such as 192.168.000.012.
[term]
Terminator characters
<...>
Indicated a parameter field, many are command specific.
<state>
Parameter field with only On/Off or Enable/Disable states.
Floating point values have varying resolution depending on the type of
<value>
command or query issued.
Clear Interface Command
CLS[term]
Clears the bits in the Status Byte Register, Standard Event Status Register, and Opera-
tion Event Register, and terminates all pending operations. Clears the interface, but
not the controller. The related controller command is *RST.
Event Status Enable Register Command
ESE <bit weighting>[term]
nnn
Each bit is assigned a bit weighting and represents the enable/disable mask of the
corresponding event flag bit in the Standard Event Status Register. To enable an event
flag bit, send the command ESE with the sum of the bit weighting for each desired
bit. Refer to section 6.2.5 for a list of event flags.
To enable event flags 0, 4, and 7, send the command *ESE 145[term]. 145 is the sum of
the bit weighting for each bit.
Bit
Bit Weighting
0
1
2
4
4
16
5
32
7
128
Total:
181
Event Status Enable Register Query
ESE?[term]
<bit weighting>[term]
nnn (Refer to section 6.2.5 for a list of event flags)
Standard Event Status Register Query
ESR?[term]
<bit weighting>
nnn
The integer returned represents the sum of the bit weighting of the event flag bits in
the Standard Event Status Register. Refer to section 6.2.5 for a list of event flags.
TABLE 6-7 Interface commands key
Event Name
OPC
QXE
EXE
CME
PON

6.6.1 Interface Commands

125
|
www.lakeshore.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents