Accessing DS1074 via LAN - Examples included - Page 1
Forum section: electronics / projects

author: UConn94
author_rank: Newbie
timestamp: September 22, 2015, 12:36:28 am
content: I am the new owner of a Rigol DS1074, and I knew I had to see if I can remote access the scope. I started off with the demo from the Rigol Programming Guide using LabVIEW VISA drivers. Pretty straight forward. Then did some poking around the internet, and the rumo5r was the 'scope was accessible via port 5555. Also telnet friendly. Putting these two together, I thought I would try using TCP connection on port 5555 using the commands in the programming guide. It works, and here is the LabVIEW code (simple example).

author: UConn94
author_rank: Newbie
timestamp: September 22, 2015, 12:38:15 am
content: And here is my VISA example....Wireshark confirms that the commands are terminated with new-line.

author: UConn94
author_rank: Newbie
timestamp: September 24, 2015, 12:58:07 am
content: I am just getting started with this, second sit down with the new scope. Did a little bit more coding, and captured my first waveform - the scope signal source on the bottom right. Super easy to do. If there is anyone interested in code examples, I'll continue on providing them, otherwise I will wait until I have a full operational network remote control panel up and running. Maybe I post my project on my website. What is posted here should be enough for anyone who is also a programmer to remote the scope.First thing I did is a :MEAS command to get the waveform frequency. That worked. Next I did a data read, as described from page 2-208 of the Programming guide(which can be found on the Rigol website).The data is in ascii(Unsigned 8 bit). Simple LabVIEW string to byte array did the trick. Next - properly scale the axis on the graph..

author: awallin
author_rank: Frequent Contributor
timestamp: September 24, 2015, 04:49:36 am
content: Does anyone have a python library for Rigol scopes using vxi11 ?https://github.com/python-ivi/python-vxi11(over ethernet or USB, I guess both should work)I got started with this using a DS2000, but it would be great if there would be a community effort and it would work with all/most Rigol's speaking SCPI.

author: 8086
author_rank: Super Contributor
timestamp: September 24, 2015, 11:40:29 am
content: Censored LAN IP address? Not sure I see the point of that...Is there something I should know about?

author: Karel
author_rank: Super Contributor
timestamp: September 24, 2015, 12:20:15 pm
content: I use this:http://www.teuniz.net/DSRemote/Works fine for me.

author: UConn94
author_rank: Newbie
timestamp: September 26, 2015, 03:14:12 pm
content: I have now completed the :DISP:DATA? to image, and export image to BMP/JPG/PNG.Screenshot from program included. Getting to this point, I can do just about anything that I want to do with this scope.Just finalizing my command list for this scope, there are some conditionals with some of the commands I am working through. I can publish my command list if there is interest here. I am doing this for a break from my FPGA stuff....

author: UConn94
author_rank: Newbie
timestamp: September 28, 2015, 11:20:22 pm
content: Screen shots... developing..

author: lukaq
author_rank: Regular Contributor
timestamp: September 29, 2015, 04:09:46 pm
content: Seems as easy to use as the unit itself