You can develop an NI-RFSA application using Microsoft Visual C/C++ with Microsoft Visual C++ 6.0 or Microsoft Visual Studio 2010. Follow these general steps to create a C/C++ application.

  1. Open an existing or new Visual C/C++ project to manage your application code.
  2. Create source code files of type .c (C) or .cpp (C++).
  3. Add the source code files to the project.
  4. Add the following code in the source code files: #include ".h"
  5. Add the NI-RFSA include and library files to the project.
    1. Navigate to the following location for your ADE and add the and visa.h files, separated by a semicolon.
      • In Microsoft Visual C++, select Project » Settings » C/C++ » Preprocessor » Additional include directories.
      • In Microsoft Visual Studio, select Project » Properties » Configuration Properties » C/C++ » General » Additional Include Directories.
      Note The and visa.h files are located in the <IVIROOTDIR32>\Include and <VXIPNPPATH>\WinNT\Visa\include directories, respectively.
    2. Select Project » Link » General » Object/Library Modules and add .
    3. Select Project » Link » Input » Additional library path and add the path to the file.
      Note The file is located in the the <IVIROOTDIR32>\Lib x64\msc directory.
  6. Build your application using the appropriate programming flow steps.