Jump to content

SYSINFO

From EDM2
Revision as of 21:13, 25 November 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:SYSINFO}} The SYSINFO command obtains information about the devices installed in the system. This command also accepts **ALL** as the device name. If **ALL** is used, system information is returned for all devices in the system. ==Syntax== <PRE> SYSINFO --- object --+-- INSTALLNAME --+--+----------+-- | QUANTITY ------+ | WAIT | | QUANTITY OPEN --+ +----------+ | NAME number ----+...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The SYSINFO command obtains information about the devices installed in the system. This command also accepts **ALL** as the device name. If **ALL** is used, system information is returned for all devices in the system.

Syntax

SYSINFO --- object --+-- INSTALLNAME --+--+----------+--
                    |  QUANTITY ------+  |  WAIT    |
                    |  QUANTITY OPEN --+  +----------+
                    |  NAME number ----+
                    +-- NAME number OPEN --+

Keywords

object
Object associated with this media control interface command. The object can be one of the following:
  • Device type
  • Device name
  • Filename
  • Alias
The special device name **all** returns information for all devices in the system.
INSTALLNAME
Returns the name that was used to install the device.
QUANTITY
Returns the number of media control interface devices of the type specified by the device name. The device name must be a standard media control interface device type. Any digits after the name are ignored. The special device name **all** returns the total number of media control interface devices in the system.
QUANTITY OPEN
Returns the number of open media control interface devices of the type specified by the device name. The device name must be a standard media control interface device type. Any digits after the name are ignored. The special device name **all** returns the total number of open media control interface devices in the system.
NAME number
Returns the name of a media control interface device. The *number* (ordinal) ranges from 1 to the number of devices of that type. If **all** is specified for the device name, then the number must still be provided, but it is ignored.
NAME number OPEN
Returns the name of an open media control interface device. The *number* (ordinal) ranges from 1 to the number of open devices of that type. If **all** is specified for the device name, then the number must still be provided, but it is ignored and all open device names are returned.
WAIT
The command is executed synchronously. The function waits until the requested action is complete before returning to the application.

Remarks

The SYSINFO command obtains information about the devices installed in the system. This command accepts **ALL** as a special device name to query system-wide information.

Example Code

sysinfo all name 1

This command returns all logical device names, separated by a blank.