National Instruments NI-488.2M Software Reference Manual page 6

For os/2
Hide thumbs Also See for NI-488.2M:
Table of Contents

Advertisement

Contents
Chapter 3
Choosing a Programming Method..............................................3-1
Checking Status with Global Variables......................................3-4
Using ibic to Communicate with Devices ..................................3-7
Writing Your NI-488 Application ..............................................3-7
Writing Your NI-488.2 Application ........................................... 3-13
Compiling and Linking Your Program....................................... 3-20
Running Your Application Program........................................... 3-21
Chapter 4
Running ibtest............................................................................. 4-1
Debugging with the Global Status Variables ............................. 4-3
Debugging with ibic ................................................................... 4-3
GPIB Error Codes....................................................................... 4-3
Configuration Errors................................................................... 4-4
Timing Errors ............................................................................. 4-5
NI-488.2M SRM for OS/2
Using the NI-488.2 Language Interface....................... 3-1
Each Board..................................................... 3-2
and/or Multiple Devices................................. 3-3
Using the OS/2 API Interface....................................... 3-4
Status Word-ibsta ......................................................3-4
Error Variable-iberr ................................................... 3-6
Count Variables-ibcnt and ibcntl............................... 3-6
Items to Include ............................................................3-7
NI-488 Program Shell ..................................................3-8
General Program Steps and Examples ......................... 3-9
Items to Include ............................................................3-13
NI-488.2 Program Shell ............................................... 3-14
General Program Steps and Examples ......................... 3-15
32-Bit C Applications................................................... 3-20
16-Bit C Applications................................................... 3-21
Presence Test of Driver ................................................4-1
Presence Test of GPIB Board....................................... 4-2
Incorrect Interrupt Level ..............................................4-2
GPIB Cables Connected............................................... 4-2
Reconfiguring the NI-488.2M Software ......................4-5
....................................................... 3-1
....................................................... 4-1
vi
© National Instruments Corp.

Advertisement

Table of Contents
loading

Table of Contents