User Manual 46
EAR99 technology subject to restrictions on copyrights page.
\MSC. Set this path to Project - Performance - Connector - General - additional
library directory, as shown:
Set the library file
:
project---properties---Linker---Command Line---
Additional Options:visa32.lib
Including visa.h file: in XXX.cpp file: #include <visa.h>
2. Add code
•
Based on USB interface code : Write a Usbtmc_test function.
int Usbtmc_test () {
/* This code demonstrates using NI-VISA to send synchronous read and
write commands to a USB Test & Measurement Class (USBTMC)
instrument */
/* This example writes "* IDN? \n" string to all USBTMCs devices