Documentation

Condor QPCI-1553 Initialize

Condor QPCI-1553 Initialize block

Library

Simulink® Real-Time™ Library for MIL-STD-1553

Block Parameters

Channel

From the list of available channels on the board, choose 1, 2, 3, or 4. This channel is initialized for this command stream.

Loopback enabled

Select this check box to route signals to the test bus on the board. This bus provides a loopback connection between the four channels on the board that does not require external wiring.

Coupling mode

From the list, select from Direct Coupling and Transformer Coupling. This selection defines the mode for coupling a terminal device to the bus.

Initialize for Bus Controller operation

Select this check box to perform Bus Controller initialization for this channel. Selecting this check box enables the parameters Number of Bus Controller buffers to allocate, Enable retries, No response timeout (microseconds), and Late response timeout (microseconds).

Number of Bus Controller buffers to allocate

Enter the number of buffers to allocate in onboard memory on the board. This number must be greater than or equal to the longest string of command buffers that the board is given to process.

Enable retries

Select this check box to enable automatic retries when a message times out or has an error.

No response timeout (microseconds)

Enter the number of microseconds the board is to wait for a response from the Remote Terminal. If the response from the Remote Terminal takes longer than this timeout value, the board sets the NORESPONSE error condition in the status returned from the command.

Late response timeout (microseconds)

Enter the number of microseconds the board is to wait for a response from the Remote Terminal. If the response from the Remote Terminal takes longer than this timeout value, the board sets the LATERESPONSE error condition in the status returned from the command.

Initialize for Bus Monitor operation

Select this check box to initialize this channel for Bus Monitor operation. Selecting this check box enables the parameters Monitor bus A, Monitor bus B, and Number of monitor buffers to allocate.

Monitor bus A

Select this check box to monitor bus A. You can monitor either bus A, bus B, or both.

Monitor bus B

Select this check box to monitor bus B. You can monitor either bus B, bus A, or both.

Number of monitor buffers to allocate

Enter a number at least as large as the number of messages that you expect to see between calls to the Bus Monitor block. If more messages arrive than there are buffers, some messages are lost and not monitored.

Initialize for Remote Terminal operation

Select this check box to prepare the board to operate as a Remote Terminal. If you select this check box, add the RT Initialize block to the model to initialize the Remote Terminal. Connect the RT Initialize block for the Remote Terminal to the S output of this block.

Selecting this check box enables the parameter RT address 31 is Broadcast.

RT address 31 is Broadcast

Select this check box to enable the board to see messages to Remote Terminal 31 as broadcast messages.

Sample time

Enter the base sample time or a multiple of the base sample time (-1 means sample time is inherited).

PCI slot (-1:autosearch)

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')

Was this topic helpful?