InoDrive / IO / get_metrics
Get Metrics information from the InoDrive Module
InoDrive.IO.get_metrics(self)
Arguments:
• self (Object): Reference to InoDrive IO Instance.
Returns: Metrics (Object) The returned object contains multiple objects, with information on the Module Temperatures, States of Ethernet Ports, Operational States of the Module, Input Voltage, and whether or not the reading of the object has been successful. Seeking more specific information? Utilize methods like Drive.IO.get_input_voltage.
import CkInoDriveAPI # Instantiate InoDrive Object and Connect by Name Drive = CkInoDriveAPI.InoDrive(target='Name', autoConnect=True) // Get the Metrics Information Drive.IO.get_metrics()