Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

Phidget.Release

Frees memory for a Phidget object.

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

Parameters

Parameter Description Example
PhidgetRef The reference number for the phidget.
Or a list of reference numbers.
$phidget

Result

Returns OK or error.

Description

Frees memory for a Phidget object.

Examples

Closes the device and free memory:

If [ Length ( $$phidget ) > 0 ]
    Set Variable [ $r ; Value: MBS("Phidget.Close"; $$phidget) ]
    Set Variable [ $r ; Value: MBS("Phidget.Release"; $$phidget) ]
    Set Variable [ $$phidget ; Value: "" ]
End If

See also

Example Databases

Blog Entries

This function is free to use.

Created 16th August 2023, last changed 17th August 2023


Phidget.Open - Phidget.ReleaseAll

💬 Ask a question or report a problem