12-20-2005 12:58 PM
12-20-2005 01:20 PM
I forgot to mention that I have MATLAB at my disposal, maybe I could create a script to create a pusle width modulated signal?
Just throwing ideas around. As of riht now I am not too concerned about accuracy.
12-21-2005
10:50 AM
- last edited on
06-04-2024
12:31 PM
by
Content Cleaner
Hi James-
It's not possible to route the counters to multiple pins and then control them independently- you only have two sets of counter hardware at your disposal, so you'll only be able to create two PWM signals at one time. Your best bet would be to use a card with eight counters such as the PCI-6602.
You could use the correlated digital output capabilities of your board to generate a PWM signal, but the updates to freq/duty cycle would be non-deterministic.
Hopefully this helps-
12-21-2005 11:39 AM
12-21-2005 11:46 AM
12-21-2005 11:53 AM
12-21-2005 11:55 AM
Hi James-
Is there a reason why you don't want to use the digital input lines on your device to accomplish this?
12-21-2005 11:59 AM
12-21-2005 12:08 PM
Hi James-
The quickest method I can think of is to just specify a logic threshold division and then check to see if you are above or below that level. I have attached a VI that shows how this might be done; you may want to add a VIH and VIL (rather than a simple threshold) check in order to define a deadband in your AI signal.
12-21-2005 12:14 PM
Tom,
Excellent! I donnot have access to a machine with labview until later today so I cannot play around with it until then. But I'll let you know how things go, from what you say it sounds like it would work for what I am trying to do.
Thanks again!
James