beautypg.com

Wait – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual

Page 327

background image

15A. Driver488/DRV Commands

III. COMMAND REFERENCES - 15. Command References

III-312

Personal488 User’s Manual, Rev. 3.0

The

TRIGGER

command issues a Group Execute Trigger (

GET

) bus command to the specified devices.

If no addresses are specified, then the

GET

only affects those devices that are already in the Listen state

as a result of a previous

OUTPUT

or

SEND

command.

WAIT

SYNTAX

WAIT

RESPONSE

None

MODE

Any

BUS STATES

Determined by previous ENTER or OUTPUT command

SEE ALSO

ENTER, OUTPUT, BUFFERED, STATUS

EXAMPLE

PRINT#1,"WAIT"

Wait for CONTINUE transfer to be done.

The

WAIT

command causes Driver488 to wait until any

CONTINUE

transfer has completed, before

returning to the user’s program. It can be used to guarantee that the data has actually been received
before beginning to process it, or that it has been sent before overwriting the buffer. It is especially
useful with

ENTER

when a terminator has been specified. In that case, the amount that is actually

received is unknown, and so the user’s program must check with Driver488 to determine when the
transfer is done. Time out checking, if enabled, is performed while

WAIT

ing.