I'm looking for help with control over clocks, where I want to divide down the rate of a source clock to create one or more controllable, reduced rate, clock sources to drive DAQms Timing Controls. The original source clock is either the onboard (internal) clock or an external clock brought in through the PFI0 pin. Information and - better yet - example program frame would be much appreciated.
My systems use LabView 7 with DAQmx configured E-series devices. One system uses PCI-MIO-16E board, the other uses the pc-card near equivalent; on the PCI boad, the external clock ranges from sub-Hz to almost 1Mhz. (see simplified programs attached). I also have a 6533 device I intend
to synchronize through a RTSI cable.
I want to drive the analog outputs with selectable clock rates which are 1/N of the input frequency of the source, internal or external. All the counters controls (e.g. Down Counter or Divider Config.vi) appear to be incompatible with DAQmx Timing control. The solution must be in the polymorphic configuration (yes?!), but I haven't yet found any examples or support solutions that address this issue.
So, for both external and internal clock sources,
(1) How can I use DAQmx timing controls with counters, and/or
(2) How can I configure DAQmx timing controls to function like counters, with control over output rate compared to input rate (for external clocks, since I think I know how I would do it for internal timebase... but it doesn't seem transferable), and/or
(3) Is there an example of how to make a ripple counter (input internal or external, output rates = 1/2, 1/4, 1/8, 1/16) that compatible with DAQmx.
Thank you very much.