02-14-2007 09:30 AM
02-15-2007 11:19 AM
Hello ultracold.
Thank you for posting to the NI discussion forums.
There isn't a way to route a digital output line internally to the clock of the analog channels. However, if you wish to use an external clock as your sample clock, I would recommend instead using a counter which can be easily routed to the analog input clock. The other option is to connect the digital output to a PFI line externally and designate that line to act as the clock.
Thus, the basic question that should be cleared up to choose the best solution for your needs is: Why do you want to use a digital output to act as the clock of your analog channels? Is there a reason why using a counter would be undesirable?
Let us know and we will be happy to help you further!
Brian F
Applications Engineer
National Instruments
02-15-2007 07:06 PM
02-16-2007 02:18 PM
Quickly chiming in...
No, the counter timers CANNOT
generate an arbitrary pulse train waveform. Buffered counter output has been HIGH on my wishlist for many years.
NI makes arbitrary waveform generators that should be capable of such things. Haven't used them myself.
Another nice option comes from one of NI's Alliance partners, Viewpoint Systems. They make a board called the PCI-DIO-64 which lets you define pairs of timestamps and digital port bits. In output mode, it updates the port only on the timestamps you buffer. If changes are rare, your DAQ output buffer can be very small. (It works analogously for input, timestamping digital state changes with high timing precision but without redundant samples).
I used their legacy version of the board that ran in an ISA slot to generate custom stepper motor motion profiles. It's good stuff.
-Kevin P.
02-19-2007 10:14 AM
02-20-2007 02:51 PM