# How to use PyVisa or maybe sockets in Ignition to talk to VISA/SCPI device?

**URL:** <https://forum.inductiveautomation.com/t/how-to-use-pyvisa-or-maybe-sockets-in-ignition-to-talk-to-visa-scpi-device/20634>\
**Category:** Ignition\
**Tags:** python, ignition79, scripting\
**Created:** [November 7, 2018, 6:38pm UTC](https://forum.inductiveautomation.com/t/how-to-use-pyvisa-or-maybe-sockets-in-ignition-to-talk-to-visa-scpi-device/20634 "2018-11-07T18:38:01Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![cmaynes](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmaynes/32/6852_2.png) [@cmaynes](https://forum.inductiveautomation.com/u/cmaynes)\
**Post date:** [November 7, 2018, 8:01pm UTC](https://forum.inductiveautomation.com/t/how-to-use-pyvisa-or-maybe-sockets-in-ignition-to-talk-to-visa-scpi-device/20634/3 "2018-11-07T20:01:38Z")

</div>

After looking around a bit, I found that PyVisa has its own implementation of the VISA protocol. This means that it doesn’t need drivers and can operate without them, making PyVisa a viable option since it is pure python code; however, it uses C code - as you mentioned (DLL) - so it won’t work in Jython.

**I did try getting JVisa into Ignition, but it didn’t work. Here were my steps:**

1. Download & extract from site: [https://sourceforge.net/projects/jvisa/](https://sourceforge.net/projects/jvisa/)
2. Go to folder: **JVisa\_and\_JVisaOscilloscope \_2.0\JVisa\lib\64bit**
3. Open command prompt in this directory and run: **pack200 --gzip -E9 JnaVisa64.jar.pack.gz JnaVisa64.jar** to create the **jar.pack.gz** file needed for Ignition
4. Go to folder: **C:\Program Files\Inductive Automation\Ignition\lib\core\common** and paste both the **JnaVisa64 jar and jar.pack.gz files**
5. Close any open designers.
6. Restart Ignition Service: Go to services, right-click, restart. Wait for restart to finish.
7. Open new designer, go to script console, and try: **import jvisa**. It says the library doesn’t exist.

What did I miss?

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-use-pyvisa-or-maybe-sockets-in-ignition-to-talk-to-visa-scpi-device/20634)._
