ad7124¶
- class adi.ad7124.ad7124(uri='', device_index=0)¶
Bases:
adi.rx_tx.rx
,adi.context_manager.context_manager
AD7124 ADC
- channel = []¶
- rx()¶
Receive data from hardware buffers for each channel index in rx_enabled_channels.
- returns: type=numpy.array or list of numpy.array
An array or list of arrays when more than one receive channel is enabled containing samples from a channel or set of channels. Data will be complex when using a complex data device.
- property sample_rate¶
Sets sampling frequency of the AD7124
- property scale_available¶
Provides all available scale(gain) settings for the AD7124 channels
- to_volts(index, val)¶
Converts raw value to SI