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

IO102 - Analog Input

IO102 - Analog Input — Reads the IO102 analog inputs

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 output ports, where n is the number of selected analog input channels. Each port (signal) returns the analog value in volts.

Outputs
X (X is the analog channel number)

The value from analog channel X in volts.

Data Type: double

Parameters

Module ID

This ID defines the link to the corresponding Setup block.

High-Voltage Ordering Option

This check box should be ticked if the IO102 I/O module installed in your target machine is the high voltage option (part number IO102-HV). The standard option has analog input ranges of ±10 V, ±5 V and ±2.5 V. The high voltage option has analog input ranges of ±60 V, ±30 V, or ±15 V for channels 17...32 (in Single Ended mode) or 9...16 (in Differential mode). The other channels remain standard.

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.