Best source selector

The Best source selector module merges multiple streams into one reliable output, ensuring uninterrupted data. It is useful when the same data is acquired from multiple sources, and there’s a chance that some of those sources are not always available. Typical applications include Dewesoft NET, Chapter 10, PCM or Ethernet receiver data.

Source selector setup

The number of sources value defines how many input sources will be used in the module. The output is always set to one

The selection of which source will be used as the output can be based on a user-defined input channel, or a control channel, generated by the module itself. The user-defined channel is typically a formula with some logic for choosing the most appropriate source. The control channel is used in combination with the input control widget, allowing you to manually switch between input sources.

NOTE: The control channel option can only be used in measure mode and not in analysis.

The value of either of these two channels will determine which input channel is mapped to the output. The first input will always be tied to the value 0 and the n-th input will be tied to the value n-1. For example, if the value of the source selector channel is 3, this means the 4th channel will be used as the output.

Setup of source channels

NOTE: Currently, only asynchronous channels can be used as inputs to the best source selector.

The number of source channels can be increased manually using the plus button. You can also take advantage of the autofill option, which can automatically populate the table. When selected, the autofill setup window offers several prefix options that can be used to automatically generate the channel table.

Typically, channels that you want to use as inputs in the best source selector module will have the same short name but a slightly different long name. Therefore, Dewesoft will automatically find several prefixes that can be used by scanning all available channels and identifying the prefixes by using common delimiters (‘;’, ‘:’, ‘/’, ‘', ‘,’). The number of matches for the chosen prefixes is displayed in the bottom right corner of the window.

If two channels have the exact same name (as is the case for the Chapter 10 module), the autofill interface will give you the option to use Dewesoft’s channel indexes to distinguish between the two channel groups.