Programming Guide
50
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 codes:
3.1 USBTMC access code.
Write a function Usbtmc_test:
int
Usbtmc_test()
{
/* This code demonstrates sending synchronous read & write commands */
Summary of Contents for SDG5000 series
Page 38: ...SDG5000 User Manual 27 Figure 2 5 Setting the Offset ...
Page 109: ...SDG5000 User Manual 98 Figure 3 1 Sine Waveform ...
Page 111: ...SDG5000 User Manual 100 Figure 3 2 Square Waveform ...
Page 129: ...SDG5000 User Manual 118 3 12 Figure 3 12 FSK Waveform ...
Page 135: ...SDG5000 User Manual 124 Figure 3 15 DSB AM Waveform ...