Welcome to Instruments.jl’s documentation!

Instruments.jl enables instrument control from Julia. A minimal session might look like:

using Instruments

uwSource = GenericInstrument()
connect!(uwSource, "GPIB0::28::INSTR")
query(uwSource, "*IDN?") # prints "Rohde&Schwarz,SMIQ...."
disconnect!(uwSource)

The Instrument.jl wraps a VISA library to provide instrument communications over the usual interfaces of GPIB, TCPIP, USB and RS232. In addition it provides types and macros to make it easy to write your own custom driver for a particular instrument.

Contents:

Installation

Instruments.jl is available from the Julia package repository and can be installed with:

Pkg.add("Instruments")

NI-VISA

Instruments.jl uses a C VISA library under the hood. The only one it has been tested with is the National Instruments implementation NI-VISA. Fortunately, this is available for all platforms.

Footnotes

[1]There is some hope this annoying restriction will go away shortly as NI have a pre-release version with 64 bit support (forum post).

Indices and tables