National Instruments 320682C Musical Toy Instrument User Manual


 
Easy I/O for DAQ Library Chapter 10
LabWindows/CVI Standard Libraries 10-28 © National Instruments Corporation
If you use TWO_COUNTERS, counter+1 is cascaded with the specified counter. Counter+1 is
defined as shown in Table 10-3.
Table 10-3. Definition of Am 9513: Counter +1
counter counter+1
12
23
34
45
51
67
78
89
910
10 6
sourceTimebase determines whether the counter uses its SOURCE pin or an internal timebase
as its signal source. Pass USE_COUNTER_SOURCE to count TTL edges at counter’s SOURCE
pin, or pass a valid internal timebase frequency to count the TTL edges of an internal clock.
Valid internal timebase frequencies are:
1000000 (Am9513)
100000 (Am9513)
10000 (Am9513)
1000 (Am9513)
100 (Am9513)
20000000 (DAQ-STC)
100000 (DAQ-STC)
countLimitAction is the action to take when the counter reaches terminal count. The parameter
accepts the following attributes:
COUNT_UNTIL_TC—count until terminal count, and set the overflow status when it is
reached. This mode is not available on the DAQ-STC.
COUNT_CONTINUOUSLY—count continuously. The Am9513 does not set the overflow
status at terminal count, but the DAQ-STC does.