beautypg.com

Term, Termquery, Timeout – Measurement Computing GPIB-488.2 User Manual

Page 60: Timeoutquery, Term termquery timeout timeoutquery, Syntax, No equivalent commands

background image

3-42

IOtech to Associated MCC APIs

986992

GPIB 488.2 Porting Guide

IOtech GPIB Commands

Associated MCC GPIB 488.2 Command(s)

Term

TermQuery

TimeOut

TimeOutQuery

No Equivalent Commands

Syntax

Term

INT WINAPI Term(DevHandleT devHandle,

TermT *term,DWORD termFlag);

TermQuery

INT TermQuery(DevHandleT devHandle,
TermT *term,INT termFlag);

TimeOut

INT WINAPI TimeOut(DevHandleT devHandle,

DWORD millisec);

TimeOutQuery

INT WINAPI TimeOutQuery(DevHandleT devHandle,
DWORD *millisec);

Usage Notes

These four IOtech commands are not used with MCC API.

Term - was used to set the end-of-line (EOL) terminators for input from and output to I/O
adapter devices.

TermQuery - queried the terminators setting.

TimeOut - was used to set the number of milliseconds that Driver488 would wait for a
transfer, before declaring a timeout error. The timeout value set a limit on the total time
allowed for an operation.

TimeOutQuery - queried the timeout setting, given in milliseconds.

Similar functionality can only be achieved by coding efforts, of such magnitude, that they are
beyond the scope of this document.