Agilent Technologies N8201A Service Manual Page 618

  • Download
  • Add to my manuals
  • Print
  • Page
    / 622
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 617
618 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.5 GHz
28 Programming Fundamentals
6
Click on the Add button and type in the following: C:\VXIPNP\WIN95\LIB\MSC
For Borland C++ version 4.0 compilers:
You may wish to add the include file and library file search paths. They are set under the
Options | Project menu selection. Double click on Directories from the
Topics list box and add the following:
C:\VXIPNP\WIN95\INCLUDE
C:\VXIPNP\WIN95\LIB\BC
16-bit Applications
The following is a summary of important compiler-specific considerations for the Windows
compiler.
For Microsoft Visual C++ version 1.5:
To set the memory model, do the following:
1 Select Options | Project.
2 Click on the Compiler button, then select Memory Model from the Category
list.
3 Click on the Model list arrow to display the model options, and select Large.
4 Click on OK to close the Compiler dialog box.
You may wish to add the include file and library file search paths. They are set under the
Options | Directories menu selection:
C:\VXIPNP\WIN\INCLUDE
C:\VXIPNP\WIN\LIB\MSC
Otherwise, the library and include files should be explicitly specified in the project file.
Example Program
This example program queries a GPIB device for an identification string and prints the
results. Note that you must change the address.
/*idn.c - program filename */
#include "visa.h"
#include <stdio.h>
void main ()
{
/*Open session to GPIB device at address 18 */
ViOpenDefaultRM (&defaultRM);
ViOpen (defaultRM, GPIB0::18::INSTR", VI_NULL,
VI_NULL, &vi);
Page view 617
1 2 ... 613 614 615 616 617 618 619 620 621 622

Comments to this Manuals

No comments