You are here: CX23-R Web Interface Description > Test Configuration > Computed Channels > State Mapper

State Mapper

ClosedScreenshot

The State Mapper channel maps the input channel into a discrete state output channel based on a set mapping conditions. Define each mapping condition in terms of a minimum input value, a maximum output value, and the associated output state value. The number of mapping conditions must be 32 or less.

NOTE
The State Mapper channel can consume significant CX23-R computational resources depending on the sample rate and the number of mapping conditions defined.

The toggle button enables you to switch between interfaces when entering state mapper values. No matter which interface you are in, switching keeps what you have already entered and reformats it according to the new interface you select.

By default, use a Spreadsheet Interface (grid) to enter the mapping conditions. There are 32 rows allocated to enter all the conditions. Each row contains three units: Min, Max, and Value that represent a condition. Click Editor to switch to a free format text editor.

In the text editor interface, you can edit the state mapper conditions in a simple text editor where the respective values for a condition display on a single line. Separate each value by at least one space. There is no limit to the number of conditions you can enter, but anything over 32 creates an error and you need to fix it. Click Grid to switch to the grid interface.

Click Clear to clear the state mapper values.

To maintain backwards compatibility with the TCE interface, click Import to open the browser’s file chooser where you can select a previously saved/created file. This is an ASCII file where each line must represent a condition and contain three values separated by space or tab. The three values are Min, Max, and Values in that order.

 

HBM, Inc.

2202 Fox Drive

Champaign, IL 61820

+1 800-578-4260

info@usa.hbm.com