beautypg.com

Trigger – Measurement Computing Personal488 rev.3.0 User Manual

Page 128

background image

Personal488 for Windows 95/98/Me/NT/2000

04-10-01

API Reference 6-60

Trigger

Syntax

INT WINAPI Trigger(DevHandleT devHandle);

devHandle

refers to either an IEEE 488 interface or an external device.

Returns

-1

if error

Bus States

With interface handle:

ATN

GET

With external device handle:

ATN

UNL, MTA, LAG, GET

Examples

errorcode =

Trigger(ieee);

Issues a Group Execute Trigger (

GET

) bus command to those

devices that are already in the Listen state as the result of
a previous

Output

or

Send

command

errorcode =

Trigger(dmm);

Issues a Group Execute Trigger (

GET

) bus command to the

device specified

See Also

TriggerList, Status, SendCmd

The

Trigger

command issues a Group Execute Trigger (

GET

) bus command to the specified device. If no

interface devices 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.

This manual is related to the following products: