beautypg.com

Measurement Computing GPIB-488.2 User Manual

Page 14

background image

2-6 API Cross-Reference

986992

GPIB 488.2 Porting Guide


IOtech to MCC GPIB 488.2 Cross-Reference

IOtech GPIB
API Reference

MCC GPIB 488.2
Library Routine

Comments

33 SPoll

AllSpoll

SPoll - In Active Controller mode, SPoll performs a Serial
Poll of the specified device and responds with a number
from 0 to 255 representing the decimal equivalent of the
eight-bit device response. If rsv (DIO7, decimal value 64) is
set, then that device is signaling that it requires service. The
meanings of the other bits are device-specific.

Serial Polls are normally performed in response to assertion
of the Service Request (SRQ) bus signal by some bus
device.

SPollList

AllSpoll

As with SPoll, but uses list.

34 Status

ReadStatusByte

Status - returns various items detailing the current state of
Driver488. They are returned in a data structure.

35 Talk

Also see:

MyTalkAddr

ReceiveSetup

Talk - addresses an external device to Talk.

36 Term

NO EQUIVALENT

Term - sets the end-of-line (EOL) terminators for input from,
and output to, I/O adapter devices. These terminators are
sent at the end of output data and expected at the end of
input data, in the manner of CR LF as used with printer data.

During output, Term appends the bus output terminator to
the data before sending it to the I/O adapter device.
Conversely, when Driver488 receives the bus input
terminator, it recognizes the end of a transfer and returns
the data to the calling application. The terminators never
appear in the data transferred to or from the calling
application. The default terminators for both input and
output are set by the startup configuration and are normally
CR LF EOI, which is appropriate for most bus devices.

TermQuery

NO EQUIVALENT

TermQuery - queries the terminators setting. Terminators
are defined by the TermT structure.

TimeOut

NO EQUIVALENT

TimeOut - sets the number of milliseconds that Driver488
waits for a transfer before declaring a timeout error. The
timeout value sets a limit on the total time allowed for an
operation. For example, when using the Enter command all
expected data must be received within the specified timeout
period or a timeout error will occur.

TimeOutQuery

NO EQUIVALENT

TimeOutQuery - queries the timeout setting,
given in milliseconds.