Martel Electronics DMC1400 User Manual

Page 43

Advertising
background image

41

*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.

*SRE?

Returns a byte from the SRE. The byte is returned in decimal format.
For example:

If 40 is returned, bits 5 and 3 are enabled.

*STB

Returns the status byte in decimal form from the Serial Poll Status
Byte. For example;

If 72 is returned, bits 6 and 3 are enabled.

*WAI

Prevents further remote commands from being executed until all
previous commands are executed. For example:

OUT 10 MA ; *WAI ; OUT 5 V will out put 10mA and wait until
output settles, than volts command will be processed.

Advertising