Application Programs 6
Keysight 34420A User’s Guide 255
– To compile Microsoft® QuickC® programs from the DOS command line (using
the “large” memory model), execute the following:
qcl /AL <path...\program.C> <path... \clgpib.lib>
For example,
qcl /AL b:\meter.c c:\qc2\lib\clgpib.lib
Change the “/AL” parameter to the appropriate setting when compiling in the
smaller memory models (see your C Language manual for more information).
For some programs, you may also have to change the stack size using the “/F”
parameter.
– To compile Borland® Turbo C®++ programs from the DOS command line
(using the “large” memory model), execute the following:
tcc -ml <path...\program.C> <path... \tchgpib.lib>
For example
tcc -ml b:\meter.c c:\tc\lib\tchgpib.lib
Change the “-ml” parameter to the appropriate setting when compiling in
smaller memory models (see you C Language manual for more information).
– Once compiled and linked, and executable file (.EXE) and object file (.OBJ) are
created in the current directory. run the program by typing the file name with
the .EXE extension.