PhidgetDataEvent |
A class for data events from Phidget boards.
| PhidgetDataEvent | A class for data events from Phidget boards. |
| Constants | |
| Data Event Types | Pass these constants to the addEventListener() function when adding event listeners to a Phidget object. |
| Properties | |
| Index | Gets the index for this event, for indexed events. |
| Data |
Pass these constants to the addEventListener() function when adding event listeners to a Phidget object.
| ACCELERATION_CHANGE | An acceleration changed. Used by PhidgetAccelerometer. |
| BACKEMF_UPDATE | Fixed rate BackEMF event. Used by PhidgetMotorControl. |
| BRIDGE_DATA | Bridge data is recieved. Used by PhidgetBridge. |
| CODE | An IR code was recieved. Used by PhidgetIR. |
| COUNT | Counts were recieved. used by PhidgetFrequencyCounter. |
| CURRENT_CHANGE | A current changed. Used by PhidgetAdvancedServo, PhidgetMotorControl and PhidgetStepper. |
| CURRENT_UPDATE | Fixed rate current event. Used by PhidgetMotorControl. |
| FIX_CHANGE | A position fix status changed. Used by PhidgetGPS. |
| INPUT_CHANGE | A digital input changed. Used by PhidgetEncoder, PhidgetInterfaceKit, PhidgetMotorControl and PhidgetStepper. |
| LEARN | An IR code was learned. Used by PhidgetIR. |
| OUTPUT_CHANGE | A digital output changed. Used by PhidgetInterfaceKit and PhidgetRFID. |
| PH_CHANGE | A PH changed. Used by PhidgetPHSensor. |
| POSITION_CHANGE | A position changed. Used by PhidgetAdvancedServo, PhidgetEncoder, PhidgetGPS, PhidgetMotorControl, PhidgetServo and PhidgetStepper. |
| POSITION_UPDATE | Fixed rate position event. Used by PhidgetMotorControl. |
| RAW_DATA | Raw data was recieved. Used by PhidgetIR. |
| SENSOR_CHANGE | An analog input changed. Used by PhidgetInterfaceKit. |
| SENSOR_UPDATE | Fixed rate sensor event. Used by PhidgetMotorControl. |
| SPATIAL_DATA | Spatial data was recieved. Used by PhidgetSpatial. |
| TAG | An RFID tag was detected. Used by PhidgetRFID. |
| TAG_LOST | An RFID tag was removed. Used by PhidgetRFID. |
| TEMPERATURE_CHANGE | A temperature changed. Used by PhidgetTemperatureSensor. |
| VELOCITY_CHANGE | A velocity changed. Used by PhidgetAdvancedServo, PhidgetMotorControl and PhidgetStepper. |
| WEIGHT_CHANGE | A weight changed. Used by PhidgetWeightSensor. |
public function get Data():Object
| ACCELERATION_CHANGE | Number |
| CODE | PhidgetIRCode |
| CURRENT_CHANGE | Number |
| INPUT_CHANGE | Boolean |
| LEARN | PhidgetIRLearnedCode |
| OUTPUT_CHANGE | Boolean |
| PH_CHANGE | Number |
| POSITION_CHANGE | Number |
| RAW_DATA | Array or ints |
| SENSOR_CHANGE | int |
| SPATIAL_DATA | PhidgetSpatialEventData |
| TAG | PhidgetRFIDTag |
| TAG_LOST | PhidgetRFIDTag |
| TEMPERATURE_CHANGE | Number |
| VELOCITY_CHANGE | Number |
| WEIGHT_CHANGE | Number |
Gets the index for this event, for indexed events.
public function get Index():int
public function get Data():Object