beautypg.com

Entermore, Entern, Enternmore – Measurement Computing GPIB-488.2 User Manual

Page 28: Enterx, Enterx entern entermore enternmore, Rcvrespmsg, Receive, Syntax

background image

3-10

IOtech to Associated MCC APIs

986992

GPIB 488.2 Porting Guide

IOtech GPIB Commands

Associated MCC GPIB 488.2 Command(s)

EnterX

EnterN

EnterMore

EnterNMore

RcvRespMsg

Receive

Note 1: RcvRespMsg pertains only to EnterX.
Note 2: Receive pertains to all four of these listed
IOtech Enter… commands.
Note 3: Also see the previous entry for Enter

.

Syntax

EnterX

LONG WINAPI EnterX(DevHandleT devHandle,LPBYTE
data,DWORD count,BOOL forceAddr,TermT*term,BOOL

reserved,LPDWORD compStat);

EnterN

LONG WINAPI EnterN(DevHandleT devHandle,

LPBYTE data,int count)

EnterMore

LONG WINAPI EnterMore(DevHandleT devHandle,

LPBYTE data)

EnterNMore

LONG WINAPI EnterNMore(DevHandleT devHandle,LPBYTE

data,int count);

RcvRespMsg

RcvRespMsg(int board, char data[], long count,

int termination)

Receive

Receive(int board, int address,char data[],

unsigned long count, int termination)

Usage Notes

EnterX, Enter, EnterN, EnterMore, and EnterNMore are no longer to be used. The
EnterX command read data from the I/O adapter. If an external device was specified, then
Driver488 was addressed to Listen, and the external device was addressed to Talk. If an
interface was specified, then Driver488 had to have been previously configured to receive data.
and the external device previously configured to Talk, either as a result of an immediately
preceding EnterX command or as a result of one of the Send commands. EnterX
terminated reception on either (a) the specified count of bytes transferred, or (b) the specified or
default terminator being detected. Terminator characters, if any, were stripped from the
received data before the EnterX command was returned to the calling application.

EnterN, EnterMore, and EnterNMore were short-form versions of the EnterX function.
They are not detailed in this porting guide. In regard to Enter, see the preceding entry.


.