FindModem

(Modem Manager)

Description This subroutine returns a pointer to one of the Modem Manager's own internal modem objects. This pointer may then be used to access public, read-only properties for display purposes.
Usage Script or Steady State
Related to: Fail
Format \ModemManager.FindModem(ModemName);
Parameters  
ModemName
Any text expression that identifies the required modem. This will be the name property of a modem tag.
Comments

FindModem will return an object pointer for a given modem tag name. This object refers to a Modem Manager internal object, which provides access to several read-only properties. These are:

Property Description
Workstation Name of the workstation where the modem exists
FriendlyName Modem name as displayed in the Windows Control Panel's Phone and Modems option (or Modems option)
Failed Refer to Call Progress and Error Codes. in the VTScada Programmer's Guide.
OffHook TRUE while a call or call setup is in progress
Connecting TRUE while call setup is in progress

Example:

Main [
  ModemObj = \ModemManager\FindModem(\UniqueID);
...