Web Interface
The State Mapper channel maps the input channel into a discrete state output channel based on a set mapping conditions.
NOTE
The State Mapper channel can consume significant CX23-R computational resources depending on the sample rate and the number of mapping conditions defined.
Select the Use default output value to output a default value when the input channel does not meet any of the mapping conditions. If not selected, the output remains in its existing state.
Enter a Default out value for the output. The channel outputs the default value if the first input sample does not meet any mapping conditions. When using the default out option, the channel outputs the default value throughout the test run if the input does not meet any mapping conditions.
Enter the Latch Period in seconds that the input channel must consistently the mapping conditions before the output state switches. The latch period is similar to a duty cycle on the output state preventing the output state from switching for at least this period of time. This feature can eliminate state switching transients in the output channel data stream. If the latch period is zero, the output state switches on each sample.
A state mapper condition consists of Min, Max and Value numbers. When the input is greater than or equal to the Min and less than the Max, the channel outputs the specified Value. The system supports up to 32 mapping conditions. There are several methods to define the state mapper conditions.
The default method is using the Grid. Each row represents one condition with Min, Max and Value fields.
Click Editor to change to the text editor input method. In the text editor, each line represents one condition with the Min, Max and Value entries separated by at least one space.
Switching between these two input methods retains all entered conditions which are reformatted appropriately.
Alternatively, click Import to import previously created state mapper conditions from an ASCII file. Each line of the ASCII file represents one condition with the Min, Max and Value entries separated by a space or tab. Importing state mapper conditions deletes any manually entered values. The conditions are shown in the grid or text editor after import.
Click Clear to clear all state mapper values.