beautypg.com

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

Page 292

background image

III. COMMAND REFERENCES - 14. Command Summaries

14D. Driver488/W31, C Languages

Personal488 User’s Manual, Rev. 3.0

III-277

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

The symbol

*

(asterisk) refers to a Pointer.

Name

Type

Description

Argument

void far *

32 bit argument

Async

bool

Flag to indicate async transfer

Bytes

unsigned char *

Pointer to characters to transfer

CompStat

int *

Completion status from Driver

Condition

ArmCondT

Arm/Disarm bit mask

Count

long

Long count specifier

Data

char far *

Pointer to a character array

DevHandle

DevHandleT

External device handle

DevHandles

DevHandleT *

Pointer to array of handles

Display

bool

Error message display is ON or OFF

DmaChan

int

Hardware DMA channel

ErrHandle

DevHandleT *

Pointer to handle that caused error

ErrText

char *

Pointer to error text

Flag

bool

ON or OFF specifier

ForceAddr

bool

Force address flag

Freq

int

Clock frequency

Handle

DevHandleT

Either a DevHandle or an IntfHandle

Handler

UserHandlerFP

Pointer to OnEvent Handler

IntLev

int

Hardware Interrupt level

IntfHandle

DevHandleT

Interface handle

Last

bool

Terminator on last byte indicator

Length

int

Number of Bytes

LightPen

bool

Light Pen emulation is ON or OFF

Limit

short

Max number of listeners

Listener

unsigned short *

Pointer to listener list

Message

char *

Pointer to character array

Monitor

bool

Data monitor ON or OFF

Name

char *

Pointer to name string

Ppresponse

int

Configuration byte

Prim

char

IEEE 488 primary address

SPResult

unsigned char *

Array of SPOLL results

Sec

char

IEEE 488 secondary address

SPstatus

int

Service request status

StatusVal

IeeeStatusT *

Pointer to status structure

SysCont

bool

System Controller flag for IEEE 488 interface

TermP

TermT *

Pointer to terminator structure

TermType

int

Terminator type: TERMIN or TERMOUT

Timeout

long

Timeout value in milliseconds

UntilFlag

char

SpollList operating mode