Documentation search search close
CONTENTS
https://www.speedgoat.com/help/slrt/page/icon_documentation.jpg
v10.0.1.x for R2026a
View other versions

Analog IO33x-06 - Output v1

Analog IO33x-06 - Output v1 — This driver block is available for the IO33x-06 module only.

Library

Simulink Real-Time - Speedgoat

Description

This driver block is available for the IO33x-6 module only.

Your model can only contain one of these blocks for each I/O module in your target machine.

Ports

This block has as many inputs as defined by the channel vector.

Inputs
X (X is channel number)

The value to set the analog output X to. Type double.

Parameters

Configurable I/O Module ID

This parameter associates a code module block with a configurable I/O module setup block. Set this value to match the Module ID defined in the setup block of the required configurable I/O module.

Channel Vector

A vector of channels this driver block entity will access. You can specify channels in the range 1-N (N = the number of channels implemented in your specific configuration file defined in the Setup block). The width of this vector also defines the subsequent size of some of the following parameters if scalar expansion applies. With a single block, all the channels of the block are synchronized.

Inter-module synchronization

This parameter defines if the model initiates the conversion. In this case the driver is an initiator. The "DAC trigger" physical pin becomes an output which propagates this signal. If the conversion is triggered by an external source, the driver is then configured as target. In this case the "DAC trigger" physical pin becomes an input used to read a trigger signal.

Initial Values

Define the initial signal level present on the outputs after the application has been downloaded. The values can be set individually by entering a vector: the value at a certain position in the Initial Values vector is applied to the channel as defined in the Active Channels vector. A scalar value applies to all the channels; for example, for individual values, type "[1 1.5 0 2.5]", and to set all channels to zero, type "0".

Reset to Initial Values

Define whether the initial values are also applied once the application has stopped. The behavior can be set individually for each channel using a vector. A scalar value applies to all the channels; for example, for individual values, type "[1 0 0 1]", and to set all channels to zero, type "0". "1" means use the Initial Value and "0" means keep the latest value.

Sample Time

Defines the base sample time at which this driver block gets its sample hit. This parameter can also be set to -1 for inherited sample time. The units are in seconds.