Poor Man's (not LabVIEW) (assistance needed) - Page 1
Forum section: electronics / testgear

author: wholder
author_rank: Regular Contributor
timestamp: July 28, 2019, 11:35:53 pm
content: 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: 0x0E11Product: DP800 Serialsas 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/RglCommAlso, to save time, here is a list of Rigol devices for which I have already obtained the USB Product Id information:DM3058 Digital Multimeter 0x09C4DP832 Prog DC Power Supply 0x0E11DS4024 Digital Oscilloscope 0x04B1DS1102E Digital Oscilloscope 0x0588DSA815 Spectrum Analyzer 0x0960DG4162 Func/Wave Generator 0x0641DS1054Z Digital Oscilloscope 0x04CEWayne

author: joeqsmith
author_rank: Super Contributor
timestamp: July 29, 2019, 12:18:02 am
content: So, nothing to do with LabView. Just a click baiting.

author: wholder
author_rank: Regular Contributor
timestamp: July 29, 2019, 12:32:30 am
content: > 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

author: mindcrime
author_rank: Unknown
timestamp: July 29, 2019, 03:25:34 am
content: 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.

author: wholder
author_rank: Regular Contributor
timestamp: July 29, 2019, 05:56:29 am
content: 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

author: wholder
author_rank: Regular Contributor
timestamp: July 29, 2019, 06:01:21 am
content: > 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) is not exactly easy reading, so I'm still working though some issues to understand how to get reliable communication.Wayne

author: luma
author_rank: Regular Contributor
timestamp: July 29, 2019, 01:07:22 pm
content: Have you had a chance to check outEEZ-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.

author: wholder
author_rank: Regular Contributor
timestamp: July 29, 2019, 08:00:17 pm
content: 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