InoDrive / sysControl / getModuleInfo
InoDrive.SysControl.getModuleInfo()
Get Advance Module and Motor Information.
Returns: Module State (Object):
• Module (Object): Module Firmware and PCB Information.
• Network (Object): Reserved Network Information.
• User_app (Object): Print from UserApp to Watch Window Console Enabled.
• Motor (Object): Reserved Motor Information.
• Webpage (Object): Internal Webpage Version.
• IO (Object): Module Output Control Enabled.
// Import InoDrive API Library import { InoDriveApiJS } from "ck-inodrive-api" // Instatiate the API let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false }) // Instantiate InoDrive Object let Drive = await InoDriveApi.InoDrive({ target: "Name", autoConnect: true }) // Get Current State of the Module await Drive.SysControl.getModuleInfo()