This documentation supports the latest PCIe host firmware, the latest OpenEphys.Onix1 package, and Bonsai 2.9+.

Table of Contents

AnalogInputDataFrame

Buffered analog data produced by the ONIX breakout board.

Properties

Property Type Description
AnalogData Mat

Gets the buffered analog data array.

Analog samples are organized in 12xN matrix with rows representing channel number and N columns representing samples acquired at 100 kHz. Each column is a 12-channel vector of ADC samples whose acquisition time is indicated by the corresponding elements in Clock and HubClock. When DataType is set to Volts, each sample is internally converted to a voltage value and represented using a float. When DataType is set to S16, each 16-bit ADC sample is represented as a short. In this case, the following equation can be used to convert a sample to volts:

Channel Voltage (V) = ADC Sample × (Input Span / 2^16)

where Input Span is 5V, 10V, or 20V when the AnalogIOVoltageRange is set to ±2.5V, ±5V, or ±10V, respectively. Note that AnalogIOVoltageRange can be set independently for each channel in AnalogIO. Therefore, the conversion factor may be different for each channel.

Clock ulong[]

Gets the buffered array of Clock values.

HubClock ulong[]

Gets the buffered array of HubClock values.