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: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  


Return device information.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PortMidi 4.2 Yes Yes No No No

MBS( "PortMidi.GetDeviceInfo"; index; selector )


Parameter Description Example value
index The device ID to query. From 0 to PortMidi.DeviceCount-1. 0
selector Which detail to query. Can be Name, Interface, Input, Output or Opened. "name"


Returns value or error.


Return device information.
Information to query are the name of the device, the name of the interface, whether it's an input or output device and the open status.


Query if first device is open:

MBS( "PortMidi.GetDeviceInfo"; 0; "opened" )

Query name of third device

MBS( "PortMidi.GetDeviceInfo"; 2; "Name" )

See also

Example Databases

PortMidi.GetDeviceID   -   PortMidi.GetDeviceName

Feedback: Report problem or ask question.

MBS FileMaker Plugins