04-10-2012 08:45 PM - edited 04-10-2012 08:45 PM
So I have a very odd problem. I inhereted some code which used the State Machine Toolkit (which I don't have) but the VI opens *and runs* just fine in LV 2010SP1 and LV 2011. Unforutnately, I'm getting super odd behavior in that I can't delete some never seen before primitive that converts Numerics to Enums. From a bit of searching, it appears this primitive was actually a VI called ";DNI_IntToEnum.vi". Not only can I not delete this primitive, but I cant delete any wires connected to it or any other object that is contained within the while loop that its in. Furthermore, I can't copy any object that is in the same loop in which it is contained. If i try to copy and paste the while loop to a new blank VI, all that appears are the controls and indicators that were used in that loop.
I also cant seem to find said 'State Machine Toolkit' on NI's website, so I'm not sure how I'm supposed to fix this. Is my only option to re-code these VI's from scratch?!?
04-11-2012 01:10 AM
@SiegeX wrote:
Not only can I not delete this primitive, but I cant delete any wires connected to it or any other object that is contained within the while loop that its in. Furthermore, I can't copy any object that is in the same loop in which it is contained. If i try to copy and paste the while loop to a new blank VI, all that appears are the controls and indicators that were used in that loop.
Right click on the outer while loop, and select "Unlock StateChart" to be able to do what you intend to. Any changes could easily break your code which is made from statechart module.
04-11-2012
01:57 AM
- last edited on
01-29-2025
06:16 PM
by
Content Cleaner
The State Diagram Toolkit is no longer supported by NI but it still runs even with the newest version of LV (currently 2011 SP1). First you had to purchase it separately. Then it became part of the LV installer. Some years ago, with the arrival of the NI LabVIEW Statechart Module, this very useful toolkit was abandonded. Unfortunately the Statechart Module isn't a direct replacement and we now use the JKI State Machine.
Contact NI and ask them to send you the installer of this now unsupported State Diagram Toolkit. If you can't get it, send me a private message.