12-10-2005 01:04 PM
12-10-2005 02:35 PM
Instead of analyzing your code to understand exactly what causes this to happen (I don't like nested conditions which look like that), I will just suggest that you take a more simple approach. Attached is one example - if it needs to go up, it goes up, and if it needs to go down, it goes down. This could probably be made more efficient and simple, but this is just a quick example.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
12-10-2005 02:36 PM
12-10-2005 02:39 PM
See attached VI. I guess Sweep 4 is what you need.