Windows Server ProgramComTec GmbH 4-44.1.6. Remote modeThe „Remote mode...“ item in the settings menu or the „Remote“ button in the System Definitiondialog box opens the Remote Control dialog box. Here all settings can be made for the control ofthe WEBMCA server program via a serial port. An optional available software expansionMCDLAN is necessary, that allows also the control over a LAN connection.If the Checkbox „Use Remote Control“ is marked and the MCACOM.DLL is available, thespecified COM port will be used for accepting commands. If „Echo command“ is marked, the inputline will be echoed after the newline character was sent. „Echo character“, on the other hand,immediately echoes each character. The possible commands and their syntax are listed in thefollowing section.4.2. Control LanguageA sequence of commands that are stored in a file with extension .CTL can be executed by theWEBMCA server program or MCDWIN with the „Load “ command. Also the configuration filesWEBMCAA.CFG or the header files with extension .MCD ontain such commands to set theparameters. Each command starts at the beginning of a new line with a typical keyword, the caseis ignored. Any other characters in a line may contain a value or a comment.Following methods are available to execute commands:Load the command file using the Load command in the file menu.Enable remote mode in the server and send commands via the serial connection. TheMCACOM.DLL is necessary which is part of the optional available MCDLAN software.Open a DDE connection and send the commands via DDE as described in section 4.3. Theapplication name for opening the DDE connection with the standard WEBMCA server programWEBMCA.EXE is WEBMCA, the topic is WEBMCA-. Implemented are the DDE Execute toperform any command, and the DDE Request with items RANGE and DATA.Send the commands over a TCP/IP net using a remote shell and the optional available MCDLANsoftware. It is necessary that the remote shell daemon program MCANET is running. See thereadme file on the installation disk.Send the commands via the DLL interface from LabVIEW, a Visual Basic program or any otherapplication (software including the complete source code of the DLL and examples optionalavailable).From your own Windows application, register a Windows message and then send the commandas can be seen in the DLL source code.Figure 4.6: Remote Control dialog box