National Instruments NI-488.2 User Manual page 59

National instruments user manual ni-488.2
Hide thumbs Also See for NI-488.2:
Table of Contents

Advertisement

© National Instruments Corporation
5.
After you successfully complete
new prompt,
ud0
further NI-488.2 calls. To clear the device, use
ud0: ibclr
[0100] (cmpl)
6.
To write data to the device, use
documentation that came with your GPIB instrument for recognized
command messages.
ud0: ibwrt
enter string: "*IDN?"
[0100] (cmpl)
count: 5
Or, equivalently:
ud0: ibwrt "*IDN?"
[0100] (cmpl)
count: 5
7.
To read data from your device, use
instrument is displayed. For example, to read 29 bytes, enter the
following:
ud0: ibrd
enter byte count: 29
[0100] (cmpl)
count: 29
46 4C 55 4B 45 2C 20 34
35 2C 20 34 37 39 30 31
37 33 2C 20 31 2E 36 20
44 31 2E 30 0A
Or, equivalently:
ud0: ibrd 29
[0100] (cmpl)
count: 29
46 4C 55 4B 45 2C 20 34
35 2C 20 34 37 39 30 31
37 33 2C 20 31 2E 36 20
44 31 2E 30 0A
8.
When you finish communicating with the device, make sure you put it
offline using the
ibonl
ud0: ibonl 0
[0100] (cmpl)
:
ibdev
, represents a device-level handle that you can use for
. Make sure that you refer to the
ibwrt
ibrd
FLUKE, 4
5, 47901
73, 1.6
D.10.
FLUKE, 4
5, 47901
73, 1.6
D.10.
command, as follows:
6-3
Chapter 6
Interactive Control Utility
, you have a
prompt. The
ud
, as follows:
ibclr
. The data that is read from the
NI-488.2 User Manual for Windows

Advertisement

Table of Contents
loading

Table of Contents