Example Programs - Stanford Research Systems DS360 Operating Manual And Programming Reference

Ultra low distortion function generator
Table of Contents

Advertisement

Example Programs

Using Microsoft C with the National Instruments GPIB card on a PC
To succesfully interface the DS360 to a PC via the GPIB interface, the
instrument, interface card and interface drivers must all be configured properly.
To configure the DS360, the GPIB address must be set in the [SHIFT][GPIB]
menu.The default address is 8; use this address unless a conflict occurs with other
instruments in your system. The DS360 will be set to GPIB address 8 whenever a
reset is performed (power on with the CLR key pressed).
Make sure that you follow all of the instructions for installing the GPIB card. The
National Instruments card cannot be simply unpacked and put into your
computer. To configure the card , you may need to set jumpers and switches on
the card to set the I/O address and the interrupt levels. You must run the program
"IBCONF" to configure the resident GPIB driver for your GPIB card. Please
refer to the National Instruments manual for more information. In these
examples, the following options must be set with IBCONF:
Device Name:
Device Address:
EOS Character:
Terminate Read on EOS:
Once all the hardware and GPIB drivers are configured, use "IBIC". This
terminal emulation program allows you to send commands to the DS360 directly
from the computer keyboard. If you cannot talk to the DS360 via "IBIC", then
your programs will not run.
Use the simple commands provided by National Instruments. Use "IBWRT" and
"IBRD" to send and receive from the DS360. After you are familiar with these
simple commands, you can explore more complex programming commands.
Remote Programming 4-23
DS360
8
0Ah (linefeed)
Yes
DS360 Ultra Low Distortion Function Generator

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents