SA380TX Generic logger firmware 1.5G. can report events as RailEvents. This is the main method of collecting and reporting data.
Sending singular digital events is not practical with the elaborate RailEvent configuration: start trigger, end trigger, logged channels on changes and event timeout etc.
It is desirable to send all or a subset of digitals to server as singular events.
At the moment this can only be achieved through the XML configuration.
Step-by-step guide
- 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 if 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" />
Info |
---|
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Page Properties | ||
---|---|---|
| ||
|