xPC Target | ![]() ![]() |
Scaling of Input to Output
Hardware Input |
Block Output Data Type |
Scaling |
volts |
double |
1 |
Driver Block Parameters
Channel vector -- Enter numbers between 1 and 64. This driver allows you to enter channel numbers in any order.
For example, to use the first, second and fifth channels, enter
Number the channels beginning with 1, even if the board manufacturer starts numbering the channels with 0.
Range vector -- Enter a range code for each of the channels in the channel vector. The range vector must be the same length as the channel vector. This driver allows each channel to be different.
The following table is a list of the ranges for this driver and the corresponding range codes.
For example, if the first channel is -10 to + 10 volts and the second and fifth channels are 0 to +1 volts, enter
Coupling vector -- Enter a coupling code for each of the channels in the channel vector. The coupling vector must be the same length as the channel vector. This driver allows a different coupling for each channel.
The following table is a list of the couplings for this driver and the corresponding coupling codes.
For example, if the first and second channels are single input and the fifth channel is a differential input, enter
The driver selects a second differential input 8 channels higher than the first channel. In the example above, the driver would select the thirteenth channel as a differential input with the fifth channel.
Sample time -- Model 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
![]() | PCI-6031E | PCI-6031E Analog Output (D/A) | ![]() |