PhidgetAnalog |
A class for controlling a PhidgetAnalog. See your product manual for more specific API details, supported functionality, units, etc.
| PhidgetAnalog | A class for controlling a PhidgetAnalog. |
| Properties | |
| OutputCount | Gets the number of outputs supported by this PhidgetAnalog |
| Functions | |
| getVoltageMin | Gets the minimum settable voltage for an output. |
| getVoltageMax | Gets the maximum settable voltage for an output. |
| getEnabled | Gets the enabled state of an output. |
| getVoltage | Gets the voltage of an output. |
| setVoltage | Sets the voltage for an output. |
| setEnabled | Enables/Disables an output. |
Gets the number of outputs supported by this PhidgetAnalog
public function get OutputCount():int
Gets the minimum settable voltage for an output.
public function getVoltageMin( index: int ):Number
Gets the maximum settable voltage for an output.
public function getVoltageMax( index: int ):Number
Gets the enabled state of an output.
public function getEnabled( index: int ):Boolean
Gets the voltage of an output.
public function getVoltage( index: int ):Number
Sets the voltage for an output.
public function setVoltage( index: int, val: Number ):void
Enables/Disables an output.
public function setEnabled( index: int, val: Boolean ):void