beautypg.com

Enter, Entern, Entermore – Measurement Computing Personal488 rev.3.0 User Manual

Page 85: Enternmore

background image

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

04-10-01

API Reference 6-17

Enter

Syntax

LONG WINAPI Enter(DevHandleT devHandle, LPBYTE data)

Remarks

Enter

is equivalent to the following call to

EnterX

:

EnterX(devHandle,data,sizeof(data),1,0L,0,0L);

The

Enter

function passes the device handle and a pointer to the data buffer to the

EnterX

function. It

determines the size of the data buffer that you provided, and passes that value as the

count

parameter. It

specifies

forceAddr

is

TRUE

, causing Driver488 to re-address the device. The default terminators are

chosen by specifying a

0

as the

term

parameter. Asynchronous transfer is turned off by sending

0

for the

async

parameter, and the completion status value is ignored by sending

0

for the

compStat

parameter.

EnterN

Syntax

LONG WINAPI EnterN(DevHandleT devHandle,LPBYTE data,int

count)

Remarks

EnterN

is equivalent to the following call to

EnterX

:

EnterX(devHandle,data,count,1,0L,0,0L);

The

EnterN

function passes the device handle, the pointer to the data buffer, and the size of the data buffer

to the

EnterX

function. It specifies

forceAddr

is

TRUE

, causing Driver488 to re-address the device. The

default terminators are chosen by specifying a

0

pointer as the

term

parameter. Asynchronous transfer is

turned off by sending

0

for the

async

parameter, and the completion status value is ignored by sending

0

for the

compStat

parameter.

EnterMore

Syntax

LONG WINAPI EnterMore(DevHandleT devHandle,LPBYTE data)

Remarks

EnterMore

is equivalent to the following call to

EnterX

:

EnterX(devHandle,data,sizeof(data),0,0L,0,0L);

The

EnterMore

function passes the device handle and the pointer to the data buffer to the

EnterX

function. It determines the size of the data buffer that you provided, and passes that value as the

count

parameter. It specifies

forceAddr

is

FALSE

, therefore Driver488 does not address the device if it is the

same device as previously used. The default terminators are chosen by specifying a

0

as the

term

parameter. Asynchronous transfer is turned off by sending

0

for the

async

parameter, and the completion

status value is ignored by sending

0

for the

compStat

parameter.

EnterNMore

Syntax

LONG WINAPI EnterNMore(DevHandleT devHandle,LPBYTE data,int

count);

Remarks

EnterNMore

is equivalent to the following call to

EnterX

:

EnterX(devHandle,data,count,0,0L,0,0L);

The

EnterNMore

function passes the device handle, the pointer to the data buffer, and the size of the data

buffer to the

EnterX

function. It specifies

forceAddr

is

FALSE

; therefore, Driver488 does not address the

device if it is the same device as previously used. The default terminators are chosen by specifying a

0

as

the

term

parameter. Asynchronous transfer is turned off by sending

0

for the

async

parameter, and the

completion status value is ignored by sending

0

for the

compStat

parameter.

This manual is related to the following products: