Products > Test Equipment

Rigol DP832 - Firmware list and bugs

<< < (102/153) > >>

2N3055:
I took one from the forums by[ Stupid Beard on the EEVBlog forums ], which in turn was based on a [bson on the EEVBlog forums] and changed it to run on my DP831.
It runs perfect..

Which one are you using? .. I can take a look at it if you like..

TurboTom:
Thanks 2N3055 -

I used "bson's" script with minor modifications (timeout and later DMM reset disabled). Upon your hint, I switched to "Stupid Beard's" script which showed similar difficulties, yet, as it seemed only regarding the DMM. After that I compared the relevant python files with the ones you patched for your DP831 and found the modifications I made to more or less match yours (some function-wise irrelevant parameters were different). I found out that as soon as I disable the DMM reset, the script works (actually the calibration runs and improves my DP832's accuracy, it's almost spot-on now).

And after all that hassle, the coin dropped...  ::) : I connected the instruments to the PC via USB and not via ethernet (was short of patch cables...)! This probably caused all the difficulties and strange behavior. Anyway, this may be valuable information to others, the calibration with the DM3068 via USB works with "Stupid Beard's" script as long as the DMM reset is disabled in the file "calibrate.py". It would probably work with the reset enabled as well if the SCPI timeout was changed to several seconds, but I had no idea how to do that.

Whatsoever, I was able to calibrate my power supply and I guess I learned a lot on my way there... Thanks to all those who have made this possible!

Cheers,
Thomas

jopl:
Dear TurboTom,
would you be so kind and could you share your final python code?
Thanks, jopl.

TurboTom:
@jopl -

I basically used the calibration script provided by "Stupid Beard" with a few tiny modification applied to match the DM3068 capabilities. In order to get the script to work with the instruments connected via USB, I had to remove the reset instruction for the DM3068. See attached file for the script as I used it. It still terminates with an error message but the calibration of the DP832 works.

Considerable effort is required to provide the proper Python environment to run the script. I used a PC with Intel Core i7 CPU and Windows 7 64bit O/S.

On this system, I installed the "python-3.6.0-amd64.exe" package (have the path environment modified to include Python) and the following extensions (Google is your friend to find and download them):

numpy-1.12.0-cp36-none-win_amd64.whl (install with "pip install numpy-1.12.0-cp36-none-win_amd64.whl")
python-ivi-master.zip (extract and install with "python setup.py install")
python-vxi11-master.zip (extract and install with "python setup.py install")
PyVISA-1.8.tar.gz (extract and install with "python setup.py install")

Moreover, to have the required drivers running, I installed Rigol Ultra Sigma which in turn requires the NI IVI environment, all available for download from Rigol.

So altogether, it's not really straight-forward to get things going, and a different operating system may require some of the files to be replaced by the corresponding ones. If you succeed, it may be interesting for others as well if you post your findings and experiences.

Good luck,
Thomas

Stupid Beard:
I'm glad the script was useful for someone  :)

It could be made a lot simpler to get the python environment setup. I just lost all enthusiasm for updating it once I calibrated my DP832. I suspect that's the problem with all the calibration scripts; you hack it up to get the job done and then you don't care until you have to do it again, at which point you hope everything still just works.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod