Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Finds USB devices.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
USB 2.4 Yes Yes Yes No No
MBS( "USB.FindDevice"; VendorID; ProductID )   More


Parameter Description Example value
VendorID The vendor ID of the device to find. Typically a number between 1 and 65535. 1452
ProductID The product ID of the device. Typically a number between 1 and 65535. 545


The index of the device in our USB device list.


Finds USB devices.
Please call USB.Count before you use this function. Pass IDs for vendor and product. e.g. Apple has vendor ID 1452 (hex 05ac). An Apple keyboard can have a product ID of 545 (hex 0221). Please note that product and vendor IDs are shown usually as hexadecimal values.


Find a device and query it's product name:

$count = MBS( "USB.Count" )
$index = MBS( "USB.FindDevice"; $VendorID; $ProductID )
$name = MBS( "USB.GetProductName"; $index )

See also

Example Databases

Created 18th August 2014, last changed 18th August 2014

USB.Count   -   USB.FindSerialNumber

Feedback: Report problem or ask question.

MBS Xojo Plugins