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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

MatrixDongle.Find

Searches for the dongle and returns the LPT/USB interface at which it was found.

Component Version macOS Windows Linux Server iOS SDK
MatrixDongle 5.2 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No

Deprecated

This function was deprecated.

MBS( "MatrixDongle.Find" )

Parameters

none

Result

Returns number or error.

Description

Searches for the dongle and returns the LPT/USB interface at which it was found.
The LPT port at which the dongle was found is returned: 1 for LPT1, 2 for LPT 2 or 3 for LPT3 or 85 for USB.
Note: This function only supplies the first port at which a dongle is found, regardless of whether other dongles are available at other LPT or USB interfaces.
Use MatrixDongle.Count function for more details.

Examples

Find dongles:

Set Field [MatrixDongle::FindResult; MBS( "MatrixDongle.Find" )]

See also

Created 1st August 2015, last changed 31st July 2020


MatrixDongle.Count - MatrixDongle.GetDriverFlag

Feedback: Report problem or ask question.