National Instruments 320682C Musical Toy Instrument User Manual


 
Contents
© National Instruments Corporation ix LabWindows/CVI Standard Libraries
ToPolar1D ........................................................................................................3-33
ToRect ..............................................................................................................3-34
ToRect1D .........................................................................................................3-35
Transpose .........................................................................................................3-36
Error Conditions...........................................................................................................3-37
Chapter 4
GPIB/GPIB-488.2 Library
...........................................................................................4-1
GPIB Library Function Overview................................................................................4-1
GPIB Functions Library Function Panels ........................................................4-1
GPIB Library Concepts................................................................................................4-5
GPIB Libraries and the GPIB Dynamic Link Library/Device Driver..............4-5
Guidelines and Restrictions for Using the GPIB Libraries..............................4-6
Device and Board Functions ............................................................................4-7
Automatic Serial Polling..................................................................................4-7
Autopolling Compatibility ...................................................................4-8
Hardware Interrupts and Autopolling...............................................................4-8
Read and Write Termination............................................................................4-9
Timeouts...........................................................................................................4-9
Global Variables for the GPIB Library ............................................................4-10
Different Levels of Functionality Depending on Platform and GPIB Board...4-10
Windows 95..........................................................................................4-10
Native 32-Bit Driver.................................................................4-10
Compatibility Driver ................................................................4-11
Windows NT ........................................................................................4-11
Limitations on Transfer Size............................................................................4-11
Multithreading..................................................................................................4-11
Notification of SRQ and Other GPIB Events...................................................4-12
Synchronous Callbacks ........................................................................4-12
Asynchronous Callbacks......................................................................4-12
Driver Version Requirements...............................................................4-12
GPIB Function Reference ............................................................................................4-13
CloseDev ..........................................................................................................4-13
CloseInstrDevs .................................................................................................4-14
ibInstallCallback...............................................................................................4-14
SRQI, RQS, and Auto Serial Polling ...................................................4-16
CallbackFunction .................................................................................4-17
ibNotify ............................................................................................................4-17
eventMask ............................................................................................4-18
SRQI, RQS, and Auto Serial Polling ...................................................4-19
CallbackFunction .................................................................................4-19
Restrictions on Operations in Asynchronous Callbacks ......................4-20
OpenDev...........................................................................................................4-21
ThreadIbcnt ......................................................................................................4-22
ThreadIbcntl .....................................................................................................4-22