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
- last edited on
04-20-2026
10:25 AM
by
Content Cleaner
Howdy,
You can use any of three DAQmx Create Channel VI's (CO Pulse Freq, Time or Ticks) to accomplish this generation. For this particular application, CO Pulse Ticks would probably be easiest since it allows us to input an initial delay, number of high ticks, and number of low ticks. For example, looking at Figure 3-6, to generate the bottom waveform, we would have something like the following config:
the top waveform (SOURCE) would be connected to the source of ticks input on the DAQmx Create Channel (CO Pulse Ticks).vi
initial delay: 3
high ticks: 4
low ticks: 2
The DAQmx help for DAQmx Create Virtual Channel goes into more detail about these three Create Channel VI's if needed.
(Just in case anyone references this thread in the future, this discussion is referring to Figure 3-6 of the January 1999 version of the 6601/6602 User Manual.)
07-17-2008 08:56 AM
07-17-2008 10:34 AM
07-18-2008 10:45 AM