User Manual

SIGELNT
50 SPD1000X User Manual
USBTMC and TCP/IP, send commands to read the return value.
Follow these steps to complete the example:
1 Open Visual Studio and create a new vc ++ win32 project.
Setting up the project environment to use the ni-visa library, you
have two options for using ni-visa, static mode and automatic mode:
1 static mode:
Find the files on the NI-VISA installation path: visa.h, visatype.h,
visa32.lib. Copy them to your project and add them to the project. In
the project .cpp file, add the following two lines
#include "visa.h"
#pragma comment(lib,"visa32.lib")
2 automatic mode
Set .h files include directory, ni-visa installation path. In our
computer, we set the path to: C: \Program Files\IVI
Foundation\VISA\WINNT\include. Set this path to the project -
Properties ——C / C ++ —— General - Additional include path, as
shown:
Set the library path to set the library file:
Set the library path: In your ni-visa installation path, in our computer,
we set the path is: C: \Program Files\IVI Foundation\VISA\WINNT\LIB