I am writing a general interface for Phidgets22 to Helios 1.6 (virtual cockpit software.) So I am trying to support device classes in general without knowing ahead of time what devices the user may have.
Things are going well, but I ran into a problem: An InterfaceKit 8/8/8 reports that it has DigitalOutput. It also return MinDutyCycle = 0 and MaxDutyCycle = 1. However, it doesn't actually support DutyCycle I think, as it throws an exception if I set it to 0.1.
How am I supposed to know from the API that this is not supported? Is it a bug that MaxDutyCycle is set to 1 for devices that actually should just use "State" instead? I realize it supports the values 0 and 1, but it doesn't support any value in between