Pour la documentation en FRANÇAIS, utilisez l’outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Analog Outputs Configuration Page

This page is populated with a list of the Analog Output channels available for the selected Hardware Configuration.   Map eHS Measurements, machine model outputs, and other simulated signals to each Analog Output channel to interact with external hardware.  Gain, offset, minimum and maximum saturation factors can also be applied to the signals before they are output.

The following configuration options are available for each channel:

Analog Output Settings
Source




Filters the list of available Elements to be mapped to the Analog Output channel. The available options are defined by the selected Hardware Configuration, however it is typical to see the following options by default:

  • Not Connected
No signal is mapped to the physical channel.
  • Measurements
eHS Measurements made in the circuit model.  In the Element dropdown, select the name of the measurement to map.
  • Sinewaves
Sinewave outputs of the Sinewave Generators. In the Element dropdown, select the index of the Sinewave Generator whose output signal to map.
  • CPU (VeriStand)
VeriStand custom device channels on the CPU. If this Source is selected, the Element dropdown is populated with a single option displaying the name of the custom device channel whose value is mapped.
  • Machine
Output channels of the Machine Model. In the Element dropdown, select the name of the channel to map.
Element

The name or index of the signal to be mapped to the analog output channel. The options available in this dropdown depend on the selected Source.

After the Gain, Offset, Min, and Max parameters have been applied to this signal, its conditioned numeric value will be output as a voltage on the corresponding Analog Output channel.

Gain

Signal gain. The mapped signal is multiplied by this value before the Offset, Min, and Max saturation are applied.

This value can be overridden by the AOXX Gain custom device channel at runtime if Enable Gain and Offset as Channels is enabled.

Offset

DC offset of the signal, added after the Gain has been applied.

This value can be overridden by the AOXX Offset custom device channel at runtime if Enable Gain and Offset as Channels is enabled.

Min

Lower saturation limit of the signal, applied after the Gain and Offset.  Use this parameter to avoid exceeding voltage limitations of externally connected systems.

MaxUpper saturation limit of the signal, applied after the Gain and Offset. Use this parameter to avoid exceeding voltage limitations of externally connected systems.


The following configuration options are applied to all channels:

Analog Output Settings
Synchronization Mode

Defines the synchronization master for the mapping algorithm that triggers an update to the analog output channels. This is a drop-down that specifies the available synchronization masters.

When the Default option is selected, the mapping algorithm synchronizes directly to the analog output channels using handshaking. When the analog output channels are able to output new data, they will sample the mapping algorithm for new data. This default will be sufficient for most customer applications.

When a synchronization master is specified, the analog output channels are written to as new data becomes available from the master. This option may be useful to reduce jitter in certain situations on a specific data path, such as when the source data is available at a lower rate than the analog output sampling rate.

Example: When the eHS simulation is set to a timestep of 2us and the analog output sampling occurs every 1us, the user may want to synchronize to the Measurements source to reduce jitter in the eHS to analog output data path.

Enable Gain and Offset as ChannelsEnables on-the-fly updates of the signal gain and offset.  When this option is enabled, an Advanced subsection is created under the Analog Outputs section and populated with AOXX Gain and AOXX Frequency custom device channels as described in the Channels table below.



Analog Outputs Section Channels

This section includes the following custom device channels:

Channel Name

Type

Units

Default Value

Description

AOXXInputVolts0V

The Analog Outputs section is populated with one AOXX custom device channel for each physical Analog Output channel available in the selected Hardware Configuration.

If the CPU (VeriStand) Source option is mapped to an Analog Output channel, the value of its corresponding AOXX custom device channel defines the magnitude of the voltage output on the physical channel. If the CPU (VeriStand) mapping option is unused, the value of the channel does not affect the Analog Outputs or the simulation.

AOXX Gain

Input
Gain

Signal Gain to apply to channel AO<XX>.

When Enable Gain and Offset as Channels is enabled, the Analog Outputs >> Advanced >> Gain section is populated with one AOXX Gain channel for each Analog Output channel.  The default value of this channel is the value of the Gain parameter in the Analog Outputs Configuration Page.

AOXX OffsetInputVoltsOffset

DC Offset to apply to channel AO<XX>.

When Enable Gain and Offset as Channels is enabled, the Analog Outputs >> Advanced >> Offset section is populated with one AOXX Offset channel for each Analog Output channel.  The default value of this channel is the value of the Offset parameter in the Analog Outputs Configuration Page.

  • No labels