Figure 4.6: Remote Control Dialog Box; Remote Mode - FAST ComTec MCDWIN User Manual

Webmca multichannel data processor
Table of Contents

Advertisement

4.1.6.

Remote mode

The „Remote mode..." item in the settings menu or the „Remote" button in the System Definition
dialog box opens the Remote Control dialog box. Here all settings can be made for the control of
the WEBMCA server program via a serial port. An optional available software expansion
MCDLAN 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, the
specified COM port will be used for accepting commands. If „Echo command" is marked, the input
line 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 the
following section.
4.2.
Control Language
A sequence of commands that are stored in a file with extension .CTL can be executed by the
WEBMCA server program or MCDWIN with the „Load " command. Also the configuration files
WEBMCAA.CFG or the header files with extension .MCD ontain such commands to set the
parameters. Each command starts at the beginning of a new line with a typical keyword, the case
is 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. The
MCACOM.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. The
application name for opening the DDE connection with the standard WEBMCA server program
WEBMCA.EXE is WEBMCA, the topic is WEBMCA-. Implemented are the DDE Execute to
perform 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 MCDLAN
software. It is necessary that the remote shell daemon program MCANET is running. See the
readme file on the installation disk.
Send the commands via the DLL interface from LabVIEW, a Visual Basic program or any other
application (software including the complete source code of the DLL and examples optional
available).
From your own Windows application, register a Windows message and then send the command
as can be seen in the DLL source code.
ComTec GmbH
Windows Server Program

Figure 4.6: Remote Control dialog box

4-4

Advertisement

Table of Contents
loading

Related Products for FAST ComTec MCDWIN

Table of Contents