IO907/IO908 - Setup
IO907/IO908 - Setup — Configures the IO907/IO908 I/O
module
Library
Simulink Real-Time - Speedgoat

Description
For each IO907/IO908 I/O module in your target machine there should be exactly one
Setup block in your model.
Before you begin to configure this block, ensure that you have a predefined shared
memory partition structure. Refer to the Usage Notes.
Ports
This driver block has no input or output ports
Parameters
-
Module Type
Select the type of your I/O Module installed in your target
machine.
-
Module ID
Given that a target machine can contain more than one I/O module, this parameter
is used by the other driver blocks to identify a specific module. Select a unique
number (1-10) for each of your modules. If your target machine only contains one I/O
module, leave the default value (1).
-
Node Struct
Enter the name of the predefined node initialization structure.
-
PCI Slot (-1: auto-search)
There are two approaches for mapping this block to a specific I/O module installed
in your target machine. All modules of the same type must be configured using the
same method.
Auto-Search: with the default value -1 the I/O module will be automatically located in the
target machine. If you have multiple modules of the same type, you must
use explicit addressing.
Explicit Addressing: to explicitly define the logical address of the
I/O module in the target machine, you can provide the PCI bus and slot
numbers as a vector: [bus, slot]. To determine these numbers, run the
following command in the MATLAB command window:
speedgoat.getIoInterfaces("TargetName", "mySpeedgoat", "Advanced", true)Note
that the PCI address can change whenever an I/O module is added or
removed.