PCI-6040E Pulse Generation block
Simulink® Real-Time™ Library for National Instruments®
The input to the block is a two-element vector. The first element is the number of counts (of the 20 MHz source clock) that the counter maintains at a low level. The second element is the number of clock ticks for a high level. For example, to generate a pulse train at 1 kHz with 25% low and 75% high, use the vector
From the list, choose
Both to select the counter(s) to
be used with this driver block. In each case, one block is required
for each physical board.
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')