NAII 76CS1 D/S block (not recommended)


Simulink® Real-Time™ Library of Drivers No Longer Recommended for Use.

To open this library, type xpcobsoletelib in the Command Window.

Scaling Input to Output

Hardware Input

Block Output Data Type


Synchro or Resolver



Block Parameters

Channel vector

Enter a vector of numbers to specify the stimulus (output) channels. For example, to use the D/S channels 1 and 3, enter

[1, 3]

The channel numbers can occur in arbitrary order. The maximum allowable channel number can be 0, 2, 4, or 6 depending on the board type.

Reset vector

The reset vector controls the behavior of the channel at model termination. Enter a scalar or a vector that is the same length as the channel vector. If you specify a scalar value, that setting is replicated over the channel vector. If you specify a value of 1, the corresponding channel is reset to the value specified in the initial value vector. If you specify a value of 0, the channel remains at the last value attained while the model was running.

Initial value vector

Enter a scalar or a vector that is the same length as the channel vector. The initial value vector contains the initial values (in radians) for the output channels. If you specify a scalar value, that value is replicated as the initial value over the channel vector. The channels are set to the initial values between the time the model is downloaded and the time it is started.

Two-speed ratio vector (1: single speed; greater than 1: two-speed)

Enter a two-speed ratio vector of integers greater than 0. This must be either a scalar or a vector the same length as the channel vector.

The two-speed ratio is normally 1 unless you are using a contiguous odd-even channel pair (such as 3 and 4) as a single two-speed channel. In this case, the two-speed ratio represents the gear ratio between the odd (coarse) and even (fine) channels of the pair. Include only the even member of a two-speed channel pair in the channel vector. For example, if you want to use channels 3 and 4 as a two-speed channel geared in the ratio of 36:1, perform the following:

  • Add the value 4 (but not the value 3) to the Channel vector value

  • Set the corresponding Two-speed ratio vector value to 36

High resolution vector (0: 16-bit; 1:24-bit)

Enter a high resolution vector for the channels. This must be a scalar or a vector the same length as the Channel vector value. Enter one of the following values:

  • 0 — Specifies a 16-bit channel

  • 1 — Specifies a 24-bit channel

    Note, you can specify high resolution only for the even-numbered channels of a two-speed channel pair. Specifying high resolution incurs a small additional overhead.

Show output status port

Select this check box to enable the automatic background (bit D2 of the Test Enable Register) testing. This option displays a status output port labeled S when you click Apply or OK. This port emits a signal with a width of 3. The signal contains the following words for the board:

  • Test status

  • Signal status

  • Excitation status

Excitation frequency (47-10000)

Enter the frequency of the on-board reference/excitation.

Excitation voltage (0, 2-28, or 115)

Enter the voltage of the on-board reference/excitation.

Sample time

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

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

Was this topic helpful?