07-14-2008 04:00 PM
Below is an excerpt from the 6602 manual. The figure may not show so I've attached a word document showing it. I want to do exactly what this says but am not sure how to make it happen. I need to generate a quadrature signal and I think this would work wonderfully. I want to setup one counter as my source and have two others toggle appropriately (keeping 90 degree phase shift).
How do I get into "Toggle" mode???
Thanks!
In toggled mode, the counter output changes state on the SOURCE edge
that follows the assertion of the TC pulse. Figure 3-6 illustrates the two
output modes for a pulse generation with a delay of two and a pulse width
of four.
Figure 3-6. Output Modes
07-15-2008 11:45 AM
07-15-2008 03:04 PM
I found that easy enough. Thanks. But the manual says to set a delay and a pulse width. Where do these settings take place. All the generation VIs have an initial delay as well as fequency and duty cycle, or high and low ticks. It looks from the manual that a simple delay and pulse width setting will get me where I want to be.
Thanks.
07-16-2008 12:30 PM
the top waveform (SOURCE) would be connected to the source of ticks input on the DAQmx Create Channel (CO Pulse Ticks).viThe DAQmx help for DAQmx Create Virtual Channel goes into more detail about these three Create Channel VI's if needed.
initial delay: 3
high ticks: 4
low ticks: 2
07-17-2008 08:56 AM
07-17-2008 10:34 AM
07-18-2008 10:45 AM