
Model 8310
IM-289A
Aeroflex / Weinschel
22
5-8. 488.2 COMMON COMMANDS
*CLS
Function:
Clears the Status Byte and Event Status Registers.
Syntax:
*CLS
Argument(s):
none
Remarks:
This function is used to clear the Status Byte and the Event Status Registers.
Return Value:
none
Example(s):
*CLS
*ESE
Function:
Sets the Event Status Enable Register.
Syntax:
*ESE
mask
Argument(s):
mask
integer bitmask
Remarks:
This function is used to set the Event Status Enable Register to the value specified by mask.
Return Value:
none
Example(s):
*ESE 255
*ESE?
Function:
Reads the Event Status Enable Register.
Syntax:
*ESE?
Argument(s):
none
Remarks:
This function is used to read the Event Status Enable Register.
Return Value:
mask
integer register mask
Example(s):
*ESE? returns the following ’255’
*ESR?
Function:
Reads the Event Status Register
Syntax:
*ESR?
Argument(s):
none
Remarks:
This function is used to read the Event Status Register. Reading the register clears it.
Return Value:
reg
integer register
Example(s):
*ESR? returns the following ’128’
*SRE
Function:
Sets the Status Byte Enable Register
Syntax:
*SRE
mask
Argument(s):
mask
integer bitmask
Remarks:
This function is used to set the Status Byte Enable Register to the value specified by
mask
.
Return Value:
none
Example(s):
*SRE 255
*SRE?
Function:
Reads the Status Byte Enable Register.
Syntax:
*SRE?
Argument(s):
none
Remarks:
This function is used to read the Status Byte Enable Register.
Return Value:
mask
integer register mask
Example(s):
*SRE? returns the following ’255’
*STB?
Function:
Reads the Status Byte Register.
Syntax:
*STB?
Argument(s):
none
Remarks:
This function is used to read the Status Byte Register.
Return Value:
reg
integer register
Example(s):
*STB? returns the following ’96’
*IDN?
Function:
Reads the system identification information.
Syntax:
*IDN?
Argument(s):
none
Remarks:
This function is used to read the system identification information, which is a string consisting of the
following data: manufacturer, model, serial number, and firmware version.
Return Value:
mfg
integer count of devices
Example(s):
*IDN? returns the following ’Weinschel,8310 Series, 123, 1.00A’
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com