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

IO106 - Start conversion

IO106 - Start conversion — Start conversion of IO106

Library

Simulink Real-Time - Speedgoat

Description

This driver block together with the Read Channels driver block can be used as an alternative to the Analog input driver block. It only initiates the conversion of the analog input channels and does not read and return them. The latter is then accomplished by using a separate Read Channels driver block. The separation of Start Conversion and Read Channels is mainly used for situations where more than one IO106 I/O module is present in a target machine and the acquisition of the overall input channels should be synchronized across the various IO106 I/O modules.

As the execution of this block and the Read Channels block(s) has to be done in a well-defined (deterministic) manner, these blocks provide special synchronization (SYNC) input and output ports which can be turned on and off depending on the block's dialog box settings (see below).

Ports

Inputs
S (SYNC input port)

Start Conversion is executed if the signal value is TRUE, and not executed otherwise. This port expects a logical (Boolean)-type signal. Connection to a preceding block ensures that this block is executed after the preceding block. This port is enabled if the "Show Input Synchronization Port" box in the block's dialog box is checked.

Outputs
S (SYNC output port)

If the driver block's SYNC input port is not enabled, the value of this port is TRUE. Otherwise it takes the value (TRUE or FALSE) entered at the block's SYNC input port. This port outputs a logical (Boolean)-type signal. Connection to a subsequent block ensures that this block is executed before the subsequent block. This port is enabled if the "Show Output Synchronization Port" box in the block's dialog box is checked.

Parameters

The configuration details are all defined in the Setup block.

Module ID

This ID defines the link to the corresponding Setup block.

Show Input Synchronization Port

If checked, the block shows an input port to accept a SYNC signal.

Show Output Synchronization Port

If checked, the block shows an output port which provides a SYNC signal.

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.