beautypg.com

Measurement Computing Digital488 User Manual

Page 43

background image

Section 3 Command Descriptions

3.13

The Data Strobe output is pulse for approximately 50 microseconds after new

data is output on the selected port(s).

When the Digital488 is addressed to talk (R0) it asserts Inhibit, reads the data

from all ports, unasserts Inhibit and outputs the number of characters determined by the
Gn and Pn commands. Leading zeros are not suppressed and the bus terminators are
appended to the output. After output the Digital488 must be re-addressed to talk to
perform subsequent reads. EDR (R1) may also be used to capture data in this format.

Example:

OUTPUT 718;"F1X"

select ASCII Character format

ENTER 718; A$

read data from the Digital488

DISP A$

display shows 4>6;

OUTPUT 718;"D1??2ZX"

send 1??2 to the Digital488

ENTER 718; A$

read data from the Digital488

DISP A$

display shows 1??2

F2 Format - ASCII Binary

In the F2 format, the each data bit is described with an ASCII 0 or 1. Each byte is

formatted in two 4-bit multiples separated by semicolons.

F2 String Decimal Equiv F2 String Decimal Equiv
0000;0000

0 0000;1001

9

0000;0001

1 0000;1010

10

0000;0010

2 0000;1011

11

0000;0011

3 0000;1100

12

0000;0100

4 0000;1101

13

0000;0101

5 0000;1110

14

0000;0110

6 0000;1111

15

0000;0111

7 1000;0001

129

0000;1000

8

1111;1111

255

This manual is related to the following products: