-
Notifications
You must be signed in to change notification settings - Fork 19
Connection
Martin Lim edited this page May 17, 2019
·
2 revisions
- All instruments drivers inherit from yaVISA.py
- yaVISA.py
- default VISA connection.
- Requires installation of VISA driver on local machine
- Typical use:
- HiSlip:
instrument.jav_Open('192.168.1.10')
- Direct:
instrument.jav_openvisa('TCPIP0::192.168.1.10::hislip0')
- HiSlip:
- yaVISA_socket.py
- Replaces VISA open, write, & query methods with socket equivalent.
- To use:
- Delete/rename jaVISA.py
- Rename jaVISA_socket.py to jaVISA.py
- Code will now make socket connections alone.
- Default
instrument.jav_Open('192.168.1.10')
opens w/ port 5025 - Specify port w/
instrument.jav_Open('192.168.1.10',port=100)