beautypg.com

The commands, Syntax parameters – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual

Page 296

background image

III. COMMAND REFERENCES - 14. Command Summaries

14E. Driver488/W31, Visual Basic

Personal488 User’s Manual, Rev. 3.0

III-281

SPoll (IntfHandle)

Get SRQ state

SPollList (ListFirstElement(0),

ResultFirstElement(0),UntilFlag
)

Serial Poll devices until parameters are met

Status (IntfHandle,StatusVal)

Return details of state of the driver

Stop (IntfHandle)

See ioStop

SysController (IntfHandle,SysCont)

Specify if interface is to be System Controller

Talk (IntfHandle,Prim,Sec)

Send specified Talk Address

Term (Handle,TermVal,TermType)

Set terminators for interface or device

TimeOut (Handle, Timeout)

Set time that must elapse before time out error

declared

Trigger (Handle)

Issue Group Execute Trigger

TriggerList (ListFirstElement (0))

Issue GET to devices in list

UnListen (IntfHandle)

Send the Unlisten (UNL) command

UnTalk (IntfHandle)

Send the Untalk (UNT) command

Wait (IntfHandle)

See ioWait

The Commands

To obtain a more detailed description of the command references for Driver488/W31, turn to Chapter
15 “Command References” in this Section. The commands are presented in alphabetical order for ease
of use.

Syntax Parameters

Name

Type

Description

Async

integer

Flag to indicate async transfer

Bytes

string

String containing characters to transfer

ByVal ErrText

string

Buffer containing error text

ByVal Message

string

Buffer used to receive Hello message

ByVal Name

string

Name of external device or DOS device

CompStat

integer

Completion status from Driver

Count

long

Long count specifier

Data

string

Buffer used to send or receive data

DevHandle

integer

External device handle

Display

integer

Error message display is TURN ON or TURN
OFF

DmaChan

integer

Hardware DMA channel

ErrHandle

integer

Handle that caused error

Flag

integer

ON or OFF specifier

ForceAddr

integer

Force address flag

Freq

integer

Clock frequency

Handle

integer

Either a DevHandle or an IntfHandle

IntLev

integer

Hardware Interrupt level

IntfHandle

integer

Interface handle

IOAddr

integer

I/O base address

Last

integer

Terminator on last byte indicator

Length

integer

Number of Bytes

Limit

integer

Max number of listeners

ListFirstElement(0)

integer array

First element of the array of handles

Monitor

integer

Data monitor ON or OFF

PPresponse

integer

Configuration byte

Prim

integer

IEEE 488 primary address

ResultFirstElement(0)

integer

First element of the array of results

Sec

integer

IEEE 488 secondary address