beautypg.com

Controlline – Measurement Computing Personal488 rev.3.0 User Manual

Page 77

background image

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

04-10-01

API Reference 6-9

ControlLine

Syntax

INT WINAPI ControlLine(DevHandleT devHandle);

ControlLine

returns a bit mapped number.

devHandle

refers to the I/O adapter. If

devHandle

refers to an external device, the

ControlLine

command acts on the hardware interface to which the external device

is attached.

Response

-1

if error

otherwise, a bit map of the current state of the IEEE 488 interface. Under 32-bit Driver488

software, serial interfaces are no longer supported.

Bus States

None

Example

result = ControlLine(ieee);

printf(“The response is %X\n”,result);

See Also

TimeOut

The

ControlLine

command may be used only on IEEE 488 devices. Under 32-bit Driver488 software,

serial interfaces are no longer supported. This command returns the status of the IEEE 488 bus control
lines as an 8-bit unsigned value (bits 2 and 1 are reserved for future use), as indicated below.

Bit 8

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

EOI

SRQ

NRFD

NDAC

DAV

ATN

0

0

This manual is related to the following products: