Programming Manual UTG900E Series
Instruments.uni-trend.com
Select the "Linker-Command Line" in the left side of properties dialog, and set the "Additional" content
to the visa32.lib, as followings showed.
Add the visa.h file to the projectname.cpp.
#include <visa.h>
1. Source Code
a) USBTMC Example
int usbtmc_test()
{ /** This code demonstrates sending synchronous read & write commands
* to an USB Test & Measurement Class (USBTMC) instrument using NI-VISA
* The example writes the "*IDN?\n" string to all the USBTMC
* devices connected to the system and attempts to read back