07-06-2008 09:13 PM
07-07-2008 03:01 AM
07-07-2008 04:42 AM
I preffer using enum instead of a number for state machine.
From state 2 you can not exit the program and continious display initalizing... (which only happens for a moment)
07-07-2008 08:24 AM
07-07-2008 07:14 PM
07-07-2008 08:03 PM
Hey ap888,
I would recommend you the following book I bought to improve the efficiency, performance and maintainability of my codes. http://www.amazon.com/LabVIEW-National-Instruments-Virtual-Instrumentation/dp/0131458353 It was useful for me.
I agree with the pieces of advice Karissa gave you. They make sense.
To find templates go to file>new and you'll see a list of Vi templates including a state-machine template.
Charly
07-07-2008 09:27 PM
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).
Another excellent book is Labview for Everyone. The author J. Kring often visits this forum.
07-07-2008 10:39 PM
JoeLabView wrote:
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).
Another excellent book is Labview for Everyone. The author J. Kring often visits this forum.
07-08-2008 01:35 AM
Ray, you're not up to date. The current text is "To learn more about LabVIEW, I suggest you try looking at some of these tutorials.". ![]()
Seriously, though, I think other people should also use this. All you need to do is copy it into one of the macros you have in the preferences and then remember to use that macro (there's a drop-down list of macros when you write a post). It's literally two mouse clicks.
P.S. Karissa, that's very nice work and would probably be useful in the future as a good cleanup example. You get 5 stars. ![]()
07-08-2008 07:22 AM
Thanks for the update tst.
I will also follow your suggestion about using a macro 🙂