I couldn't open the Phidget Connection in swift iOS.
When I try to open Digital output channel using Power Plug Phidget PSU1000_0 with VINT USB MINI HUB0000_0, I am getting the error as timeout always.
I have added my sample code for reference.
func initPhidgets(){
let ch = DigitalOutput()
do {
try ch.setIsHubPortDevice(true)
try ch.open(timeout: Phidget.defaultTimeout)
try ch.setState(true)
try ch.close()
} catch let error as PhidgetError {
// handle other errors
print("Phidget Error ", error.detail)
}
catch {
// Catch any other errors
}
}