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

MatrixDongle.Count

Returns the number of dongles available at the specified LPT or USB interface.

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.Count" { ; PortNumber } )   More

Parameters

Parameter Description Example Flags
PortNumber With LPT dongles, this is the number of the LPT port to which the dongles are connected. With LPT dongles, the port number must be between 1 and 3. Example: 1 for LPT1, 2 for LPT2 or 3 for LPT3.
With USB, this parameter must be 85.
This variable is ignored with network calls.
Default for MBS Plugin is 85 for USB.
85 Optional

Result

Returns number or error.

Description

Returns the number of dongles available at the specified LPT or USB interface.

Examples

Count dongles:

Set Field [MatrixDongle::CountResult; MBS( "MatrixDongle.Count" )]

See also

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


Matrix.Width - MatrixDongle.Find

Feedback: Report problem or ask question.