beautypg.com

Command reference, Command reference…… 46 – Measurement Computing Digital488/80A User Manual

Page 52

background image

Command

Syntax

Description

R

Data Ready

Rn

Define mode

n

of digital input port data to be latched, where

n = 0

,

1

, or

2

.

R0

(Default) Define data to be not latched, and to be read whenever

the Digital488/80A is addressd.

R1

Define data to be latched on an EDR transition.

R2

Define data to be latched and buffered on an EDR transition.

R?

Returns current Data Ready mode

n

.

Note:

EDR cannot be used to capture data in the

F5

high-speed

binary format.

S

Save Configuration

Sval

Save current configuration as configuration

val

, where

val =

value from

0

to

100

.

S?

Returns the last saved configuration

val

(not the currently

loaded configuration).

T

Test

Tn

Define mode

n

to test Digital488/80A communication, where

n = 0

or

1

.

T0

Turn off the TEST LED indicator on Digital488/80A front panel.

T1

Turn on the TEST LED indicator on Digital488/80A front panel.

U

User Status

Uval

Define status message

val

to send when the Digital488/80A is

next addressed to Talk, where

val = 0

or

bit

, and where

bit =

bit value from

1

to

40

.

U0

Send status of Digital488/80A unit.

Ubit

Send status of

bit

, where

bit =

bit value from

1

to

40

.

Note:

After the

U0

status string is read by the controller, any error

conditions are cleared

V

View Configuration

Vval

View (but not load) configuration

val

, where

val =

value

from

0

to

100

.

V?

View Version

V?

View the current firmware revision level of the ROM.

Note:

This

V?

command is not related to the above View

Configuration (

V

) command.

X

Execute

X

Execute the command string.

Y

Bus Terminator

Yn

Define mode

n

of IEEE 488 bus terminator, where

n = 0

,

1

,

2

, or

3

.

Y0

(Default) Define carriage-return line-feed (

CR LF

).

Y1

Define line-feed carriage-return (

LF CR

).

Y2

Define carriage return (

CR

) only.

Y3

Define line feed (

LF

) only.

Y?

Returns current bus terminator mode

n

.

Note:

To save a bus terminator as the new default setting, use the

Save Configuration (

S

) command

S0

.

?

Query

?

(Command Support) Returns present configuration or mode of

the command preceding the

?

.

Note:

One exception to this command description is the View Version

(

V?

) command which is not related to the View Configuration

(

V

) command.

Command Reference

Like the command summary, the following detailed command reference presents all 23 of the
Digital488/80A commands in alphabetical order according to their command syntax. Support for these 23
commands, including the Query (

?

) command extension, and the use of the Serial Poll Status Byte, is also

presented. All examples are given using GW-BASIC or BASICA.

46 Digital488/80A Commands

967695

Digital488/80A User's Manual