MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
9 - Configuring the Logger to use the Remote Control API

The following variables and commands should be added to the Logger configuration file (lgrConfig.xml).

Each Logger must have a unique remote control ID. The connect and heartbeat send intervals can be adjusted if necessary. Set the defaultTapeDir to the directory where Logger files are stored. The Logger’s execution or working directory will be used in conjunction with the default file directory if a relative path is specified.

<defaults>
<var name="remoteControlId" type="int" value="1"/>
<var name="processRemoteControl" type="bool" value="true"/>
<var name="recordRemoteControl" type="bool" value="false"/>
<var name="allowDelete" type="bool" value="true"/>
<var name="allowAll" type="bool" value="false"/>
<var name="sendResponses" type="bool" value="true"/>
<var name="connectSendInterval" type="double" value="1.0"/>
<var name="heartbeatSendInterval" type="double" value="10.0"/>
<var name="defaultTapeDir" type="string" value="..\logger_tapes"/>
<var name="crippleGui" type="bool" value="true"/>
</defaults>
<commands name="init">
<command domain="System" protocol="None" command="SetDefaultTapeDirectory">
<param name="defaultTapeDir" var="defaultTapeDir"></param>
</command>
</commands>
<commands name="startup">
<command domain="Simulation" protocol="None" command="SetRemoteControlSettings">
<param name="process" var="processRemoteControl"></param>
<param name="record" var="recordRemoteControl"></param>
<param name="allowDelete" var="allowDelete"></param>
<param name="allowAll" var="allowAll"></param>
<param name="sendResponses" var="sendResponses"></param>
<param name="crippleGui" var="crippleGui"></param>
<param name="connectSendInterval" var="connectSendInterval"></param>
<param name="heartbeatSendInterval" var="heartbeatSendInterval"></param>
</command>
<command domain="Simulation" protocol="HLA 1516" command="SetRemoteControlId">
<param name="remoteControlId" var="remoteControlId"></param>
</command>
</commands>

[<< Using the Remote Control Interface] [Home] [Top of Page] [Configuring the Remote Control Interface >>]


Document ID: Generated on Thu Oct 3 15:35:11 EDT 2024 from SVN revision 270037
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)