PhidgetAnalog

PhidgetAnalog

A class for controlling a PhidgetAnalog.  See your product manual for more specific API details, supported functionality, units, etc.

Summary
PhidgetAnalogA class for controlling a PhidgetAnalog.
Properties
OutputCountGets the number of outputs supported by this PhidgetAnalog
Functions
getVoltageMinGets the minimum settable voltage for an output.
getVoltageMaxGets the maximum settable voltage for an output.
getEnabledGets the enabled state of an output.
getVoltageGets the voltage of an output.
setVoltageSets the voltage for an output.
setEnabledEnables/Disables an output.

Properties

OutputCount

public function get OutputCount():int

Gets the number of outputs supported by this PhidgetAnalog

Functions

getVoltageMin

public function getVoltageMin(index: int):Number

Gets the minimum settable voltage for an output.

Parameters

indexoutput index

getVoltageMax

public function getVoltageMax(index: int):Number

Gets the maximum settable voltage for an output.

Parameters

indexoutput index

getEnabled

public function getEnabled(index: int):Boolean

Gets the enabled state of an output.

Parameters

indexoutput index

getVoltage

public function getVoltage(index: int):Number

Gets the voltage of an output.

Parameters

indexoutput index

setVoltage

public function setVoltage(index: int,
val: Number):void

Sets the voltage for an output.

Parameters

indexoutput index
valvoltage

setEnabled

public function setEnabled(index: int,
val: Boolean):void

Enables/Disables an output.

Parameters

indexotuput index
valstate
Base Phidget class from which all specific device classes inherit.
public function get OutputCount():int
Gets the number of outputs supported by this PhidgetAnalog
public function getVoltageMin(index: int):Number
Gets the minimum settable voltage for an output.
public function getVoltageMax(index: int):Number
Gets the maximum settable voltage for an output.
public function getEnabled(index: int):Boolean
Gets the enabled state of an output.
public function getVoltage(index: int):Number
Gets the voltage of an output.
public function setVoltage(index: int,
val: Number):void
Sets the voltage for an output.
public function setEnabled(index: int,
val: Boolean):void
Enables/Disables an output.
Close