Output Data; Loading Output Data - Fluke 8842A Instruction Manual

Hide thumbs Also See for 8842A:
Table of Contents

Advertisement

8842A
Instruction Manual
In this incorrect example, the INPUT statement is located incorrectly for reading the
measurement data from line 100. The new input command string "F4" disallows the
reading of data from the output buffer.
Correct example
In this example, the reading taken at line 100 is read at line 200. Then the F4 command is
sent. Note that in the external trigger mode, the reading from line 100 flashes on the
8842A display too briefly to see. This is because the function change at line 300 blanks
the display until the next trigger.
The previous example could also be correctly programmed as follows:
The principle behind this rule is that the 8842A executes all commands in the exact order
they are received, from left to right as written.
Example
"F3 F4 ?"
"F3 ? F4"

3-40. OUTPUT DATA

The following paragraphs describe the data that can be loaded into the 8842A output
buffer and sent to the IEEE-488 bus. The paragraphs describe how and when data is
loaded into the output buffer, the types of output data, and their relative priority.
Note that the 8842A can also send data to the IEEE-488 bus from the serial poll register.
For a description of this data, see paragraph 3-47.

3-41. Loading Output Data

The output buffer is loaded when the 8842A receives an output command, or when an
error occurs. Output commands are those device-dependent commands which load the
output buffer with data:
3-24
100
PRINT @3, "T1 ?"
200
INPUT @3, A
300
PRINT @3, "F4"
100
PRINT @3, "T1 ? F4"
200
INPUT @3, A
RULE 4: If an input command string contains a trigger, enter the commands in the
following order:
a. Commands to configure the instrument (if any).
b. The trigger command.
c. Commands to re-configure the instrument (if any).
d. Terminator(s).
Explanation
Improper construction. F3 is effectively discarded.
Correct construction. The 8842A is configured in F3, and the trigger is
executed. Then the 8842A is left in F4.
Get commands (G0 through G8)
Single-trigger command (?)
Group execute trigger (GET)
Continuous Trigger (T0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents