xPC Target | ![]() ![]() |
PD2-MF 16-Bit Series Analog Output (D/A)
Scaling Input to Output
Hardware Output |
Block Input Data Type |
Scaling |
volts |
double |
1 |
Driver Block Parameters
Board type -- Select the specific board type from the list provided.
Channel vector -- Enter a vector of numbers to specify the output channels between 1 and 16. For example, to use the first and second analog output (D/A) channels, enter
The channel numbers can occur in any order. Number the channels beginning with 1 even if the board manufacturer numbers them beginning with 0. The maximum allowable channel number for PD2-AO and PDXI-AO series boards is 8, 16, or 32 depending on the specific board type. For all other boards series the maximum channel number is 2.
Reset vector -- The reset vector must be the same length as the channel vector. It contains values of 0 or 1. This parameter controls the behavior at model termination. A value of 1 causes the corresponding channel to be reset to the value specified in the initial value vector. A value of 0 causes the channel to remain at the last value attained while the model was running.
Initial value vector -- The initial value vector must be the same length as the channel vector and should contain the initial voltage values for the output channels. The channels are set to these values between the time the model is downloaded and the time it is started.
Sample time -- Enter the base sample time or a multiple of the base sample time.
PCI Slot (-1:autosearch) -- Enter a number between -1 and n. If only one board of this type is physically present in the target PC, enter
If two or more boards of this type are physically present in the target PC, 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
![]() | PD2-MF 16-Bit Series Analog Input (A/D) | PD2-MF 16-Bit Series Digital Input | ![]() |