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.

Instrument class

class vxi11.Instrument(host, name=None, client_id=None, term_char=None)

VXI-11 instrument interface client

abort()

Asynchronous abort

ask(message, num=-1, encoding='utf-8')

Write then read string

ask_raw(data, num=-1)

Write then read binary data

clear()

Send clear command

close()

Close connection

local()

Send local command

lock()

Send lock command

open()

Open connection to VXI-11 instrument

read(num=-1, encoding='utf-8')

Read string from instrument

read_raw(num=-1)

Read binary data from instrument

read_stb()

Read status byte

remote()

Send remote command

trigger()

Send trigger command

unlock()

Send unlock command

write(message, encoding='utf-8')

Write string to instrument

write_raw(data)

Write binary data to instrument

Table Of Contents

Previous topic

Python VXI11 Examples

Next topic

Appendix

This Page