Products > Test Equipment
Rigol DP832 - Firmware list and bugs
<< < (129/153) > >>
skander36:
This is the procedure than can be used for manual calibration in case of emergency (attached) .
Try to find the right commands that work for your multimeter or give it a try to LaurentR Mathlab script . At least this will not bork the remaining cal data becuse it has a simulation mode.
JDubU:
The attached Python script is known to work.   It's the same one that has been floating around EEVBlog but has been slightly modified for use with a Keysight 34461A DMM.
Requires Python 3.x with the python-ivi library (https://github.com/phsdv/python-ivi). 
Change the IP addresses at the beginning of calibrate.py to match your DP832 and 34461A.

Also choose which DP832 channel(s) to calibrate for a given run by un-commenting the appropriate line just after the IP address lines:

calibrate_channels = range(1, 4)    # All Channels
#calibrate_channels = range(1, 2)    # Channel 1 only
#calibrate_channels = range(2, 3)    # Channel 2 only
#calibrate_channels = range(3, 4)    # Channel 3 only

I recommend doing one channel at a time.
Gandalf_Sr:
Thanks skander,

I was hoping to calibrate my DP832 in 30 minutes, now I'm off down a rabbit hole of learning Java and PowerShell scripting; not how I was planning to spend my Sunday. Plus I have a messed-up DP832

It's clear that the Java has something weird going on with how it handles the responses from my 34461A as I can issue all the commands from a PowerShell Telnet window but the responses I see when running Java have commands that I thought were sent out as the apparent response - the one command that I've commented out (because it didn't work) is the dmm.send("syst:rem"); although the dmm.send("syst:locl"); actually does work - really stupidly confusing. 

Now I'm looking at writing a PowerShell script that would issue the commands but I'll have to write it all for the DP832 too :(

I don't own or have any knowledge of Mathlab, can I run a free version?
Gandalf_Sr:

--- Quote from: JDubU on March 15, 2020, 05:30:04 pm ---The attached Python script is known to work.   It's the same one that has been floating around EEVBlog but has been slightly modified for use with a Keysight 34461A DMM.
Requires Python 3.x with the python-ivi library (https://github.com/phsdv/python-ivi). 
Change the IP addresses at the beginning of calibrate.py to match your DP832 and 34461A.

Also choose which DP832 channel(s) to calibrate for a given run by un-commenting the appropriate line just after the IP address lines:

calibrate_channels = range(1, 4)    # All Channels
#calibrate_channels = range(1, 2)    # Channel 1 only
#calibrate_channels = range(2, 3)    # Channel 2 only
#calibrate_channels = range(3, 4)    # Channel 3 only

I recommend doing one channel at a time.

--- End quote ---
Thanks, so I'm running Windows 10 64 bit - does Python run in some sort of IDE? Can you please give me a few steps to follow?  I'm code-literate but unfamiliar with Python
JDubU:
When you install Python on Windows 10, it has a very minimal IDE called Idle.  It is just combined text editor and Python command line interpreter (like old fashioned interactive Basic).
A more complete and popular Python IDE is PyCharm (https://www.jetbrains.com/pycharm/download/#section=windows).  You would only need the free, community edition for this.  The advantage of PyCharm is that you can more directly install add in libraries (like python-ivi) by just selecting them from a list in the IDE instead of having to go through GitHub via the Windows 10 cmd console.
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod