EEVblog Electronics Community Forum
Products => Test Equipment => Topic started by: wholder on July 28, 2019, 11:35:53 pm
-
RglComm is a GUI-based program written in the Java Language that I created to experiment with communicating with and controlling Rigol devices using IEEE 488/USBTMC-USB488 commands sent over the instrument's USB interface. My eventual goal is to use this code as the basis for a program that can run simple scripts to make various measurements and perform calculations (sort of a poor man's LabVIEW™), so stay tuned if you're interested.
The program is still in development, but I'd like to be able to capture the USB product codes for more Rigol devices so I can include them. To assist with this, RglComm has a built-in "scan" function you can run to print out a list of all connected (and powered on) USB devices that match Rigol's Vendor Id. So, if anyone wants to give it a try, I'd appreciate having people run the scan function and then post the results in this thread, or send me a personal message. Note: scan also prints out the device's serial number, which I do not need and which you should probably not post here. Ideally, all I need is the following two lines:
Product Id: 0x0E11
Product: DP800 Serials
as well as the exact model number for the device, such as "DM3058 Digital Multimeter" or "DS4024 Digital Oscilloscope", as the scan function often only reports the model series and not the full device model. Any help will be greatly appreciated.
https://github.com/wholder/RglComm (https://github.com/wholder/RigolComm)
Also, to save time, here is a list of Rigol devices for which I have already obtained the USB Product Id information:
DM3058 Digital Multimeter 0x09C4
DP832 Prog DC Power Supply 0x0E11
DS4024 Digital Oscilloscope 0x04B1
DS1102E Digital Oscilloscope 0x0588
DSA815 Spectrum Analyzer 0x0960
DG4162 Func/Wave Generator 0x0641
DS1054Z Digital Oscilloscope 0x04CE
Wayne
-
So, nothing to do with LabView. Just a click baiting.
-
> So, nothing to do with LabView. Just a click baiting.
Hmm... it wasn't my intent to click bait anyone. Just looking for an assist for my open source project.
Wayne
-
Could you add a LICENSE file stating what license this is under?
I may well be interested in pitching in. I'm a Java programmer by trade, and I just bought a bunch of new Rigol gear a couple of weeks ago, and I've been thinking a lot about how to programmatically interface with my gear. So this is right up my alley.
-
The license is listed as MIT in the source code, but I've now added a LICENSE file, as well. Thanks for the suggestion.
Wayne
-
> I may well be interested in pitching in.
Thanks. This project is still in the very early stages and is, at the current time, just the minimal code needed to test communication with devices. The "Universal Serial Bus Test and Measurement Class, Subclass USB488 Specification (USBTMC-USB488)" (http://sdpha2.ucsd.edu/Lab_Equip_Manuals/usbtmc_usb488_subclass_1_00.pdf (http://sdpha2.ucsd.edu/Lab_Equip_Manuals/usbtmc_usb488_subclass_1_00.pdf)) is not exactly easy reading, so I'm still working though some issues to understand how to get reliable communication.
Wayne
-
Have you had a chance to check out EEZ-Studio (https://github.com/eez-open/studio)? Your project goals sound similar to this effort and the tool is already able to communicate w/ several Rigol SCPI instruments via USB and IP.
-
Thanks for pointing this out. My goal is quite a bit different from the direction they're going, but it will be a useful resource.
Wayne