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¶
- neoRAD-IO2 Product Line
- Installation
- Examples
- Functions
app_is_started()app_start()chain_identify()chain_is_identified()clear_calibration()close()enter_bootloader()find()get_calibration_is_valid()get_chain_count()get_device_type()get_firmware_version()get_hardware_revision()get_manufacturer_date()get_pcbsn()get_serial_number()get_status()is_blocking()is_calibration_stored()is_closed()is_opened()open()read_calibration_array()read_calibration_info()read_calibration_points_array()read_sensor_array()read_sensor_float()read_settings()read_statistics()request_calibration()request_calibration_info()request_calibration_points()request_pcbsn()request_sensor_data()request_settings()request_statistics()set_blocking()store_calibration()toggle_led()toggle_led_successful()write_calibration()write_calibration_points()write_calibration_points_successful()write_calibration_successful()write_default_settings()write_sensor()write_sensor_successful()write_settings()write_settings_successful()
- Classes
CalTypeCommandStateTypeCommandStatusDeviceTypesExceptionExceptionWouldBlockLEDModeNeoradio2DeviceInfoStatusTypeneoRADIO2AOUT_channelConfigneoRADIO2AOUT_headerneoRADIO2Settings_ChannelNameneoRADIO2_PerfStatisticsneoRADIO2_deviceSettingsneoRADIO2_settingsneoRADIO2frame_calHeaderneoRADIO2settings_CAN