Documentation Home Page eHS Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Analog Out Mapping Rescaling V1 Control Panel - efs_cpuAOMRControlPanel

Block


Table of Contents

Description

This block provides an interface to help the user generate the configuration data of the AOut Mapping & Adjustments CPU block. It is used to specify the origin and scaling of the signals driving each analog output channel controlled by its parent driver block.


Mask Parameters

Configuration Tab

Form Factor: This parameter is used to define which type of eHS is used in the example. x32, x64 and x128 settings are selected when using a standard product bitstream and example model. Custom and x128 with custom are selected when using a custom made bitstream and model. In order to better identify which setting should be used, refer to the firmware documentation.

Signal Names: List of all signal names to be made available to choose in the channel tabs. The Signal Name list needs to match with what is in the bitstream. The Signal Name input must be a cell (MATLAB type) that contains char type data.

Number of User AOut Signals: This parameter sets the number of user signals made available to the mapping function. User signals are defined in the RT-LAB model and should be made available to the "user_aout" input of this block.

ch0-ch31 Tab

Signal: This parameter sets the signal to be applied on the current selected channel tab.

Gain: This parameter sets the gain to be applied on the selected signal.

Offset: This parameter sets the offset to be applied on the selected signal.

Max (Volts): This parameter sets the AO channel output maximum voltage.

Min (Volts): This parameter sets the AO channel output minimum voltage.

The formula applied to the output signal is: Output AO voltage = saturate(signal*gain+offset,min,max)


Inputs

This block has no input.


Outputs

To_Aout: This output is used to connect to the Aout_Mapping&Adjustments block. It contains all the parameters (mapping, gains, offsets, maximums and minimums) of every signals.



Characteristics and limitations

The user must ensure that the gains, offsets and saturation threshold are consistent and fit any external hardware limitations. As an example, if the bottom saturation threshold is higher than the top saturation threshold, and both thresholds are trespassed simultaneously, a constant zero will be sent as the analog output signal.

Direct FeedthroughN/A
Discrete sample timeYES
XHP supportYES
Work offlineNO


If you require more information, please contact https://www.opal-rt.com/contact-technical-support/.

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323