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

IO101 - Analog input

IO101 - Analog input — Reads the IO101 analog inputs

Library

Simulink Real-Time - Speedgoat

Description

To read the analog inputs exactly one of these blocks must be added to your model for each module of this type in your target machine.

Ports

This driver block has n scalar output ports of type double where n is the number of selected analog input channels. Each port (signal) returns the converted analog values in Volts.

Outputs
X (X is the analog channel number)

The value from analog channel X in Volts. Type double.

Parameters

Module ID

This ID defines the link to the corresponding Setup block.

Output Mode

Values or Values & Conversion delay. Values is the default setting. The Values & Conversion delay setting is used for debugging purposes.

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.