| Contents | Index |
xPC Target Library for General Standards
Hardware Input | Block Output Data Type | Scaling |
|---|---|---|
Volts | Double | 1 |
The values passed to the enable input port and enable output port of this block are Boolean values.
Enter a scalar between 1 and 8 to select the number of channels from which to acquire data. This board always acquires data from the channels in chronological order with no random access to channel selection. For example, if you enter 3, data is acquired from channels 1, 2 and 3. Select a number between 1 and 8 even though the hardware manual numbers the channels from 0 to 7.
From the list, select +-10V, +-5V or +-2.5V as the input voltage range of the board. You must select the range that corresponds to the factory configured input range. Consult the board's documentation to determine the voltage range of your board. The xPC Target software uses this parameter to convert the data to floating point numbers.
From the list, select Single-ended (8 channels) or Differential (8 channels). See the board's hardware manual for information on how to wire the board for these configurations.
The PMC-ADADIO can check its own calibration (autocalibration) against an internal voltage reference. Choose this check box to execute the autocalibration cycle when the model is downloaded to the target computer. The output ports show a square wave during the cycle. Unless you subject this board to harsh conditions, you should only need to run autocalibration occasionally—for example, once a month.
Select this check box to display an input port that controls writing data from the A/D ports on the hardware. If the enable input signal is true, then the output of the A/D converter is read and output to the block output port. If the enable input signal is false, then zero data is output to the block output port. If this check box is not selected, then the enable input signal is assumed to be true.
Select this check box to pass the Boolean value from the input enable port to the output enable port. You can connect this port to the input enable port on another block to control other blocks in the model and specify execution ordering.
Enter the base sample time or a multiple of the base sample time.
If only one board of this type is in the target computer, enter
-1
to automatically 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
getxpcpci

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |