| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Phidget.Load
Loads the Phidget library.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Phidget | 13.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
MBS( "Phidget.Load"; Path ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Path | The path to the library file. |
Result
Returns OK or error.
Description
Loads the Phidget library.You need to install client software and provide path to the DLL for Windows, framework for macOS or so file for Linux.
On Windows you may need to call Process.SetDllDirectory function to tell Windows where to find dependencies for the python DLL.
Examples
Load library on macOS:
Set Variable [ $r; Value: MBS( "Phidget.Load"; "/Library/Frameworks/Phidget22.framework") ]
Load library on Windows:
Set Variable [ $r; Value: MBS( "Phidget.Load"; "C:\\Program Files\\Phidgets\\Phidget22\\phidget22.dll") ]
Load library on Linux:
Set Variable [ $r; Value: MBS( "Phidget.Load"; "libphidget22.so") ]
See also
Example Databases
- Phidgets/Phidget Barometer
- Phidgets/Phidget Digital Outputs
- Phidgets/Phidget Distance Sensor
- Phidgets/Phidget IR Receiver
- Phidgets/Phidget LCD
- Phidgets/Phidget Light Sensor
- Phidgets/Phidget Temperator Sensor
- Phidgets/Phidget Voltage Input
Blog Entries
This function checks for a license.
Created 16th August 2023, last changed 8th January 2026