Programming Examples
TDS Family Oscilloscope Programmer Manual
4–3
1'*&-
)*2 +/#%
4. For this installation, you will also want to copy
and
from
your Tektronix S3FG210 (National Instruments GPIB-PCII/IIA) GPIB
drivers directory to this directory. For example, if the GPIB drivers are in the
!*#3*
directory and you are in the example programs directory, you
would type:
)*2 !*#*&"
)*2 !*#*'#)$
5. To compile and link your TDS sample C programs, simply type:
('%
#& (''%
where <file name> refers to the name of the example program you wish to
compile and link. Specifically:
To compile and link
, type:
('% '-'%
To compile and link
, type:
('% )'''%
To compile and link
, type:
('% !.0 ''%
To compile and link
, type:
('% /,-),'%
To compile and link
, type:
('% .&'%
6. Run the program by simply typing the program name.
To run
'-
, type:
'-
To run
)''
, type:
)''
To run
!.0 '
, type:
!.0 '
To run
/,-),
, type:
/,-),
To run
.&
, type:
.&
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