...
- Expose virtual digital channels as physical digitals:
Consider that VirtualDigital=0 channel is physical=64.
For example adding virtual channel 3 to RealInputs:
Virtual channel configuration (output of an operator):<operator>
<name>Yodel ON</name>
<type>GREATER</type>
<input>
<uid>8</uid>
<type>VirtualAnalogue</type>
</input>
<params>
<val>1</val>
</params>
<output>
<uid>3</uid>
<type>VirtualDigital</type>
</output>
</operator>
Add to realInputs as:<digIn>
<uid>67</uid>
<name>Yodel ON</name>
<invert>0</invert>
<debounce>10</debounce>
</digIn>
Physical uid = 64 + virtual uid. - Send all digitals to server:
Enter Configuration menu and select Advanced configuration. Navigate to MIMOSA config. Press Push digitals to server.
This will make all exposed physical digital channels to be sent to server. - If merely a subset of digitals need to be sent to server then change the XML configuration. DipCfg section. Set individual push parameters to 1=send or 0=not to send.
Send virtual channel=3 to server:<dip id="67" push="1" />
Disable sending:
<dip id="67" push="0" />
...