vaunix-api

Wrapper around VNX API to control signal generators, attenuators etc by vaunix


Keywords
vaunix, labbrick
License
GPL-2.0+
Install
pip install vaunix-api==0.2

Documentation

Vaunix API

This is a small package to download and wrap the C library of LabBrick signal generators. It can be extended for other LabBrick devices. This package is not affiliated with Vaunix Technology Corporation.

pip install vaunix_api

The required binaries can be downloaded via vaunix_api.lsg.download_lsg_binaries() from vaunix website.

Example:

import vaunix_api.lsg as lsg

api = lsg.VNX_LSG_API.default()

# necessary to refresh device list
api.get_num_devices()

for device_id in api.get_dev_info():
    print(api.get_serial_number(device_id),
          api.get_model_name(device_id),
          lsg.LSGStatus(api.get_device_status(device_id)))