Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Phidget.GetProperty

Queries a property for a phidget device.

Component Version macOS Windows Linux Server iOS SDK
Phidget 13.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "Phidget.GetProperty"; PhidgetRef; PropertyName )   More

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 devicesAttachedBoolean
IsLocalBoolean
IsChannelBoolean
IsRemoteBoolean
IsHubPortDeviceBoolean
ChannelInteger
HubPortInteger
HubPortCountInteger
DeviceVersionInteger
DeviceIDEnum
ChannelClassEnum
ChannelSubclassEnum
DeviceClassEnum
ServerNameString
ServerUniqueNameString
ServerPeerNameString
ServerHostnameString
ChannelClassNameString
ChannelNameString
DeviceClassNameString
DeviceNameString
DeviceSKUString
DeviceLabelString
DataIntervalUInt32
DeviceSerialNumberInt32
ParentDevice Reference Number
HubDevice Reference Number
AccelerometerTimestampDouble
AccelerationChangeTriggerDouble
MinAccelerationChangeTriggerDouble
MaxAccelerationChangeTriggerDouble
HeatingEnabledBoolean
MinDataIntervalUInt32
MaxDataIntervalUInt32
AxisCountInteger
AccelerationDoubleArray
MinAccelerationDoubleArray
MaxAccelerationDoubleArray
CurrentInputCurrentChangeTriggerDouble
MaxCurrentChangeTriggerDouble
MinCurrentChangeTriggerDouble
CurrentDouble
MinCurrentDouble
MaxCurrentDouble
MinDataIntervalUInt32
PowerSupplyEnum
DCMotorAccelerationDouble
BackEMFDouble
BackEMFSensingStateInteger
BrakingStrengthDouble
CurrentLimitDouble
CurrentRegulatorGainDouble
FanModeEnum
MaxAccelerationDouble
MaxBrakingStrengthDouble
MaxCurrentLimitDouble
MaxCurrentRegulatorGainDouble
MaxDataIntervalUInt32
MaxFailsafeTimeUInt32
MaxVelocityDouble
MinAccelerationDouble
MinBrakingStrengthDouble
MinCurrentLimitDouble
MinCurrentRegulatorGainDouble
MinDataIntervalUInt32
MinFailsafeTimeUInt32
MinVelocityDouble
TargetBrakingStrengthDouble
TargetVelocityDouble
VelocityDouble
DigitalInputInputModeEnum
PowerSupplyEnum
StateInteger
DigitalOutputDutyCycleDouble
FrequencyDouble
LEDCurrentLimitDouble
LEDForwardVoltageEnum
MaxDutyCycleDouble
MaxFailsafeTimeUInt32
MaxFrequencyDouble
MaxLEDCurrentLimitDouble
MinDutyCycleDouble
MinFailsafeTimeUInt32
MinFrequencyDouble
MinLEDCurrentLimitDouble
StateInteger
DistanceSensorSonarQuietModeBoolean
DistanceChangeTriggerUInt32
DistanceUInt32
MaxDataIntervalUInt32
MinDataIntervalUInt32
MaxDistanceChangeTriggerUInt32
MinDistanceChangeTriggerUInt32
MaxDistanceUInt32
MinDistanceUInt32
EncoderEnabledBoolean
MinDataIntervalUInt32
MaxDataIntervalUInt32
IndexPositionInt64
PositionInt64
IOModeEnum
PositionChangeTriggerUInt32
MinPositionChangeTriggerUInt32
MaxPositionChangeTriggerUInt32
FrequencyCounterCountUInt64
EnabledBoolean
FilterTypeEnum
FrequencyCutoffDouble
FrequencyDouble
InputModeEnum
MaxDataIntervalUInt32
MinDataIntervalUInt32
MaxFrequencyDouble
MinFrequencyCutoffDouble
MaxFrequencyCutoffDouble
TimeElapsedDouble
PowerSupplyEnum
GPSAltitudeDouble
HeadingDouble
LatitudeDouble
LongitudeDouble
LCDBacklightDouble
MinBacklightDouble
MaxBacklightDouble
ContrastDouble
MinContrastDouble
MaxContrastDouble
CursorBlinkInteger
CursorOnInteger
FrameBufferInteger
WidthInteger
HeightInteger
SleepingInteger
ScreenSizeEnum
GyroscopeAngularRateDoubleArray
MinAngularRateDoubleArray
MaxAngularRateDoubleArray
AxisCountInteger
MinDataIntervalUInt32
MaxDataIntervalUInt32
HeatingEnabledBoolean
TimestampDouble
CapacitiveTouchMaxDataIntervalUInt32
MinDataIntervalUInt32
SensitivityDouble
MinSensitivityDouble
MaxSensitivityDouble
IsTouchedBoolean
TouchValueDouble
MinTouchValueDouble
MaxTouchValueDouble
TouchValueChangeTriggerDouble
MinTouchValueChangeTriggerDouble
MaxTouchValueChangeTriggerDouble
HumiditySensorHumidityDouble
MinHumidityDouble
MaxHumidityDouble
HumidityChangeTriggerDouble
MinHumidityChangeTriggerDouble
MaxHumidityChangeTriggerDouble
MaxDataIntervalUInt32
MinDataIntervalUInt32
LightSensorIlluminanceDouble
MaxIlluminanceDouble
MinIlluminanceDouble
IlluminanceChangeTriggerDouble
MaxIlluminanceChangeTriggerDouble
MinIlluminanceChangeTriggerDouble
MaxDataIntervalUInt32
MinDataIntervalUInt32
MagnetometerAxisCountInteger
MaxDataIntervalUInt32
MinDataIntervalUInt32
HeatingEnabledBoolean
MagneticFieldDoubleArray
MinMagneticFieldDoubleArray
MaxMagneticFieldDoubleArray
MagneticFieldChangeTriggerDouble
MinMagneticFieldChangeTriggerDouble
MaxMagneticFieldChangeTriggerDouble
TimestampDouble
PHSensorCorrectionTemperatureDouble
MinCorrectionTemperatureDouble
MaxCorrectionTemperatureDouble
MaxDataIntervalUInt32
MinDataIntervalUInt32
PHDouble
MinPHDouble
MaxPHDouble
PHChangeTriggerDouble
MinPHChangeTriggerDouble
MaxPHChangeTriggerDouble
PowerGuardOverVoltageDouble
MaxOverVoltageDouble
MinOverVoltageDouble
FanModeEnum
PowerEnabledBoolean
MaxFailsafeTimeUInt32
MinFailsafeTimeUInt32
PressureSensorPressureDouble
MinPressureDouble
MaxPressureDouble
PressureChangeTriggerDouble
MinPressureChangeTriggerDouble
MaxPressureChangeTriggerDouble
MaxDataIntervalUInt32
MinDataIntervalUInt32
RCServoAccelerationDouble
MaxAccelerationDouble
MaxPositionDouble
MaxPulseWidthLimitDouble
MaxPulseWidthDouble
MaxTorqueDouble
MaxVelocityLimitDouble
MinAccelerationDouble
MinPositionDouble
MinPulseWidthLimitDouble
MinPulseWidthDouble
MinTorqueDouble
MinVelocityLimitDouble
PositionDouble
TargetPositionDouble
TorqueDouble
VelocityLimitDouble
VelocityDouble
SpeedRampingStateInteger
VoltageEnum
EngagedBoolean
IsMovingBoolean
MaxDataIntervalUInt32
MinDataIntervalUInt32
MaxFailsafeTimeUInt32
MinFailsafeTimeUInt32
ResistanceInputMaxDataIntervalUInt32
MinDataIntervalUInt32
ResistanceDouble
MinResistanceDouble
MaxResistanceDouble
ResistanceChangeTriggerDouble
MinResistanceChangeTriggerDouble
MaxResistanceChangeTriggerDouble
RTDWireSetupEnum
RFIDAntennaEnabledBoolean
TagPresentBoolean
SoundSensorMaxDataIntervalUInt32
MinDataIntervalUInt32
dBDouble
MaxdBDouble
dBADouble
dBCDouble
NoiseFloorDouble
SPLChangeTriggerDouble
MinSPLChangeTriggerDouble
MaxSPLChangeTriggerDouble
SPLRangeEnum
SpatialAlgorithmMagnetometerGainDouble
AlgorithmEnum
HeatingEnabledInteger
MaxDataIntervalUInt32
MinDataIntervalUInt32
StepperAccelerationDouble
ControlModeEnum
CurrentLimitDouble
EngagedBoolean
HoldingCurrentLimitDouble
IsMovingBoolean
MaxAccelerationDouble
MaxCurrentLimitDouble
MaxDataIntervalUInt32
MaxFailsafeTimeUInt32
MaxPositionDouble
MaxVelocityLimitDouble
MinAccelerationDouble
MinCurrentLimitDouble
MinDataIntervalUInt32
MinFailsafeTimeUInt32
MinPositionDouble
MinVelocityLimitDouble
PositionDouble
RescaleFactorDouble
TargetPositionDouble
VelocityLimitDouble
VelocityDouble
TemperatureSensorMaxDataIntervalUInt32
MinDataIntervalUInt32
RTDTypeEnum
RTDWireSetupEnum
TemperatureDouble
MinTemperatureDouble
MaxTemperatureDouble
TemperatureChangeTriggerDouble
MinTemperatureChangeTriggerDouble
MaxTemperatureChangeTriggerDouble
ThermocoupleTypeEnum
VoltageInputMinDataIntervalUInt32
MaxDataIntervalUInt32
PowerSupplyEnum
SensorTypeEnum
SensorValueDouble
VoltageDouble
MinVoltageDouble
MaxVoltageDouble
VoltageChangeTriggerDouble
MinVoltageChangeTriggerDouble
MaxVoltageChangeTriggerDouble
VoltageRangeEnum
SensorValueChangeTriggerDouble
SensorUnitSensorUnit
VoltageOutputEnabledBoolean
MinFailsafeTimeUInt32
MaxFailsafeTimeUInt32
VoltageDouble
MinVoltageDouble
MaxVoltageDouble
VoltageOutputRangeEnum
VoltageRatioInputBridgeEnabledBoolean
BridgeGainEnum
MaxDataIntervalUInt32
MaxVoltageRatioChangeTriggerDouble
MaxVoltageRatioDouble
MinDataIntervalUInt32
MinVoltageRatioChangeTriggerDouble
MinVoltageRatioDouble
SensorTypeEnum
SensorUnitSensorUnit
SensorValueChangeTriggerDouble
SensorValueDouble
VoltageRatioChangeTriggerDouble
VoltageRatioDouble
MotorPositionControllerAccelerationDouble
CurrentLimitDouble
CurrentRegulatorGainDouble
DeadBandDouble
DutyCycleDouble
EngagedBoolean
FanModeEnum
IOModeEnum
KdDouble
KiDouble
KpDouble
MaxAccelerationDouble
MaxCurrentLimitDouble
MaxCurrentRegulatorGainDouble
MaxDataIntervalUInt32
MaxFailsafeTimeUInt32
MaxPositionDouble
MaxStallVelocityDouble
MaxVelocityLimitDouble
MinAccelerationDouble
MinCurrentLimitDouble
MinCurrentRegulatorGainDouble
MinDataIntervalUInt32
MinFailsafeTimeUInt32
MinPositionDouble
MinStallVelocityDouble
MinVelocityLimitDouble
PositionDouble
RescaleFactorDouble
StallVelocityDouble
TargetPositionDouble
VelocityLimitDouble
BLDCMotorAccelerationDouble
MinAccelerationDouble
MaxAccelerationDouble
BrakingStrengthDouble
MinBrakingStrengthDouble
MaxBrakingStrengthDouble
MinDataIntervalUInt32
MaxDataIntervalUInt32
MinFailsafeTimeUInt32
MaxFailsafeTimeUInt32
PositionDouble
MinPositionDouble
MaxPositionDouble
RescaleFactorDouble
StallVelocityDouble
MinStallVelocityDouble
MaxStallVelocityDouble
TargetVelocityDouble
TargetBrakingStrengthDouble
MinVelocityDouble
MaxVelocityDouble

Integer: Number
UInt32 and UInt64: unsigned number >= 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 Variabel [ $DeviceName; MBS( "Phidget.GetProperty"; $Phidget; "DeviceName" ) ]

See also

Example Databases

Blog Entries

Created 16th August 2023, last changed 25th September 2023


Phidget.Flush - Phidget.GetTag