LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Examples of creating flow charts

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.

0 Kudos
Message 1 of 12
(15,031 Views)

State chart? 

0 Kudos
Message 2 of 12
(15,025 Views)

If not statechart, then...

 

http://www.breezetree.com/articles/how-to-flow-chart-in-excel.htm

 

http://flowchart.com/

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 3 of 12
(15,006 Views)

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.

Message 4 of 12
(14,989 Views)

Dia is a good, free option as well.  It's very similar to Visio.  http://dia-installer.de/index_en.html

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 5 of 12
(14,976 Views)

Or could you possibly mean...

 

NI LabVIEW Statechart Module 

Rich Roberts
Senior Marketing Engineer, National Instruments
Connect on LinkedIn: https://www.linkedin.com/in/richard-roberts-4176a27b/
0 Kudos
Message 6 of 12
(14,941 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 7 of 12
(14,938 Views)

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 🙂

0 Kudos
Message 8 of 12
(14,916 Views)

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

Message 9 of 12
(14,903 Views)

I really like using Lucidchart

 

You can see an example here

 

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.

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 10 of 12
(14,889 Views)