![Omega OMB-PER-488/W95 User Manual Download Page 94](http://html1.mh-extra.com/html/omega/omb-per-488-w95/omb-per-488-w95_user-manual_4058772094.webp)
88 API Command Reference
Personal488 User's Manual For Windows95 and Windows NT
Additional Output Functions
Driver488 provides additional
Output
functions that are short-form versions of the
OutputX
function.
The following
Output
functions are already defined in your header file.
Output
Syntax
LONG WINAPI Output(DevHandleT devHandle,LPBYTE data);
Remarks
Output
is equivalent to the following call to
OutputX
:
OutputX(devHandle,data,strlen(data),1,1,0L,0,0L);
The
Output
function passes the device handle and a pointer to the data buffer to the
OutputX
function. It determines the size of the data buffer that you provided, and passes that value as the
count
parameter. It specifies that the
forceAddr
flag is set
TRUE
, which causes Driver488 to address the
device if an external device is specified. The default terminators are chosen by specifying a
0
pointer
as the
terminator
parameter. Synchronous transmission is specified by sending
0
for the
async
parameter, and the completion status value is ignored by sending a
0
for the
compStat
pointer.
OutputN
Syntax
LONG WINAPI OutputN(DevHandleT devHandle,LPBYTE data,DWORD
count);
Remarks
OutputN
is equivalent to the following call to
OutputX
:
OutputX(devHandle,data,count,0,1,0L,0,0L);
The
OutputN
function passes the device handle and a pointer to the data buffer to the
OutputX
function. It specifies that the
forceAddr
flag is set
TRUE
, which causes Driver488 to address the
device if an external device is specified. The default terminators are chosen by specifying a
0
pointer
as the
terminator
parameter. Synchronous transmission is specified by sending
0
for the
async
parameter, and the completion status value is ignored by sending a
0
for the
compStat
pointer.
OutputMore
Syntax
LONG WINAPI OutputMore(DevHandleT devHandle, LPBYTE data);
Remarks
OutputMore
is equivalent to the following call to
OutputX
:
OutputX(devHandle,data,strlen(data),1,0,0L,0,0L);
The
OutputMore
function passes the device handle and a pointer to the data buffer to the
OutputX
function. It determines the size of the data buffer that you provided, and passes that value as the
count
parameter. It specifies that the
forceAddr
flag is set
FALSE
, so Driver488 does not re-address the
device if it is the same device as that previously used. The default terminators are chosen by specifying
a
0
pointer as the
terminator
parameter. Synchronous transmission is specified by sending
0
for the
async
parameter, and the completion status value is ignored by sending a
0
pointer for the
compStat
pointer.
OutputNMore
Syntax
LONG WINAPI OutputNMore (DevHandleT devHandle, LPBYTE data,
DWORD count);
Remarks
OutputNMore
is equivalent to the following call to
OutputX
:
OutputX(devHandle,data,0,0,0L,0,0L);
The
OutputNMore
function passes the device handle and a pointer to the data buffer to the
OutputX
function. It specifies that the
forceAddr
flag is set
FALSE
, so Driver488 does not re-address the
device if it is the same device as that previously used. The default terminators are chosen by specifying
a
0
pointer as the
terminator
parameter. Synchronous transmission is specified by sending
0
for the
async
parameter, and the completion status value is ignored by sending a
0
pointer for the
compStat
pointer.
Summary of Contents for OMB-PER-488/W95
Page 1: ......
Page 4: ...ii Personal488 User s Manual For Windows 95 and Windows NT Notes...
Page 38: ...32 Personal488 with GP488B Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 52: ...46 Driver488 W95 Driver488 WNT Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 136: ...130 Appendix Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 139: ...Personal488 User s Manual For Windows 95 and Windows NT Index 133 Notes...
Page 142: ...136 Abbreviations Personal488 User s Manual For Windows95 and Windows NT Notes...