NAII 76LD1 L/D block
Simulink® Real-Time™ Library for NAII
Block Output Data Type
LVDT or RVDT
Enter a vector of numbers to specify the measurement (input) channels. For example, to use the L/D channels 1 and 3, enter
The channel numbers can occur in arbitrary order. The maximum allowable channel number can be 0, 2, 4, or 8 depending on the board type.
Enter the wire type for each of the channels in Channel vector. This entry must be either a scalar or a vector that is the same length as the Channel vector entry. Specify the wiring vector as follows:
2 — Specifies that the corresponding channel is 2-wire
3 — Specifies that the corresponding channel is 3-wire or 4-wire
For example, for a Channel vector entry of [1, 3], a Wiring vector entry of
specifies that channel 1 is 2-wire and channel 3 is 3-wire or 4-wire.
From the list select an output format for all channels:
position — A signal width
of 1 that contains the linear position.
position-status — A signal
width of 2 that contains the linear position and status.
position-velocity — A signal
width of 2 the contains the linear position and velocity.
A signal width of 3 that contains the linear position, velocity, and
The following notes apply to these formats:
The position and velocity values are each normalized to be between –1 and 1.
Position and velocity are returned in radians and radians per second, respectively.
The status value is encoded in a 3-bit integer that is returned as a double. The status value consists of the following status information for the channel:
Test status, weight of 1
Signal status, weight of 2
Reference status, weight of 4
Each status is a binary value (0 is OK, 1 is FAILURE). The driver encodes these binary values into a single signal. For example, a status value of 5 (100), means the test status is OK and both signal status and reference status are FAILURE. If the board does not provide a reference/excitation, the test status and reference status do nothing.
When you request a format with status, you also enable the automatic background (bit D2 of the Test Enable Register) testing.
Select this check box to latch all channels before reading them. The channels are sampled at the same time. Note that selecting this option incurs a small additional resource overhead.
Enter the frequency for the on-board reference/excitation signal.
Enter the voltage of the on-board reference/excitation signal.
Enter the base sample time or a multiple of the base sample
-1 means sample time is inherited).
If only one board of this type is in the target computer, enter
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
To determine the bus number and the PCI slot number, type:
tg = slrt; getPCIInfo(tg, 'installed')