Chapter 5 wibic–Windows Interface Bus Interactive Control Utility
© National Instruments Corp. 5-15 NI-488.2 User Manual for Windows
Set (Select Device or Board)
You can use the set command to select 488.2 mode or to communicate with a different
device. The following example switches communication from using NI-488.2 routines
for gpib0 to using a unit descriptor ( ud0) previously acquired by an ibdev call.
488.2 (0): set ud0
ud0:
Help (Display Help Information)
The help feature displays a menu of topics to choose from. Each topic lists relevant
functions and other information. You can access help for a specific NI-488 function or
NI-488.2 routine by typing help followed by the call name (for example, help
ibwrt). Help describes the function syntax for all NI-488 functions and NI-488.2
routines.
! (Repeat Previous Function)
The ! function repeats the most recent function executed. The following example issues
an ibsic command and then repeats that same command.
gpib0: ibsic
[0130] (cmpl cic atn)
gpib0: !
[0130] (cmpl cic atn)
- (Turn Display Off) and + (Turn Display On)
The - function turns off all screen output except for the prompt. This function is useful
when you want to repeat any I/O function quickly without waiting for screen output to be
displayed.
The + function turns the screen output on.
In the following example 24 consecutive letters of the alphabet are read from a device
using three ibrd calls.
ud0: ibrd 8
[2100] (end cmpl)
count: 8
61 62 63 64 65 66 67 68 a b c d e f g h
ud0: -