InoDrive / IO / getOperationalState


InoDrive.IO.getOperationalState()

Get information about the Operational States of the InoDrive Module

Returns: Operational States (Object) This object contains information about the Operational States of the Module including: Module, Network, User Application, Motor, and Regen.

// Import InoDrive API Library
 import { InoDriveApiJS }  from ( "ck-inodrive-api" ) 

// Instatiate the API
let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false })

// Instantiate InoDrive Object
Drive = await InoDriveApi.InoDrive({target:'Name', autoConnect:True})

// Get the Temperature Information
await Drive.IO.getOperationalState()