Vitrek V4 – Electrical Safety Tester USER MANUAL
36
7-6. Details of Command Reference
Each command in this chapter will give a detailed description. The examples of each command will be
provided and what query form might return.
*CLS (no query form)
Function:
Clear all event status data register. This includes the Output Queue, Operation Event Status Register,
Questionable Event Status Register, and Standard Event Status Register.
Syntax:
*CLS
Examples:
*CLS - clears all event registers.
*ESE
Function:
Set or return the bits in the Event Status Enable Register (ESER). The ESER enables the Standard Event
Status Register (SESR) to be summarized on bit 5 (ESB) of the Status Byte Register (SBR).
Syntax:
*ESE <NR1>
*ESE?
<NR1> is in the range from 0 through 255.
Returns:
<NR1> is a number from 0 to 255 that indicates the decimal value of the binary bits of the ESER.
Examples:
*ESE 65 - sets the ESER to binary 0100 0001.
*ESE? - return “130” if the ESER contains the binary value 1000 0010.
*ESR? (query only)
Function:
Return and clear the contents of the Standard Event Status Register (SESR).
Syntax:
*ESR?
Returns:
<NR1> is a number from 0 to 255 that indicates the decimal value of the binary bits of the ESER.
Examples:
*ESR? - returns “198” if the ESER contains the binary value 1100 0110.