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.
When using the UDP back channel, enable it with SetRemoteControlSettings and configure its endpoint with SetBackChannelConnection. The address, port, and interface identify the UDP endpoint and local network interface. The tick budget is the maximum number of back-channel packets processed per tick; a value less than or equal to zero disables the limit.
<defaults>
…
<var name="remoteControlId" type="int" value="1"/>
<var name="processRemoteControl" type="bool" value="true"/>
<var name="useSimChannel" type="bool" value="true"/>
<var name="useBackChannel" type="bool" value="true"/>
<var name="recordRemoteControl" type="bool" value="false"/>
<var name="allowDeleteRemoteControl" type="bool" value="true"/>
<var name="allowAllRemoteControl" type="bool" value="false"/>
<var name="sendResponses" type="bool" value="true"/>
<var name="useLegacyPdu" type="bool" value="false"/>
<var name="connectSendInterval" type="double" value="1.0"/>
<var name="heartbeatSendInterval" type="double" value="10.0"/>
<var name="backChannelAddress" type="string" value="229.7.7.53"/>
<var name="backChannelPort" type="int" value="4053"/>
<var name="backChannelInterface" type="string" value="127.0.0.1"/>
<var name="backChannelTickBudget" type="int" value="128"/>
<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="useSimChannel" var="useSimChannel"></param>
<param name="useBackChannel" var="useBackChannel"></param>
<param name="record" var="recordRemoteControl"></param>
<param name="allowDelete" var="allowDeleteRemoteControl"></param>
<param name="allowAll" var="allowAllRemoteControl"></param>
<param name="sendResponses" var="sendResponses"></param>
<param name="crippleGui" var="crippleGui"></param>
<param name="useLegacyPdu" var="useLegacyPdu"></param>
<param name="connectSendInterval" var="connectSendInterval"></param>
<param name="heartbeatSendInterval" var="heartbeatSendInterval"></param>
</command>
<command domain="Simulation" protocol="None" command="SetBackChannelConnection">
<param name="address" var="backChannelAddress"></param>
<param name="port" var="backChannelPort"></param>
<param name="interface" var="backChannelInterface"></param>
<param name="tickBudget" var="backChannelTickBudget"></param>
</command>
<command domain="Simulation" protocol="HLA 1516" command="SetRemoteControlId">
<param name="remoteControlId" var="remoteControlId"></param>
</command>
…
</commands>