<title>Monkeybread Software - MBS FileMaker Plugin: MatrixDongle.Model</title></head><body>MatrixDongle.Model
------------------

Reads the model number of the hardware from the dongle.

<style>
td.grau 
{
background-color:#EEE;
text-align: center;
}
</style>| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [MatrixDongle](component_MatrixDongle.md) | [5.2](newinversion52.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md).

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

**MBS**( **"MatrixDongle.Model";** /\* Reads the model number of the hardware from the dongle. \*/  
**$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](MatrixDongleCount.md) 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.e.g. 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.e.g. 85 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| DongleNumber | 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](MatrixDongleCount.md) 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 | Optional |
| 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 model number or error.

### Description

Reads the model number of the hardware from the dongle.  
### Examples

Queries model:

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

### See also

- [MatrixDongle.Count](MatrixDongleCount.md)
- [MatrixDongle.Find](MatrixDongleFind.md)
- [MatrixDongle.ReadHex](MatrixDongleReadHex.md)

This function does not need a paid license.

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

  
[MatrixDongle.MemorySize](MatrixDongleMemorySize.md) - [MatrixDongle.ReadHex](MatrixDongleReadHex.md)

💬 [Ask a question or report a problem](https://www.monkeybreadsoftware.com/feedback/?what=filemaker&path=MatrixDongle.Model)

[HTML Version](MatrixDongleModel.shtml)