Skip to main content

Customer Login

This content is for Speedgoat customer only. Log in to see content.

Forgot your password?

Don't have a Speedgoat account? Create an account.

Documentation
CONTENTS
https://www.speedgoat.com/help/slrt/page/icon_documentation.jpg

IO142 - Analog Output

IO142 - Analog Output — Writes the IO142 analog outputs

Library

Simulink Real-Time - Speedgoat

Description

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

Ports

This driver block has n double-type scalar input ports, where n is the number of selected analog output channels. Each port (signal) accepts the analog value in volts to be output.

If DMA is disabled, then the port width is 1. If DMA is enabled, then the width of the input port is equal to the frame size and each element of this vector contains one sample, where the value at position 1 will be converted first.

Inputs
X (X is the analog channel number)

The value to be output from analog channel X in volts.

Data Type: double

Parameters

The configuration details are all defined in the Setup block.

Module ID

This ID defines the link to the corresponding Setup block.

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.