Download DTx-EZ

Transcript
Software Architecture
Internal C/T Clock
The internal C/T clock is the clock source on the board that paces a
counter/timer operation for a C/T subsystem.
To determine if the subsystem supports an internal C/T clock, use the
GetSSCaps method, specifying the OLSSC_SUP_INTCLOCK
capability. If this method returns a non-zero value, the capability is
supported.
To specify the clock source, use the ClockSource property.
Using the Frequency property, specify the frequency of the clock
output signal.
To determine the maximum frequency that the subsystem supports,
use the GetSSCapsEx method, specifying the
OLSSCE_MAXTHROUGHPUT capability. To determine the
minimum frequency that the subsystem can produce, use the
GetSSCapsEx method, specifying the OLSSCE_MINTHROUGHPUT
capability.
External C/T Clock
The external C/T clock is a clock source attached to the board that
paces counter/timer operations for a C/T subsystem. The external
C/T clock is useful when you want to produce at rates not available
with the internal clock or if you want to produce rates at uneven
intervals.
To determine if the subsystem supports an external C/T clock, use
the GetSSCaps method, specifying the OLSSC_SUP_EXTCLOCK
capability. If this method returns a non-zero value, the capability is
supported.
5
5
5
5
5
5
5
5
5
155