LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do people design state machines before implementing in Labview?

Currently I design my state machines in Visio before implementing in LabVIEW as this way I can review the code with none LV people before I build the code.

 

Viso works well for small state machines, but now I am moving onto larger ones with Superstates and many sub states I am finding Visio to be not ideal for the job. I want to be able to double click a superstate and open in a new window exactly like stateflow does in Simulink. 

 

Also I want an output of all states and transitions in table form for later validation of my coding.

 

Is there any free software out there that can do this for me?

 

 

0 Kudos
Message 1 of 7
(3,194 Views)

Hi LegoHead,

 

I have just spoken with a few of the guys from our Systems Engineering team, to see if they recommended a software, but infortunately they, like you, found the caveats of designing large state machines in software, and prefer to "do it in their heads"! Sadly it is one software which NI have not created as of yet.

 

If you google "state machine designer", a few free software results show up, but I'm unsure of how much of what you'd like it to do, that it will do - your best bet would be to explore them.

 

Hopefully someone in the community will see this soon and have a great idea of a software to use!

 

Amy

Amy K
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 2 of 7
(3,120 Views)

In WhiteStarUML (and probably the others) you can organize stuff as Packages. A Package in this case would be the sub diagram, but how automatic you can get it i don't know.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 7
(3,108 Views)

@AmyNK wrote:

Hi LegoHead,

 

I have just spoken with a few of the guys from our Systems Engineering team, to see if they recommended a software, but infortunately they, like you, found the caveats of designing large state machines in software, and prefer to "do it in their heads"! Sadly it is one software which NI have not created as of yet.

 


State machine diagrams and flow charts are not meant to be a line by line representation of your code, but a "general framework" of how the program works.

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 7
(3,103 Views)

Did you look at teh LabVIEW State Diagram Editor?

 

See here.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 7
(3,042 Views)

Adding to my previous...

 

See the attachements in this thread.

 

This post may also be of interest.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 7
(3,001 Views)

Personally, I prefer to "do it in my head" as well, but when customers or fellow programmers ask for a general diagram, I tend to use SmartDraw to produce a quick sketch or even a somewhat more detailed solution.

0 Kudos
Message 7 of 7
(2,968 Views)