Products > Test Equipment

Rigol DP832 - Firmware list and bugs

<< < (130/153) > >>

Gandalf_Sr:
JDubU,

So I downloaded Python 3.8.2 From Microsoft and now I have a window that looks like the one below.  It's not clear from the Github IVI driver link in your post what I'm supposed to download from that site or where I'm supposed to put it, likewise for the zip file at the end of your post, where is it supposed to go?  I can't even find a Python folder under Program Files or Program Files (x86) so I'm groping around in the dark here.

Any suggestions would be welcome.

Thanks in advance :D

Gandalf_Sr:

--- Quote from: JDubU on March 15, 2020, 06:04:36 pm ---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.

--- End quote ---
LOL, we cross posted. I'll uninstall the MS one and take the one you suggested.

Gandalf_Sr:
So I installed PyCharm but when I look in the list under plugins, there's no 'Python-ivi' or 'ivi' search results?

Also, what do I do with the directory set of files attached to your post above? Where do I put them?

Thanks.

JDubU:
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.

JDubU:

--- Quote from: Gandalf_Sr on March 15, 2020, 06:14:25 pm ---Also, what do I do with the directory set of files attached to your post above? Where do I put them?

--- End quote ---

The directory can be anywhere in your computer's file system.  The files are just documents that are treated as Python source code (*.py).

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