Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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.

  2. 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.

  3. 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" />

...