03-31-2009 07:05 AM
Using a PCI 6024, I tried with the programme join, to send a variable frequency to a motor.
I utulise a counter output.
I obtain a square signal but not continous, I have a signal for 20ms, it stop 7ms and restart the operation.
How can I resolve this problem please,
Regards.
Jean Claude
03-31-2009 07:25 AM
04-01-2009 04:11 AM
I stop the wile loop because I had modify the programme, but this while loop isn't necessary.
Jean claude
04-01-2009 09:19 AM
Hello.
I don't understand why you stop the task after 1 loop. if you want a continuous generation, you don't have to stop the task like that.
What do you mean when you say that the task stops 7ms?Do you you mean that the signal is at the low state dutrng 7ms?
And how do you send a variable frequency to your motor? You can find here an example of how to change your frequency or duty cycle without stopping the task:
Regards
04-03-2009 04:34 AM
The while loop is an error but with or not, the programme works similar
jean claude
04-03-2009 05:16 AM
Hello.
I don't clearly understand whet you want to do, and what behaviour you notice. Does the link I sent you correspond to what you want do do?
Regards