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

III. COMMAND REFERENCES - 14. Command Summaries
14A. Driver488/SUB, C Languages
Personal488 User’s Manual, Rev. 3.0
III-265
(DevHandles,SPResult,UntilFlag)
Status (IntfHandle,StatusVal)
Return details of state of the driver
Stop (IntfHandle)
Halt any asynchronous transfer that may be in
progress
SysController (IntfHandle,SysCont)
Specify if interface is to be System Controller
Talk (IntfHandle,Prim,Sec)
Send specified Talk Address
Term (Handle,TermP,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 (DevHandles)
Issue GET to devices in list
UnListen (IntfHandle)
Send the Unlisten (UNL) command
UnTalk (IntfHandle)
Send the Untalk (UNT) command
Wait (IntfHandle)
Wait until asynchronous transfer has completed
The Commands
To obtain a more detailed description of the command references for Driver488/SUB, 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