beautypg.com

Martel Electronics MC1210 User Manual

Page 40

background image

*ESE

Loads a byte into the Event Status Enable register. The command is entered with a decimal
number that, when converted to binary, enables the right bits in the Event Status Register. For
example:

*ESE 133

When 133 is converted to binary it is 10000101. Bits 7, 2, and 0 will be enabled.

*ESE?

Returns the contents of the Event Status Enable register. The value returned is a decimal. For
example, if the register has the following settings:

10000101

than the value returned will be 133.

*ESR?

Returns the contents of the Event Status Register in decimal form. For example:

If the ESR contains 10111001, *ESR? will return 185.

*IDN?

Returns the manufacturer, model number, and firmware revision of the Calibrator. For
example:

*IDN? will return MARTEL, MC1210, 250, 1.00

*OPC

Enables the Operation Complete setting in the ESR. This setting makes it possible to check if
an operations is complete after it has been initialized.

For example this operation could be used with the command TRIG.

*OPC?

Returns 1 when all operations are complete, and causes program execution to pause until all
the operations are complete. For example:

TRIG ; *OPC? will return a 1 when the pulse train initiated by TRIG is complete.

*RST

Resets the state of calibrator to the power-up state. All subsequent commands are held off
until the execution of the command is complete.

*SRE

Loads a byte into the Service Request Enable register. A decimal number must be entered,
which when converted to binary, corresponds to the correct settings.

For example:

*SRE 8 enters the binary number 00001000 to the SRE. This enables bit 3. Bit 6 is not
used.

40