VISA runtime: Difference between revisions
Shayan Miri (talk | contribs) No edit summary |
|||
(13 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
In order to use [[GPIB]], [[USBTMC]], or [[TCPIP]], you need to install a visa runtime. This runtime consists of a visa library (typically | In order to use [[GPIB]], [[USBTMC]], or [[TCPIP]], you need to install a visa runtime. This runtime consists of a visa library (typically visa.dll or similar) that will be used to handle the communication with your instruments. | ||
=== Vendors === | === Vendors === | ||
There exist different vendors that have their own runtimes, e.g. | There exist different vendors that have their own visa runtimes, e.g. | ||
* National instruments | * National instruments visa runtime: https://www.ni.com/de-de/support/downloads/drivers/download.ni-visa.html#409839 | ||
* Keysight IO Libraries 18.1.22x 32-Bit Keysight VISA https://www.keysight.com/en/pd-1985909/io-libraries-suite?nid=-33330.977662.00&cc=DE&lc=ger&cmpid=zzfindiosuite | * Keysight IO Libraries 18.1.22x 32-Bit Keysight VISA https://www.keysight.com/en/pd-1985909/io-libraries-suite?nid=-33330.977662.00&cc=DE&lc=ger&cmpid=zzfindiosuite | ||
* Tektronix TEKVISA CONNECTIVITY SOFTWARE https://de.tek.com/oscilloscope/tds7054-software/tekvisa-connectivity-software-v411 | |||
* Rohde&Schwarz RSvisa https://www.rohde-schwarz.com/de/applikationen/r-s-visa-application-note_56280-148812.html | |||
If additional hardware is used, e.g. GPIB adapters, it is recommended to stay with one vendor. | If additional hardware is used, e.g. GPIB adapters, additional drivers must be installed and it is recommended to stay with one vendor. | ||
* Tektronix/Keithley KUSB and KPCI manual: https://de.tek.com/keithley-accessories/test-fixtures-manual/models-kpci-488lpa-and-kusb-488b-reference-manual | |||
Still, it is also possible to install the runtimes of two vendors side-by-side, e.g. as described [https://www.keysight.com/main/editorial.jspx?cc=DE&lc=ger&ckey=2034764&id=2034764&cmpid=zzfindside-by-side-install here]. | |||
=== Troubleshooting === | === Troubleshooting === | ||
Line 14: | Line 19: | ||
* To check whether SweepMe! was able to find a runtime, go to the menu 'Ports' -> 'Port manager'. If there are no error message, everything is alright. | * To check whether SweepMe! was able to find a runtime, go to the menu 'Ports' -> 'Port manager'. If there are no error message, everything is alright. | ||
* SweepMe! is based on python 3.6.8 (32bit) and the library of the visa runtime must have the same 'bitness'. | * SweepMe! is based on python 3.6.8 (32bit) and the library of the visa runtime must have the same 'bitness'. | ||
* If the | * If the visa library (e.g. 'visa32.dll') has not been found, but your are sure that the right file is installed, you can change the path that is used to load the runtime (see below) | ||
* Try to use python 3.6 (32 bit) and pyvisa to see whether it is possible to load the correct visa library: [https://pyvisa.readthedocs.io/en/1.8/getting.html#testing-your-installation Link] | * Try to use python 3.6 (32 bit) and pyvisa to see whether it is possible to load the correct visa library: [https://pyvisa.readthedocs.io/en/1.8/getting.html#testing-your-installation Link] | ||
=== Individual runtime path === | === Individual runtime path === | ||
SweepMe! loads the visa library during the program start. If your visa library is not found, you can add an individual path. As SweepMe! relies on the library pyvisa, you can use the following | SweepMe! loads the visa library during the program start. If your visa library is not found, you can add an individual path. As SweepMe! relies on the library [https://pyvisa.readthedocs.io/en/latest/ pyvisa], you can use the following [https://pyvisa.readthedocs.io/en/1.8/configuring.html link] that describes how to create a configuration file '.pyvisarc' where the path to the visa runtime is given. An example .pyvisarc can be downloaded from the Download section of a SweepMe! account. |
Latest revision as of 09:23, 23 June 2023
In order to use GPIB, USBTMC, or TCPIP, you need to install a visa runtime. This runtime consists of a visa library (typically visa.dll or similar) that will be used to handle the communication with your instruments.
Vendors
There exist different vendors that have their own visa runtimes, e.g.
- National instruments visa runtime: https://www.ni.com/de-de/support/downloads/drivers/download.ni-visa.html#409839
- Keysight IO Libraries 18.1.22x 32-Bit Keysight VISA https://www.keysight.com/en/pd-1985909/io-libraries-suite?nid=-33330.977662.00&cc=DE&lc=ger&cmpid=zzfindiosuite
- Tektronix TEKVISA CONNECTIVITY SOFTWARE https://de.tek.com/oscilloscope/tds7054-software/tekvisa-connectivity-software-v411
- Rohde&Schwarz RSvisa https://www.rohde-schwarz.com/de/applikationen/r-s-visa-application-note_56280-148812.html
If additional hardware is used, e.g. GPIB adapters, additional drivers must be installed and it is recommended to stay with one vendor.
- Tektronix/Keithley KUSB and KPCI manual: https://de.tek.com/keithley-accessories/test-fixtures-manual/models-kpci-488lpa-and-kusb-488b-reference-manual
Still, it is also possible to install the runtimes of two vendors side-by-side, e.g. as described here.
Troubleshooting
- To check whether SweepMe! was able to find a runtime, go to the menu 'Ports' -> 'Port manager'. If there are no error message, everything is alright.
- SweepMe! is based on python 3.6.8 (32bit) and the library of the visa runtime must have the same 'bitness'.
- If the visa library (e.g. 'visa32.dll') has not been found, but your are sure that the right file is installed, you can change the path that is used to load the runtime (see below)
- Try to use python 3.6 (32 bit) and pyvisa to see whether it is possible to load the correct visa library: Link
Individual runtime path
SweepMe! loads the visa library during the program start. If your visa library is not found, you can add an individual path. As SweepMe! relies on the library pyvisa, you can use the following link that describes how to create a configuration file '.pyvisarc' where the path to the visa runtime is given. An example .pyvisarc can be downloaded from the Download section of a SweepMe! account.