Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

MatrixDongle.Version

Reads the version number of the dongle.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
MatrixDongle 5.2 Yes Yes Yes No Yes

MBS( "MatrixDongle.Version" { ; DongleNumber; PortNumber } )

Parameters

Parameter Description Example value
DongleNumber Optional
This is the dongle number when several dongles are plugged in one after the other. The maximum number of dongles available can be determined via the MatrixDongle.Count function.
A maximum of 99 dongles can be connected to the LPT port and a maximum of 127 dongles to the USB connection.
The plugin uses 1 if you don't pass this parameter.
1
PortNumber Optional
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

Result

Returns version number or error.

Description

Reads the version number of the dongle.
Format is x.y using major and minor version number.

Examples

Queries version:

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

See also

Example Databases


MatrixDongle.SetDriverFlag   -   MatrixDongle.WriteHex

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins