Phidget.GetProperty
-------------------

Queries a property for a phidget device.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Phidget](component_Phidget.md) | [13.4](newinversion134.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |

MBS( "Phidget.GetProperty"; PhidgetRef; PropertyName ) 

**MBS**( **"Phidget.GetProperty";** /\* Queries a property for a phidget device. \*/  
**$PhidgetRef**; /\* The reference number for the phidget.e.g. $phidget \*/   
**$PropertyName**) /\* The name of the property to set.e.g. "HeatingEnabled" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PhidgetRef | The reference number for the phidget. | $phidget |
| PropertyName | The name of the property to set. | "HeatingEnabled" |

### Result

Returns value or error.

### Description

Queries a property for a phidget device.  
Please check phidgets documentation about what things which device has and what values are returned.  
  
| All devices | Attached | Boolean |
|---|---|---|
|  | IsLocal | Boolean |
|  | IsChannel | Boolean |
|  | IsRemote | Boolean |
|  | IsHubPortDevice | Boolean |
|  | Channel | Integer |
|  | HubPort | Integer |
|  | HubPortCount | Integer |
|  | DeviceVersion | Integer |
|  | DeviceID | Enum |
|  | ChannelClass | Enum |
|  | ChannelSubclass | Enum |
|  | DeviceClass | Enum |
|  | ServerName | String |
|  | ServerUniqueName | String |
|  | ServerPeerName | String |
|  | ServerHostname | String |
|  | ChannelClassName | String |
|  | ChannelName | String |
|  | DeviceClassName | String |
|  | DeviceName | String |
|  | DeviceSKU | String |
|  | DeviceLabel | String |
|  | DataInterval | UInt32 |
|  | DeviceSerialNumber | Int32 |
|  | Parent | Device Reference Number |
|  | Hub | Device Reference Number |
| Accelerometer | Timestamp | Double |
|  | AccelerationChangeTrigger | Double |
|  | MinAccelerationChangeTrigger | Double |
|  | MaxAccelerationChangeTrigger | Double |
|  | HeatingEnabled | Boolean |
|  | MinDataInterval | UInt32 |
|  | MaxDataInterval | UInt32 |
|  | AxisCount | Integer |
|  | Acceleration | DoubleArray |
|  | MinAcceleration | DoubleArray |
|  | MaxAcceleration | DoubleArray |
| CurrentInput | CurrentChangeTrigger | Double |
|  | MaxCurrentChangeTrigger | Double |
|  | MinCurrentChangeTrigger | Double |
|  | Current | Double |
|  | MinCurrent | Double |
|  | MaxCurrent | Double |
|  | MinDataInterval | UInt32 |
|  | PowerSupply | Enum |
| CurrentOutput | Current | Double |
|  | MaxCurrent | Double |
|  | MinCurrent | Double |
|  | Current | Double |
|  | MaxFailsafeTime | UInt32 |
|  | MinFailsafeTime | UInt32 |
| DCMotor | Acceleration | Double |
|  | BackEMF | Double |
|  | BackEMFSensingState | Integer |
|  | BrakingStrength | Double |
|  | CurrentLimit | Double |
|  | CurrentRegulatorGain | Double |
|  | FanMode | Enum |
|  | MaxAcceleration | Double |
|  | MaxBrakingStrength | Double |
|  | MaxCurrentLimit | Double |
|  | MaxCurrentRegulatorGain | Double |
|  | MaxDataInterval | UInt32 |
|  | MaxFailsafeTime | UInt32 |
|  | MaxVelocity | Double |
|  | MinAcceleration | Double |
|  | MinBrakingStrength | Double |
|  | MinCurrentLimit | Double |
|  | MinCurrentRegulatorGain | Double |
|  | MinDataInterval | UInt32 |
|  | MinFailsafeTime | UInt32 |
|  | MinVelocity | Double |
|  | TargetBrakingStrength | Double |
|  | TargetVelocity | Double |
|  | Velocity | Double |
| DigitalInput | InputMode | Enum |
|  | PowerSupply | Enum |
|  | State | Integer |
| DigitalOutput | DutyCycle | Double |
|  | Frequency | Double |
|  | LEDCurrentLimit | Double |
|  | LEDForwardVoltage | Enum |
|  | MaxDutyCycle | Double |
|  | MaxFailsafeTime | UInt32 |
|  | MaxFrequency | Double |
|  | MaxLEDCurrentLimit | Double |
|  | MinDutyCycle | Double |
|  | MinFailsafeTime | UInt32 |
|  | MinFrequency | Double |
|  | MinLEDCurrentLimit | Double |
|  | State | Integer |
| DistanceSensor | SonarQuietMode | Boolean |
|  | DistanceChangeTrigger | UInt32 |
|  | Distance | UInt32 |
|  | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
|  | MaxDistanceChangeTrigger | UInt32 |
|  | MinDistanceChangeTrigger | UInt32 |
|  | MaxDistance | UInt32 |
|  | MinDistance | UInt32 |
| Encoder | Enabled | Boolean |
|  | MinDataInterval | UInt32 |
|  | MaxDataInterval | UInt32 |
|  | IndexPosition | Int64 |
|  | Position | Int64 |
|  | IOMode | Enum |
|  | PositionChangeTrigger | UInt32 |
|  | MinPositionChangeTrigger | UInt32 |
|  | MaxPositionChangeTrigger | UInt32 |
| FrequencyCounter | Count | UInt64 |
|  | Enabled | Boolean |
|  | FilterType | Enum |
|  | FrequencyCutoff | Double |
|  | Frequency | Double |
|  | InputMode | Enum |
|  | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
|  | MaxFrequency | Double |
|  | MinFrequencyCutoff | Double |
|  | MaxFrequencyCutoff | Double |
|  | TimeElapsed | Double |
|  | PowerSupply | Enum |
| GPS | Altitude | Double |
|  | Heading | Double |
|  | Latitude | Double |
|  | Longitude | Double |
| LCD | Backlight | Double |
|  | MinBacklight | Double |
|  | MaxBacklight | Double |
|  | Contrast | Double |
|  | MinContrast | Double |
|  | MaxContrast | Double |
|  | CursorBlink | Integer |
|  | CursorOn | Integer |
|  | FrameBuffer | Integer |
|  | Width | Integer |
|  | Height | Integer |
|  | Sleeping | Integer |
|  | ScreenSize | Enum |
| Gyroscope | AngularRate | DoubleArray |
|  | MinAngularRate | DoubleArray |
|  | MaxAngularRate | DoubleArray |
|  | AxisCount | Integer |
|  | MinDataInterval | UInt32 |
|  | MaxDataInterval | UInt32 |
|  | HeatingEnabled | Boolean |
|  | Timestamp | Double |
|  | MinDataRate | Double |
|  | MaxDataRate | Double |
| CapacitiveTouch | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
|  | Sensitivity | Double |
|  | MinSensitivity | Double |
|  | MaxSensitivity | Double |
|  | IsTouched | Boolean |
|  | TouchValue | Double |
|  | MinTouchValue | Double |
|  | MaxTouchValue | Double |
|  | TouchValueChangeTrigger | Double |
|  | MinTouchValueChangeTrigger | Double |
|  | MaxTouchValueChangeTrigger | Double |
| HumiditySensor | Humidity | Double |
|  | MinHumidity | Double |
|  | MaxHumidity | Double |
|  | HumidityChangeTrigger | Double |
|  | MinHumidityChangeTrigger | Double |
|  | MaxHumidityChangeTrigger | Double |
|  | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
| LightSensor | Illuminance | Double |
|  | MaxIlluminance | Double |
|  | MinIlluminance | Double |
|  | IlluminanceChangeTrigger | Double |
|  | MaxIlluminanceChangeTrigger | Double |
|  | MinIlluminanceChangeTrigger | Double |
|  | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
| Magnetometer | AxisCount | Integer |
|  | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
|  | HeatingEnabled | Boolean |
|  | MagneticField | DoubleArray |
|  | MinMagneticField | DoubleArray |
|  | MaxMagneticField | DoubleArray |
|  | MagneticFieldChangeTrigger | Double |
|  | MinMagneticFieldChangeTrigger | Double |
|  | MaxMagneticFieldChangeTrigger | Double |
|  | Timestamp | Double |
| PHSensor | CorrectionTemperature | Double |
|  | MinCorrectionTemperature | Double |
|  | MaxCorrectionTemperature | Double |
|  | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
|  | PH | Double |
|  | MinPH | Double |
|  | MaxPH | Double |
|  | PHChangeTrigger | Double |
|  | MinPHChangeTrigger | Double |
|  | MaxPHChangeTrigger | Double |
| PowerGuard | OverVoltage | Double |
|  | MaxOverVoltage | Double |
|  | MinOverVoltage | Double |
|  | FanMode | Enum |
|  | PowerEnabled | Boolean |
|  | MaxFailsafeTime | UInt32 |
|  | MinFailsafeTime | UInt32 |
| PressureSensor | Pressure | Double |
|  | MinPressure | Double |
|  | MaxPressure | Double |
|  | PressureChangeTrigger | Double |
|  | MinPressureChangeTrigger | Double |
|  | MaxPressureChangeTrigger | Double |
|  | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
| RCServo | Acceleration | Double |
|  | MaxAcceleration | Double |
|  | MaxPosition | Double |
|  | MaxPulseWidthLimit | Double |
|  | MaxPulseWidth | Double |
|  | MaxTorque | Double |
|  | MaxVelocityLimit | Double |
|  | MinAcceleration | Double |
|  | MinPosition | Double |
|  | MinPulseWidthLimit | Double |
|  | MinPulseWidth | Double |
|  | MinTorque | Double |
|  | MinVelocityLimit | Double |
|  | Position | Double |
|  | TargetPosition | Double |
|  | Torque | Double |
|  | VelocityLimit | Double |
|  | Velocity | Double |
|  | SpeedRampingState | Integer |
|  | Voltage | Enum |
|  | Engaged | Boolean |
|  | IsMoving | Boolean |
|  | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
|  | MaxFailsafeTime | UInt32 |
|  | MinFailsafeTime | UInt32 |
| ResistanceInput | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
|  | Resistance | Double |
|  | MinResistance | Double |
|  | MaxResistance | Double |
|  | ResistanceChangeTrigger | Double |
|  | MinResistanceChangeTrigger | Double |
|  | MaxResistanceChangeTrigger | Double |
|  | RTDWireSetup | Enum |
| RFID | AntennaEnabled | Boolean |
|  | TagPresent | Boolean |
| SoundSensor | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
|  | dB | Double |
|  | MaxdB | Double |
|  | dBA | Double |
|  | dBC | Double |
|  | NoiseFloor | Double |
|  | SPLChangeTrigger | Double |
|  | MinSPLChangeTrigger | Double |
|  | MaxSPLChangeTrigger | Double |
|  | SPLRange | Enum |
| Spatial | AlgorithmMagnetometerGain | Double |
|  | Algorithm | Enum |
|  | HeatingEnabled | Integer |
|  | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
| Stepper | Acceleration | Double |
|  | ControlMode | Enum |
|  | CurrentLimit | Double |
|  | Engaged | Boolean |
|  | HoldingCurrentLimit | Double |
|  | IsMoving | Boolean |
|  | MaxAcceleration | Double |
|  | MaxCurrentLimit | Double |
|  | MaxDataInterval | UInt32 |
|  | MaxFailsafeTime | UInt32 |
|  | MaxPosition | Double |
|  | MaxVelocityLimit | Double |
|  | MinAcceleration | Double |
|  | MinCurrentLimit | Double |
|  | MinDataInterval | UInt32 |
|  | MinFailsafeTime | UInt32 |
|  | MinPosition | Double |
|  | MinVelocityLimit | Double |
|  | Position | Double |
|  | RescaleFactor | Double |
|  | TargetPosition | Double |
|  | VelocityLimit | Double |
|  | Velocity | Double |
| TemperatureSensor | MaxDataInterval | UInt32 |
|  | MinDataInterval | UInt32 |
|  | RTDType | Enum |
|  | RTDWireSetup | Enum |
|  | Temperature | Double |
|  | MinTemperature | Double |
|  | MaxTemperature | Double |
|  | TemperatureChangeTrigger | Double |
|  | MinTemperatureChangeTrigger | Double |
|  | MaxTemperatureChangeTrigger | Double |
|  | ThermocoupleType | Enum |
| VoltageInput | MinDataInterval | UInt32 |
|  | MaxDataInterval | UInt32 |
|  | PowerSupply | Enum |
|  | SensorType | Enum |
|  | SensorValue | Double |
|  | Voltage | Double |
|  | MinVoltage | Double |
|  | MaxVoltage | Double |
|  | VoltageChangeTrigger | Double |
|  | MinVoltageChangeTrigger | Double |
|  | MaxVoltageChangeTrigger | Double |
|  | VoltageRange | Enum |
|  | SensorValueChangeTrigger | Double |
|  | SensorUnit | SensorUnit |
| VoltageOutput | Enabled | Boolean |
|  | MinFailsafeTime | UInt32 |
|  | MaxFailsafeTime | UInt32 |
|  | Voltage | Double |
|  | MinVoltage | Double |
|  | MaxVoltage | Double |
|  | VoltageOutputRange | Enum |
| VoltageRatioInput | BridgeEnabled | Boolean |
|  | BridgeGain | Enum |
|  | MaxDataInterval | UInt32 |
|  | MaxVoltageRatioChangeTrigger | Double |
|  | MaxVoltageRatio | Double |
|  | MinDataInterval | UInt32 |
|  | MinVoltageRatioChangeTrigger | Double |
|  | MinVoltageRatio | Double |
|  | SensorType | Enum |
|  | SensorUnit | SensorUnit |
|  | SensorValueChangeTrigger | Double |
|  | SensorValue | Double |
|  | VoltageRatioChangeTrigger | Double |
|  | VoltageRatio | Double |
| MotorPositionController | Acceleration | Double |
|  | CurrentLimit | Double |
|  | CurrentRegulatorGain | Double |
|  | DeadBand | Double |
|  | DutyCycle | Double |
|  | Engaged | Boolean |
|  | FanMode | Enum |
|  | IOMode | Enum |
|  | Kd | Double |
|  | Ki | Double |
|  | Kp | Double |
|  | MaxAcceleration | Double |
|  | MaxCurrentLimit | Double |
|  | MaxCurrentRegulatorGain | Double |
|  | MaxDataInterval | UInt32 |
|  | MaxFailsafeTime | UInt32 |
|  | MaxPosition | Double |
|  | MaxStallVelocity | Double |
|  | MaxVelocityLimit | Double |
|  | MinAcceleration | Double |
|  | MinCurrentLimit | Double |
|  | MinCurrentRegulatorGain | Double |
|  | MinDataInterval | UInt32 |
|  | MinFailsafeTime | UInt32 |
|  | MinPosition | Double |
|  | MinStallVelocity | Double |
|  | MinVelocityLimit | Double |
|  | Position | Double |
|  | RescaleFactor | Double |
|  | StallVelocity | Double |
|  | TargetPosition | Double |
|  | VelocityLimit | Double |
| BLDCMotor | Acceleration | Double |
|  | MinAcceleration | Double |
|  | MaxAcceleration | Double |
|  | BrakingStrength | Double |
|  | MinBrakingStrength | Double |
|  | MaxBrakingStrength | Double |
|  | MinDataInterval | UInt32 |
|  | MaxDataInterval | UInt32 |
|  | MinFailsafeTime | UInt32 |
|  | MaxFailsafeTime | UInt32 |
|  | Position | Double |
|  | MinPosition | Double |
|  | MaxPosition | Double |
|  | RescaleFactor | Double |
|  | StallVelocity | Double |
|  | MinStallVelocity | Double |
|  | MaxStallVelocity | Double |
|  | TargetVelocity | Double |
|  | TargetBrakingStrength | Double |
|  | MinVelocity | Double |
|  | MaxVelocity | Double |
| LEDArray | MaxAddress | UInt32 |
|  | MaxAnimationID | Integer |
|  | MaxAnimationPatternCount | UInt32 |
|  | MaxBrightness | Double |
|  | MaxFadeTime | UInt32 |
|  | MaxGamma | UInt32 |
|  | MaxLEDCount | UInt32 |
|  | MinAddress | UInt32 |
|  | MinAnimationID | Integer |
|  | MinAnimationPatternCount | UInt32 |
|  | MinBrightness | Double |
|  | MinFadeTime | UInt32 |
|  | MinGamma | UInt32 |
|  | MinLEDCount | UInt32 |
|  | PowerEnabled | Boolean |
|  | Brightness | Double |
|  | Gamma | Double |
|  | ColorOrder | Integer |

  
Integer: Number  
UInt32 and UInt64: unsigned number &gt;= 0  
Double: Floating point Number  
String: Some text  
Enum: Numeric value with special meaning.  
Boolean: Value 1 for true and 0 for false.  
### Examples

Query backlight and contrast for LCD device:

 Set Field \[ Phidget LCD::BackLight ; MBS ("Phidget.GetProperty"; $$phidget ; "Backlight") \]   
Set Field \[ Phidget LCD::Contrast ; MBS ("Phidget.GetProperty"; $$phidget ; "Contrast") \]  
Query device name:

 Set Variable \[ $DeviceName ; MBS ( "Phidget.GetProperty"; $Phidget ; "DeviceName" ) \]  
### See also

- [Phidget.SetProperty](PhidgetSetProperty.md)

### Release notes

- **Version 16.2**
    - Added MinDataRate and MaxDataRate properties for [Phidget.GetProperty](https://www.mbsplugins.eu/PhidgetGetProperty.shtml) function.
- **Version 15.0**
    - Added MinDataInterval, MaxDataInterval, DataRate, MinDataRate, MaxDataRate and isOpen as property names for [Phidget.GetProperty](https://www.mbsplugins.eu/PhidgetGetProperty.shtml) function.

### Example Databases

- [Phidgets/Phidget Barometer](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Phidgets/Phidget%20Barometer.shtml#4ScriptAnchor_)
- [Phidgets/Phidget Digital Outputs](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Phidgets/Phidget%20Digital%20Outputs.shtml#4ScriptAnchor_)
- [Phidgets/Phidget Distance Sensor](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Phidgets/Phidget%20Distance%20Sensor.shtml#4ScriptAnchor_)
- [Phidgets/Phidget IR Receiver](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Phidgets/Phidget%20IR%20Receiver.shtml#4ScriptAnchor_)
- [Phidgets/Phidget LCD](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Phidgets/Phidget%20LCD.shtml#8ScriptAnchor_)
- [Phidgets/Phidget Light Sensor](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Phidgets/Phidget%20Light%20Sensor.shtml#4ScriptAnchor_)
- [Phidgets/Phidget Temperator Sensor](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Phidgets/Phidget%20Temperator%20Sensor.shtml#4ScriptAnchor_)
- [Phidgets/Phidget Voltage Input](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Phidgets/Phidget%20Voltage%20Input.shtml#4ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 16.2pr2](https://www.mbsplugins.de/archive/2026-04-13/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 14.6pr6](https://www.mbsplugins.de/archive/2024-12-19/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin Advent calendar: 10 - Phidgets](https://www.mbsplugins.de/archive/2023-12-10/MBS_Plugin_Advent_calendar_10_/monkeybreadsoftware_blog_filemaker)
- [News in MBS FileMaker Plugin 13.4](https://www.mbsplugins.de/archive/2023-09-20/News_in_MBS_FileMaker_Plugin_1/monkeybreadsoftware_blog_filemaker)

Created 16th August 2023 , last changed 11st April 2026

  
[Phidget.Flush](PhidgetFlush.md) - [Phidget.GetTag](PhidgetGetTag.md)

[HTML Version](PhidgetGetProperty.shtml)