Tektronix TDS510A Caulking Gun User Manual


 
Programming Examples
TDS Family Oscilloscope Programmer Manual
4–3
cd examples
copy B:\quick-c\*.* .
4. For this installation, you will also want to copy DECL.H and MCIB.OBJ from
your Tektronix S3FG210 (National Instruments GPIB-PCII/IIA) GPIB
drivers directory to this directory. For example, if the GPIB drivers are in the
gpibĆpc directory and you are in the example programs directory, you
would type:
copy \gpib-pc\decl.h .
copy \gpib-pc\mcib.obj .
5. To compile and link your TDS sample C programs, simply type: nmake
<file name>.mak
where <file name> refers to the name of the example program you wish to
compile and link. Specifically:
To compile and link MEAS.C, type: nmake meas.mak
To compile and link COMM.C, type: nmake comm.mak
To compile and link GETWFM.C, type: nmake getwfm.mak
To compile and link CURSOR.C, type: nmake cursor.mak
To compile and link TL.C, type: nmake tl.mak
6. Run the program by simply typing the program name.
To run meas, type: meas
To run comm, type: comm
To run getwfm, type: getwfm
To run cursor, type: cursor
To run tl, type: tl
To make an executable for any of the following files, perform the following:
1. Install QuickBASIC.
2. Install the Tektronix S3FG210 (National Instruments GPIB-PCII/IIA) GPIB
board and drivers. Remember to reboot your PC to initialize the GPIB
drivers.
3. Copy the files from the examples diskette to your hard disk. You might also
create a special directory to store them. For example, if the current drive is
Compiling and Linking
Your Example
QuickBASIC Programs