Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.79 KB

File metadata and controls

23 lines (19 loc) · 1.79 KB

ChannelData

Definition

A class used to store data in a simple accessible object from a SpikeSafe's Memory Table Read response.

Attributes

Name Description
channel_number Channel number.
current_reading Channel current reading.
is_on_state Channel on state.
voltage_reading Channel voltage reading.

Methods

Name Description
parse_channel_data Parses one channel portion of a memory-table response into the current object.
current_reading_amps_formatted_float(self) Return the current reading formatted to matching hardware decimal places.
current_reading_amps_formatted_string(self) Return the current reading formatted to matching hardware decimal places.
voltage_reading_volts_formatted_float(self) Return the voltage reading formatted to matching hardware decimal places.
voltage_reading_volts_formatted_string(self) Return the voltage reading formatted to matching hardware decimal places.