For about a month now, we’ve been testing the SweepMe software in our department with a view to possibly using it for an upcoming new hardware purchase. So far, we’ve successfully connected three different devices and performed measurements, and overall we’ve been quite satisfied with the software.
Unfortunately, about two weeks ago, we experienced a problem similar to the one BMTUB (Benjamin) had already described in November:
The GPIB ports were no longer listed within the GUI. Devices with a LAN connection, however, were still recognized.
Since no changes were made to the VISA drivers at that time, and the measurements had been working previously, we do not believe the issue lies with the VISA driver itself. The .DLL files in the respective folders were also last modified before the initial installation of SweepMe.
Unfortunately, uninstalling and reinstalling the software did not resolve the issue. The same applies to an update of the SweepMe software.
We were also able to rule out a pyvisa issue, since the resources for the GPIB connections are recognized correctly and completely. Communication with the devices via pyvisa outside of SweepMe is also possible (gpib_pyvisa.py, Find_port_sweepme.py for the SweepMe folders and self written trest scripts).
One possibility we suspect is that the list of GPIB connections is no longer being passed within the GUI program.
Is there a way to check this, or do you have any other ideas on how to restore the system to its original state after inital nstallation?
Please test the scripts gpib_pyvisa.py and visa_debug_info.py.
If you run them, the output is shown in the Debug widget (key F2).
Can you send the output. It will be interesting to see which VISA runtime is detected and whether the script can find GPIB ports. You can also modify the script to show all VISA resources (not just GPIB).
Maybe this already helps us to figure out.
You could also cross-check whether there is any python script or other application that is maybe already holding direct accces to the GPIB ports.
If this does not give us a clue, I can offer you to meet in a video meeting and debug it together as this is a severe issue that should not happen and we have big interest to figure out what is going on.
Thank you very much for your quick response and the tip to run the script via your SweepMe Console!
It actually seems that the Python versions themselves differ between SweepMe and VS Code, where I had tested the scripts previously. Also the absolute path of the Executable is different as well as the Compiler.
As a result, the PyVisa version isn’t recognized in SweepMe.
Is there a way to make PyVisa accessible to the SweepMe software retroactively, or should we move PyVisa to a virtual environment for “external use” and install SweepMe again?
Thanks again for the great advice! I think we’re getting closer to a solution.
SweepMe! comes with its own Python environment including a matching pyvisa version. So, it does not rely on your own Python or pyvisa installation.
The fact that the Pyvisa version is not shown in SweepMe! is expected. When pyvisa is shipped it with an executable, its version number is not correctly determined. It think this is because the version number is dynamically created that breaks in executables:
From the credits file of SweepMe! 1.5.8.8. it should be version 1.13.0.
Independent from the missing pyvisa version number, the script can find a visa32.dll file at C:\Windows\system32
which is the same path and file that you have in your Python 3.14 environment. That is already good.
What you could try as well:
When you click “Find ports” in a module, do you see any debug message?
When go to “Tools” → “Port manager” → button “Find all ports”, do you see any debug message?
I don’t think that is a problem of SweepMe! 1.5.8 or its pyvisa version as it runs at other setups with no problems. If pyvisa would not work at all, you would also not see any TCPIP connections.
Still, there is something that hides GPIB ports at your setup. If the above questions do not help, we should have a short video meeting and check your setup. I will send you a message.
When go to “Tools” → “Port manager” → button “Find all ports”, do you see any debug message?
Noting happens at clicking
No debug message
We just have released a closed beta of SweepMe! 1.6 that comes with Python 3.14. SweepMe! 1.6 Beta: The Test Phase Is Starting
Could you download this version from the account and test it? It also comes with a newer pyvisa version.
LCR-Module was needed to reinstall
After doing this the test for LCR-Meter GPIB-Connection was working
thanks a lot for performing the tests. It is nice that it works with the new version, but still strange that 1.5.8.8 has the problem at your setup.
If you are about to get started with SweepMe! and you are setting up first measurements, you can go ahead with SweepMe! 1.6.
I don’t expect any breaks in your setting files when you later install the released version of SweepMe! 1.6.
And we anyway plan to release it in the beginning of September and just do some fine adjustments and further testing. Any feedback is of course welcome.