beautypg.com

Measurement Computing GPIB-488.2 User Manual

Page 10

background image

2-2 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

11 EnterX

RcvRespMsg

Receive

Enter
EnterN
EnterMore
EnterNMore


Receive

EnterX - reads data from the I/O adapter. If an external
device is specified, then Driver488 is addressed to Listen,
and that device is addressed to Talk. If an interface is
specified, then Driver488 must already be configured to
receive data and the external device must be configured to
Talk, either as a result of an immediately preceding EnterX
command or as a result of one of the Send commands.
EnterX terminates reception on either the specified count of
bytes transferred, or the specified or default terminator being
detected. Terminator characters, if any, are stripped from the
received data before the EnterX command returns to the
calling application.

12 Error

NO EQUIVALENT

Error – Enables [or disables] automatic on-screen display of
Driver488 error messages.

13 FindListeners

Also see:

CheckListener

FindLstn

FindListeners - finds all of the devices configured to Listen at
the specified primary address on the IEEE 488 bus.

GetError

NO EQUIVALENT

GetError

-

user-called after another function returns an error

indication. The device handle sent to the function that
returned the error indication is sent to GetError as its
devHandle parameter. GetError finds the error associated
with that device and returns the error code associated with
that error.

14

GetErrorList

NO EQUIVALENT

GetErrorList

-

user-called, after another function identifying a

list of device handles, returns an error indication. The device
handle list sent to the function that returned the error
indication, is sent to GetErrorList. GetErrorList finds the
device that returned the error indication, returning the handle
through errHandle, and returns the error code associated with
that error.

15 Hello

TestSys

(

Limited Functionality)

Hello - verifies communication with Driver488; reads software
rev. number.

16 KeepDevice

NO EQUIVALENT

KeepDevice - updates existing device; creates a new device
in the Registry. Example use: change device bus address;
make it a permanent change. Unless KeepDevice is used,
all temporary Driver488 devices are forgotten when
Driver488 is closed. To remove the permanent device, use
the RemoveDevice command.

17 Listen

Also See:

MyListenAddr

EnableRemote

SendSetup

Listen - addresses an external device to Listen.