07-08-2010 05:54 AM
Hi, im wanting to create a flow chart of what im about to code in Labview. Is there good examples of flow charts or tutorials on how to do them?. As im a bit rusty.
07-08-2010
06:10 AM
- last edited on
03-20-2025
03:52 PM
by
Content Cleaner
State chart?
07-08-2010 08:04 AM
If not statechart, then...
http://www.breezetree.com/articles/how-to-flow-chart-in-excel.htm
07-08-2010 09:48 AM
Another option if you just want documentation and not the ability to create code, is Visio. This is included with some versions of MS Office. Standard flow chart symbols as well as Dataflow and UML.
07-08-2010 10:08 AM
Dia is a good, free option as well. It's very similar to Visio. http://dia-installer.de/index_en.html
07-09-2010
08:27 AM
- last edited on
03-20-2025
03:52 PM
by
Content Cleaner
Or could you possibly mean...
NI LabVIEW Statechart Module
07-09-2010 08:39 AM
Strictly speaking a Flow Chart is not State Chart Or State (Tranistion) Diagram.
The latter two reprenent the states of of a system and how the system transitions from one state to another.
A flow chart documents a the steps (flow) in a porcess.
Ben
07-09-2010 11:16 AM
Hi, when first started coding(10 years ago) i was taught to do flow charts of the program flow. Since then i have automatically just coded, but in this project the code with be alot. So i need to get the coding architecture correct before i start. Thats why i need to a flow chart to start off with 🙂
07-09-2010 11:33 AM
Spending time on the design before coding is essential for complicated projects. I think it does not matter too much exactly what format or technique you use so long as you understand it and are consistent. I often start with a text document which lists the main requirements. If the user interface is significant, I create a list of user inputs to the program and outputs from the program which will be displayed to the user. Then I make a list of tasks which the program must perform.
Then I get another pencil and create a state chart or flow chart or some hybrid of the two.
Then I go back and refine each of these parts. For example beside each front panel control (on the user inputs list) I indicate whether a change in the control will generate an event, whether it needs to be disabled under certain conditions, whether there are other parameters associated with it, and so on. The task list will be expanded to list inputs, outputs, and the basic function of the task. A flow chart per state can be generated. Additional cycles of refinement can be added as needed.
Now, open LV and start coding.
Reviews at various stages should be included as appropriate.
Lynn
07-09-2010 12:54 PM - edited 07-09-2010 12:57 PM
I really like using Lucidchart
The free account puts a watermark on the PDF's it creates.
It runs best on Chrome or Firefox, and is kind of slow on Internet Explorer.