Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.62 KB

File metadata and controls

22 lines (18 loc) · 1.62 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
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.