LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Enhanced State Diagram Editor

At the moment, the most recent version of LV I'm using is 2021.

Is anyone using this toolkit with a newer version of LV? If so, which one?

Can anyone (from NI) tell me if this editor will at least be maintained to remain compatible with future (>2021) versions of LV and ideally even improved?

 

Thank you in advance for your contribution.

0 Kudos
Message 1 of 5
(509 Views)

I would be "cautiously optimistic".  The documentation says it is mostly written in G (which means "LabVIEW"), and as it can be found on the 2024 (64-bit) version of VIPM (I didn't check 32-bit, but presume it's available there, as well), then when you install the (presumably LabVIEW 2019) version from the LabVIEW Tools Network, it will do a Mass Compile (which should bring things up to whatever version of LabVIEW you are running).

 

I'd say "Try it", and report back here on the Forum -- I, anyway, am curious ...

 

Bob Schor  

0 Kudos
Message 2 of 5
(429 Views)

I just tried the Enhanced State Diagram Toolkit in LabVIEW 2025 Q1 64-bit and it worked fine with no issues. Both creating a new state diagram, and editing the existing diagrams in the shipping examples, worked as I expected.

As far as I know, at the time of this posting, NI is not currently developing any new features for this toolkit.

Message 3 of 5
(367 Views)

Many thanks for checking that it works with LV 2025!


I very much regret that this utility is no longer maintained and that its perenity is therefore not assured. But I can easily understand the reason for this, as few programmers use it; probably also because they are unaware of its existence and how handy it is.

Another problem we're encountering is that the first generation toolkit no longer works with LV21. This prevents us from migrating our LV18 applications (we haven't used the intermediate LV versions between 18 and 21), as this would require modifying all the VIs that use this state machine. To be precise, the VIs work perfectly in the development environment, but not as executables.

0 Kudos
Message 4 of 5
(334 Views)

Hello - yes we have the same issue with the older version of State Diagram Editor (LV2018 to newer version).  If you are working on a newer version of LabVIEW the issue is with the Integer to Enum.

 

  • Error 1502 can occur if you have used LabVIEW State Diagram Toolkit to construct a state machine in your program.
1. Right-click the state machine loop and select Unlock Code From Editor Wizard.
2. Find all Integer to Enum nodes and replace them with Variant To Data nodes.
 
Issue with the above (from my experience) is that you cannot unlock the code from the editor wizard in the later versions of LabVIEW!  The work around for that is to save it as LV2018 - open the code in 2018 and unlock it - then bring it back into later version of LabVIEW (this is a pain - but a workaround).
0 Kudos
Message 5 of 5
(25 Views)