beautypg.com

GW Instek GDS-800 Series Programming Manual User Manual

Page 10

background image

GDS-806/810/820/840 Programming Manual

9

4.

To write data to the device, use ibwrt.

ud0: ibwrt "*IDN?"

[0100] (cmpl)

count: 5

5.

To read data from your device, use ibrd. The data that is read from the

instrument is displayed. For example, to read 28 bytes, enter the following:

ud0: ibrd 28

[0100] (cmpl)

count: 28

47 57 2C 20 47 44 53 2D GW, GDS-

38 32 30 2C 20 50 39 32 820, P92

30 31 33 30 2C 20 56 2E 0130, V.

31 2E 30 39 1.09

6.

When you finish communicating with the device, make sure you put it offline

using the ibonl command, as follows:

ud0: ibonl 0

[0100] (cmpl)

:

The ibonl command properly closes the device handle and the ud0 prompt is no

longer available.

7.

To exit Interactive control, type q.

For the details, please refer to National Instrument’s manual.

If you do not receive a proper response from the oscilloscope, please check the

power is on, the GPIB address is correct, and all cable connections are active,