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

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, and ±15 V for channels 17 to 32 (in Single-Ended mode) and channels 9 to 16 (in Differential mode). The other channels remain standard. For the high voltage channels, when selecting ±10 V (LV), ± 60 V (HV) is set as the HV input range. The ranges ±30 V and ±15 V are mapped to ±5 V and ±2.5 V respectively.

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.