beautypg.com

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

Page 12

background image

xii

Personal488 User’s Manual, Rev. 3.0

Sample Programs................................................................................................................ II-216

Data Acquisition Sample Programs........................................................................................ II-216
IEEE 488 Event Message Sample Programs ......................................................................... II-224

Command Summary ........................................................................................................... II-231

10F. Visual Basic......................................................................................... II-232

Accessing from a Windows Program................................................................................ II-232

Opening & Closing the Driver................................................................................................. II-233

Establishing Communications.......................................................................................... II-234
Confirming Communications............................................................................................ II-235
IEEE 488 Event Custom Control ....................................................................................... II-235
Reading Driver Status ....................................................................................................... II-238
External Device Initialization .......................................................................................... II-238
Basic Data Acquisition ...................................................................................................... II-239
Block Data Acquisition ...................................................................................................... II-239
Dynamic Data Exchange (DDE) ....................................................................................... II-241

Application ............................................................................................................................... II-241
Server Links ............................................................................................................................. II-241
Acquisition Engine................................................................................................................... II-243

Sample Programs................................................................................................................ II-246

Data Acquisition Sample Program ......................................................................................... II-246
IEEE 488 Event Custom Control Sample Program............................................................... II-249
Acquisition Engine Sample Program...................................................................................... II-250

Command Summary ........................................................................................................... II-251

10G. Utility Programs................................................................................ II-251

Introduction......................................................................................................................... II-251
WINTEST.............................................................................................................................. II-251

Opening a Device Handle for Communication....................................................................... II-252
Handle Lists ............................................................................................................................. II-252
WINTEST Session ................................................................................................................... II-253

QUIKTEST ........................................................................................................................... II-254

Application Files ...................................................................................................................... II-254
Installation ............................................................................................................................... II-254
Operation of the Application ................................................................................................... II-255
Cutting & Pasting to Other Applications ............................................................................... II-255
Dynamic Data Exchange (DDE) ............................................................................................. II-255
Loading the Project into Visual Basic..................................................................................... II-256

Licensing .............................................................................................................................. II-256

10H. Command Reference ........................................................................ II-256

11. Driver488/W95 .......................................................................................... II-257
12. Driver488/WNT......................................................................................... II-258

SECTION III: COMMAND REFERENCES.................................................... III-259

13. Overview ................................................................................................. III-261
14. Command Summaries .......................................................................... III-262

14A. Driver488/SUB, C Languages ....................................................... III-262

Function Descriptions .......................................................................................................III-262
The Commands ...................................................................................................................III-264
Syntax Parameters ............................................................................................................III-264
Defined Constants..............................................................................................................III-265
Structure Definitions ........................................................................................................III-265

14B. Driver488/SUB, QuickBASIC ........................................................ III-266

Function Descriptions .......................................................................................................III-266
The Commands ...................................................................................................................III-268
Syntax Parameters ............................................................................................................III-268