02-10-2025 05:24 AM
Hi there,
I'm developing a python (tkinter) app, that is supposed to communicate and control measurement devices. for example, I'm working with Tektronix DPO2024B.
For this purpose, I'm using pyvisa, based on the NI-VISA backend which needs to be installed after logging in to your account on the NI site.
My question is, if I want to distribute the app I'm developing that relies on NI-VISA, to other people in my organization, is there a way to include/bundle the necessary VISA backend files and components with the app itself, such that a new end-user won't need to go through the installation process? Is there maybe a more "barebones" installation? an installation or other method that don't require creating an NI user? or a way to perform a silent installation of the VISA runtime?
Thanks.
02-10-2025 08:47 AM
If you're using in an organization, ensure that there is some NI HW involved when using NI VISA as its licensing terms states it is illegal to use it without a proper license or NI HW.
You can purchase a license - https://www.ni.com/en-us/shop/product/ni-visa.html
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7OLSA0&l=en-US
https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Info-NI-VISA/td-p/4247547
The use case you're describing is called a redistributable which means you can bundle something that is an IP of another along with your application. AFAIK, no, you cannot redistribute, on the other hand, though you can automate the installation of VISA silently, the end-user must login so NI can know who is using their software.
https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Redistributing-VISA-Library/td-p/39169