User manual
RIGOL Chapter 3 Programming Examples
3-4 DS4000E Programming Guide
Remarks:
If you cannot find VISA Library in the left section of the above dialog box, please follow the
method below to find it.
(1) Make sure that your PC has installed the NI-VISA library.
(2) Click Browse…, then select the path C:\WINDOWS\system32 and search the filename
visa32.dll, as shown in the figure below.
5. Click View in the Microsoft Visual Basic menu bar and select Code to enter the code window. Add the
following codes and save the file.
Sub QueryIdn()
Dim viDefRm As Long
Dim viDevice As Long
Dim viErr As Long
Dim cmdStr As String
Dim idnStr As String * 128