vxi11
— VXI11 driver
This module provides a VXI11 TCP/IP instrument driver.
Functions and Exceptions
-
exception
vxi11.
Vxi11Error
Exception raised on various occasions; argument is a string describing what
is wrong.
-
class
vxi11.
Instrument
(host, name=None, client_id=None, term_char=None)[source]
VXI-11 instrument interface client
-
abort
()[source]
Asynchronous abort
-
ask
(message, num=-1, encoding='utf-8')[source]
Write then read string
-
ask_raw
(data, num=-1)[source]
Write then read binary data
-
clear
()[source]
Send clear command
-
close
()[source]
Close connection
-
local
()[source]
Send local command
-
lock
()[source]
Send lock command
-
open
()[source]
Open connection to VXI-11 instrument
-
read
(num=-1, encoding='utf-8')[source]
Read string from instrument
-
read_raw
(num=-1)[source]
Read binary data from instrument
-
read_stb
()[source]
Read status byte
-
remote
()[source]
Send remote command
-
trigger
()[source]
Send trigger command
-
unlock
()[source]
Send unlock command
-
write
(message, encoding='utf-8')[source]
Write string to instrument
-
write_raw
(data)[source]
Write binary data to instrument