SIGLENT
SSG5000X Programming Guide 133
Set lib path set lib file:
Set lib path: the NI-VISA install path, in our computer we set the path is: C:\Program
Files\IVI Foundation\VISA\WinNT\lib\msc. Set this path to project---properties---
Linker---General---Additional Library Directories: as seen in the pictures below.
Set lib file: project---properties---Linker---Command Line---Additional Options:
visa32.lib
Include visa.h file: In the projectname.cpp file:
#include <visa.h>
3.
Add the following code:
(1) USBTMC access code.
Write a function
Usbtmc_test:
int
Usbtmc_test()