neoradio2 1.4.1

neoradio2 is the Python binding for libneoradio2, the library for communicating with the Intrepid Control Systems neoRAD-IO2 family of ruggedized, isolated analog / digital / temperature DAQ devices.

Install it with:

pip install neoradio2

Quick example

import neoradio2

# Enumerate and open every attached neoRAD-IO2 device
for device in neoradio2.find():
    print(device)
    handle = neoradio2.open(device)

    # Identify the chain, then start the application firmware
    neoradio2.chain_identify(handle)
    neoradio2.app_start(handle, 0, 0xFF)

    # Read bank 0 of device 0
    neoradio2.request_sensor_data(handle, 0, 0xFF, neoradio2.CalType.ENABLED)
    print(neoradio2.read_sensor_float(handle, 0, 0))

    neoradio2.close(handle)

Contents

Indices