Siglent SDS2352X-E oscilloscope

DSO programming guide - Page 231

For SDS2352X-E.

PDF File Manual, 256 pages, Read Online | Download pdf file

SDS2352X-E photo
Loading ...
Loading ...
Loading ...
Digital Oscilloscope Series
231
VB Example
Environment: Windows7 32-bit, Microsoft Visual Basic 6.0
Description: The function of this example: Use the NI-VISA, to control
the device with USBTMC and TCP/IP access to do a write and read.
Steps:
1. Open Visual Basic, and build a standard application program project.
2. Set the project environment to use the NI-VISA lib: Click the Existing
tab of Project>>Add Module, search the visa32.bas file in the include
folder under the NI-VISA installation path and add the file, as shown in
the figure below:
3. Coding:
a) USBTMC:
Private Function Usbtmc_test() As Long
' This code demonstrates sending synchronous read & write commands
Loading ...
Loading ...
Loading ...