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

IO132 - Digital Input

IO132 - Digital Input — Reads the IO132 digital 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 digital input channels. Each port (signal) returns the read digital value.

Outputs
X (X is the digital input channel number)

The following values are obtained from digital input channel X:

  • 0 - TTL low

  • 1 - TTL high

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.