beautypg.com

Output, Outputmore, Outputn – Measurement Computing GPIB-488.2 User Manual

Page 44: Outputnmore, Output outputn outputmore outputnmore, Send, Syntax

background image

3-26

IOtech to Associated MCC APIs

986992

GPIB 488.2 Porting Guide

IOtech GPIB Commands

Associated MCC GPIB 488.2 Command(s)

Output

OutputN

OutputMore
OutputNMore

Send

Syntax

Output

LONG WINAPI Output(DevHandleT devHandle,LPBYTE

data);

OutputN

LONG WINAPI OutputN(DevHandleT devHandle,LPBYTE

data,DWORD count);

OutputMore

LONG WINAPI OutputMore(DevHandleT devHandle,

LPBYTE data);

OutputNMore

LONG WINAPI OutputNMore (DevHandleT devHandle,

LPBYTE data, DWORD count);

Send

Send (int board, short address,char data[],long

count, int eotmode)

Usage Notes

Output, OutputN, OutputMore, and OutputNMore are no longer to be used.
The Output function passed the device handle and data buffer to the OutputX function. It
determined the size of the user-provided data buffer, and passed that value as the count
parameter.
The OutputN function passed the device handle and a pointer to the data buffer to the
OutputX function. It specified that the forceAddr flag was set TRUE, which caused
Driver488 to address the device if an external device was specified.
The OutputMore function passed the device handle and data buffer to the OutputX
function. It determined the size of the user-provided data buffer, and passed that value as the
count parameter.
The OutputNMore function passed the device handle and a pointer [to the data buffer] to the
OutputX function. It specified that the forceAddr flag wa set FALSE, so Driver488 would
not re-address the device, if it had the same device previously used.

Note that Output, OutputN, OutputMore, and OutputNMore were short-form versions of
the OutputX function (previously discussed).