beautypg.com

Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual

Page 279

background image

14A. Driver488/SUB, C Languages

III. COMMAND REFERENCES - 14. Command Summaries

III-264

Personal488 User’s Manual, Rev. 3.0

CompStat)

Error (Handle, Display)

Control display of error messages

FindListeners (IntfHandle, Prim,

Listener, Limit)

Find devices configurable to listen at specific

address

Finish (IntfHandle)

Reassert ATN (see Resume)

GetError (Handle, ErrText)

Get error code and error text

GetErrorList (DevHandles, ErrText,

ErrHandle)

Find device in error and identify

Hello (IntfHandle, Message)

Verify communication and get revision number

IntLevel (IntfHandle,IntLev)

Specify hardware interrupt level of I/O adapter

IOAddress (IntfHandle, IOAddr)

Specify I/O port base address of I/O adapter

KeepDevice (DevHandle)

Make specified external device permanent

LightPen (IntfHandle, LightPen)

Enable or disable detection of interrupts via light

pen status

Listen (IntfHandle, Prim, Sec)

Send Listen Address

Local (Handle)

Unassert REN (IntfHandle) or issue GTL

(DevHandle)

LocalList (DevHandles)

Issue GTL to devices in list

Lol (IntfHandle)

Issue LLO bus command

MakeDevice (DevHandle, Name)

Create identical copy of existing device

MyListenAddr (IntfHandle)

Send My Listen Address

MyTalkAddr (IntfHandle)

Send My Talk Address

OnEvent

(IntfHandle,Handler,Argument)

Specify function to be called upon Armed event

OepnName (Name)

Open specified device and return device handle

Output (DevHandle,Data)

Send data to specified device

OutputN (DevHandle,Data,Count)

Send count bytes to specified device

OutputMore (DevHandle,Data)

Send count bytes to specified device without

forcing address

OutputNMore (DevHandle,Data,Count)

Send count bytes without forcing address

OutputX (DevHandle,Data,Count,

LastForceAddr,Term,Async,CompStat)

Send data to specified device adjusting all

parameters

PassControl (DevHandle)

Allow Interface to give control to another

controller on bus

PPoll (IntfHandle)

Perform IEEE 488 parallel poll operation

PPollConfig (DevHandle,PPresponse)

Configure Parallel Poll response of bus device

PPollDisable (DevHandle)

Disable Parallel Poll response of a bus driver

PPollDisableList (DevHandles)

Disable Parallel Poll response of several bus

devices

PPollUnconfig (IntfHandle)

Disable the Parallel Poll response of all bus

devices

Remote (Handle)

Assert REN if IntfHandle, address to Listen if

DevHandle

RemoteList (DevHandles)

Address specified external devices to Listen

RemoveDevice (DevHandle)

Remove Driver488 device

Request (IntfHandle, SPstatus)

Request service from Active Controller by

asserting SRQ

Reset (IntfHandle)

Provide warm start of interface, clear all error

conditions

Resume (IntfHandle,Monitor)

Unassert ATN

SendCmd (IntfHandle,Bytes,Length)

Send command strings with ATN asserted

SendData (DevHandle,Bytes,Length)

Send command strings with ATN unasserted

SendEoi (IntfHandle,Bytes,Length)

Same as SendData with eoi on last byte

SPoll (DevHandle)

Serial Poll device

SPoll (IntfHandle)

Get SRQ state

SPollList

Serial Poll devices until parameters are met