Appendix A
TYPE
EXECUTION
SYNTAX
DESCRIPTION
The Set Event Mask (
turn, determine which Event Status Register (ESR) conditions are enabled to generate the Event Status Register
Bit (ESB) in the Serial Poll Status (SPS) Register. Multiple ESR bits can be enabled simultaneously by issuing
Set Event Mask (
Event Mask remains enabled until a Clear Event Mask (
Reset (
The following list outlines the possible conditions of the ESE:
: Sending this command clears the entire mask of the Event Status Enable (ESE) Register to zero.
N000
: Acquisition Complete. Sending this command allows the setting of the ESB if the unit has determined
N001
that the configured acquisition has completed.
: Stop Event. Sending this command allows the setting of the ESB when the pre-defined stop event of a
N002
configured acquisition has occurred.
: Query Error. This condition is set when an attempt is made to read data from the output queue when no
N004
data are present or data in the output queue were lost. Data may be lost when too many data are requested to
be buffered in the queue (for example, issuing multiple commands to return data without ever reading them).
: Device Dependent Error. This condition is set when a conflict in programmed parameters is detected.
008
This is also referred to as a conflict error.
: Execution Error. This condition is set when a parameter exceeds valid limits for a particular command.
N016
This is also referred to as Invalid Device Dependent Command Option (IDDCO) error.
: Command Error. This condition is set when an illegal command is sent to the unit. This is also referred
N032
to as Invalid Device Dependent Command (IDDC) error.
: Buffer 75% Full. Sending this command will allow the setting of the ESB when the unit has determined
N064
that the acquisition buffer is at least 75% full.
: Power On. This condition is set whenever unit is first powered up or a
N128
EXAMPLE
PRINT#1, "OUTPUT07;N0 X"
PRINT#1, "OUTPUT07;N? X"
PRINT#1, "ENTER07"
LINE INPUT #2, N$
PRINT N$
PRINT#1, "OUTPUT07;N1N2X"
PRINT#1, "OUTPUT07;N? X"
PRINT#1, "ENTER07"
LINE INPUT #2, N$
PRINT N$
PRINT#1, "OUTPUT07;M32 X"
ChartScan User's Manual
N
System
Deferred
Directly sets the Event Status Enable Register (ESE) where
Nmask
000
001
002
004
008
Query the Event mask.
N?
) command directly sets the Event Status Enable (ESE) Register. ESE conditions, in
N
) commands separately or by combining them in one command string. The programmed
N
) command. See the IEEE 488 Serial Poll Response section in Appendix C for more information.
*R
- Set Event Mask
form of the number
such that
nnn
following conditions:
- Clear event mask
- Acquisition complete
- Stop Event
- Query Error
- Device Dependent Error
) command is sent or the controller sends a Power-On
N0
' Clear the Event Status Enable (ESE) Register
' Read the Event Status Enable (ESE) Register
' Computer screen shows
' Set enable ESB setting on pre-trigger count satisfied or
acquisition complete
' Read the Event Status Enable (ESE) Register
' Computer screen shows
' Set SRQ on Event Detected (ESB). SRQ will now be
generated when pre-trigger count is satisfied or the
acquisition completes
API Commands
mask
<
<
is summed from the
000
nnn
255
- Execution Error
016
- Command Error
032
- Buffer 75% Full
064
- Power On
128
is issued.
*R
N000
N003
is in the
A-43
Need help?
Do you have a question about the OMB-CHARTSCAN 1400 and is the answer not in the manual?