Introduction
The following examples demonstrate interfacing the DS345 via the GPIB in-
terface using the National Instruments GPIB card. Using a different brand of
card or the RS232 interface would be similar except for the program lines
that actually send the data. These examples are intended to demonstrate
the syntax of the DS345's command set.
To successfully interface the DS345 to a PC via the GPIB interface, the in-
strument, interface card, and interface drivers must all be configured proper-
ly. To configure the DS345, the GPIB address must be set in the GPIB menu.
The default GPIB address is 19; use this address unless a conflict occurs
with other instruments in your system.
Make sure that you follow all the instructions for installing the GPIB card. The
National Instruments card cannot be simply unpacked and put into your com-
puter. To configure the card you must set jumpers and switches on the card
to set the I/O address and interrupt levels. You must run the program "IB-
CONF" to configure the resident GPIB driver for you GPIB card. Please refer
to the National Instruments manual for information. In this example, the fol-
lowing options must be set with IBCONF:
Device name: ds345
Device address: 19
EOS character: 0Ah (linefeed)
Once all the hardware and GPIB drivers are configured, use "IBIC". This ter-
minal emulation program allows you to send commands to the DS345 direct-
ly from your computer's keyboard. If you cannot talk to the DS345 via "IBIC",
then your programs will not run.
Use the simple commands provided by National Instruments. Use "IBWRT"
and "IBRD" to write and read from the DS345. After you are familiar with
these simple commands, you can explore more complex programming com-
mands.
3-15
Program Examples
Содержание DS345
Страница 2: ......
Страница 5: ...DS345 Synthesized Function Generator iii...
Страница 20: ...Introduction 2 4...
Страница 64: ...Programming Commands 3 14...
Страница 72: ...Program Examples 3 22...
Страница 78: ...Troubleshooting 4 6...
Страница 82: ...Performance Tests 5 4...
Страница 101: ...Calibration 6 10...
Страница 109: ...Arbitrary Waveform Composer 7 8...
Страница 117: ...DS345 Circuitry 8 8...