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

IO116 - Analog input

IO116 - Analog input — Reads the IO116 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 or amperes depending on the Current Transceiver parameter in the Analog Input tab of the Setup block.

Outputs
X (X is the A/D channel number)

The value from A/D channel X in volts or amperes depending on the Current Transceiver parameter in the Analog Input tab of the Setup block.

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.