This manual is the reference guide for the Signal Hound VSG25 API programming interface, which introduces how to use API interfaces to operate VSG25 devices.
This document serves as a programmer's reference for the Signal Hound VSG25 vector signal generator. It details the Application Programming Interface (API) consisting of C routines used to control the device, which is compatible with languages such as Java, C#, Python, C++, MATLAB, and LabVIEW. The manual outlines the requirements for development environments and the theoretical operation of the API.
| Compatible Languages | Java, C#, Python, C++, MATLAB, and LabVIEW |
|---|---|
| Operating Systems | Windows 7/8/10 |
| Connection Interface | USB 2.0 |
| Development Tools | Visual Studio 2008 or later |
| API Header File | sg_api.h |
| API Library Files | sg_api.lib and sg_api.dll |
| Max Devices per List | 8 |
| Max Symbol Count | 512 |
You need a Windows PC with a USB 2.0 port, Windows C/C++ development tools (preferably Visual Studio 2008 or later), and the specific API header and library files.
Use the sgOpenDeviceBySerial function with the serial number of the target device to discover and open it.
The API supports CW, AM, FM, Pulse, Sweep, Multi-Tone, ASK, FSK, and Custom IQ modulation.
The symbolCount parameter accepts inputs ranging from 1 to 512.