| Products > Test Equipment |
| Rigol DP832 - Firmware list and bugs |
| << < (131/153) > >> |
| skander36:
--- Quote from: Gandalf_Sr on March 15, 2020, 05:36:48 pm ---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? --- End quote --- Yes it can be downloaded as trial version ,as I was doing . I was also try script from JDubU in python but I cannot make python-ivi to work . This is the dark side of open-source everyone has own version of the same thing but they work different . I have Py-Charm and Visual Studio Code installed and I have used Python scripts to connect succesfully to Rigol oscilloscope . Until now I managed to install all kind of packages in Py-Charm but at those scripts with Python-Visa I give up . Good luck ! |
| Gandalf_Sr:
--- Quote from: JDubU on March 15, 2020, 06:35:15 pm ---You're right, it's not obvious! With calibrate.py opened in PyCharm, click on menu item: File > Settings... Select Project: calibrate.py on the left hand side of the Settings window and then select Project Interpreter. In the drop down list at the top either select your version of Python or add it using the "gear" button on the right. Now you will see a list of all of the library packages that are already installed in that particular version of Python. Click the '+' button on the top right to see a list of all other available packages. Select to install python-ivi and python-vxi11. You may need to add others if they are needed as dependents of installed packages. You will find out when you try to run the program and it crashes saying it cannot find something. --- End quote --- I put your files in a folder and opened calibrate.py but, following your instructions above, the PyCharm menu systems can't find any interpreters. Was I supposed to download one separately to PyCharm or did PyCharm put it somewhere that it needs to be told? |
| JDubU:
You'll need to install Python 3 separately: https://www.python.org/downloads/windows/ |
| JDubU:
I just tried to test the Python program from a fresh install and discovered a problem with the official python-ivi package on GitHub. The repository that can be downloaded is actually an older one that does not include the newer 34461A and 34465A instruments additions (despite what the notes on the page say). I have reconstructed those files and attached them below as a zip file. Unzip these files and copy/replace them into the following (default) Python 3 folder: C:\Users\<USER NAME>\AppData\Local\Programs\Python\Python<VERSION>\Lib\site-packages\ivi\agilent Where <USER NAME> and <VERSION> are specific to your Windows user name and Python version number In PyCharm, you will need to clear its file cache in order to see the new files. Do this by clicking on menu item File > Invalidate Caches / Restart. It now works for me on this fresh install. Edit: The user installed packages that you will need are: python-ivi (modified with the attached files) python-vxi11 numpy |
| skander36:
pip3 install python-vxi11 This was missing from my setup ... The script work with Siglent 3065X but cannot switch from Volt DC to Amp DC , but if you manually switch the callibration is done ! I need only to find why is not switching . Thank you JDubU ! |
| Navigation |
| Message Index |
| Next page |
| Previous page |