Documentation

RS-232/422/485 Board Setup (Commtech) and Interrupt Check (Quatech) (Composite)

RS-232/422/485 Board Setup (Commtech) and Interrupt Check (Quatech) block

Library

Simulink® Real-Time™ Library for RS232

Description

(Quatech® and Commtech only) The Board Setup and Interrupt Check block checks for instances where the IRQ differs from the software for which it is listening. This block compares the software-selected interrupt against the value for which the board (PCI only) is configured. This check prevents IRQ mismatches. For the Commtech Fastcom® board, the corresponding block also sets up the board clock.

Block Parameters

PCI slot

If only one board of this type is in the target computer, enter -1 to locate the board.

If two or more boards of this type are in the target computer, enter the bus number and the PCI slot number of the board associated with this driver block. Use the format [BusNumber,SlotNumber]. To determine the bus number and the PCI slot number, type:

tg = slrt;
getPCIInfo(tg, 'installed')

Clock Bits (Commtech)

Enter the number of clock bits to control a clock generator common to both channels. This parameter adjusts the master clock of both channels.

IRQ Line Number

From the list, select an IRQ line number from 5 to 15, inclusive.

Was this topic helpful?