12-02-2009 04:47 AM
Hi,
I would like to generate a permanent high or low PWM signal using the counter output (ctr0) of my DAQ card (PCI6014). The purpose is to switch off my electronic which goes to "sleep" if no edge was detected during more than 10s.
I already found for a long time how to generate a continiously PWM signal using the ticks:
- Create a new counter channel (CO Puls Tick, Idle State=High)
- Define timing (Continious sample, Implicit)
- Start task
Then I can generate almost all the PWM signal I need but no permanent high or low signal.
I tried:
- to stop the task
- set the Idle State to high
- then to commit the task to apply the change of idle state
Result: the output PWM signal is high but about each 10s, a peak appears which is waking up my electronic.
I am slowly have no more idea. Does anybody have any idea?
Regards,
Risotto
12-07-2009 10:45 AM
I think a 0-100% pwm is not possible with an E-Series card.
Using an M or X Series you could use the correlated DIOs to generate a PWM from 0-100%. But the E-Series DIOs cannot be clocked, so this does not work for your hardware.
Christian