11-07-2005 07:42 AM
11-07-2005 11:09 AM
You want a loop between your start and stop which will be your control loop inside this loop you can wire the task to use the channel property node and write the CO.Pulse.Frequency and set the frequency on the fly this way you wont have to stop and restart your tasks and will be able to have a smooth update on your stepper.
Paul
11-10-2005 03:47 AM
Hi Paul,
thank you for your help.
What loop do you meen? Can you describe it with more detail or pace a pic.
This would be very kind of you.
regards Smoofo
11-10-2005 06:48 AM
See the attached, it is a simple program showing a continious update of a pulsetrain out of "dev1/ctr0". Hope this helps.
Paul
11-10-2005 07:30 AM
11-10-2005 01:27 PM
Yes this is just a simple example I wrote in about 5 minutes but you can extend it into a full application by placing the entire structure in a while loop and using a state machine design pattern where the possible states are configure, start, stop and update. With labview you can do just about anything.
Paul
11-11-2005 08:27 AM
Hi Paul,
I have one pedition to you.
I have seen that I have now ivent structure one my base version so I can't control your Vi.
So I want make a ramp or were I can say: Start with ca. 100Hz and turn up to 4000Hz or something.
So how can I do this If I have no ivent strukture or control them.
I'm going mad with this funktion.
If you had the time it would be nice if you will think about it.
Thank you and best regards
11-14-2005 08:03 AM
I will remove the event structure and repost it with a ramp.
Paul
11-14-2005 08:10 AM
Here is an example with a discrete ramp, you can specify the step size, initial frequency and number of steps as well as the dweel time at each step.
Paul
11-14-2005 08:10 AM