Black Pearl Posted July 3, 2011 Report Share Posted July 3, 2011 Original idea by SteveChandler Now available for beta testing. Developed in 7.1, should run in any newer version. License: BSD, © Felix Schubert Dependencies: OpenG, included with suffix Instructions: Unzip attachement Start Globals2FGV.llb and run it Select Global Variable VI -> Demo/Demo Global.vi Select Top-Level VI -> Demo/Demo VI Using Global.vi Select FGV Target Folder -> Demo Open Demo/Demo SubVI using global.vi and Demo/Demo VI Using Global.vi Press the transform button Take a look at the VIs mentioned above and inside the FGV Target Folder Customization: Change the VIs in the templates folder. Known issues: * Some references are not closed * Errors when closing invalid references in shutdown can be surpressed * The placement/rewireing doesn't support the smaller footprint of newer LV versions * The FGV target folder isn't validated * The transformed VIs are not saved and not presented to the user Wishlist: * Use wrappers for Get/Set * Display locations of global references Your feedback and bug-reports are welcome. Felix Global2FGV.zip Quote Link to comment
crelf Posted July 4, 2011 Report Share Posted July 4, 2011 "An error occured loading VI 'Demo VI Using Globals.vi'. LabVIEW error code 6: Could not load bloack diagram." - LabVIEW 2010. Quote Link to comment
Black Pearl Posted July 5, 2011 Author Report Share Posted July 5, 2011 "An error occured loading VI 'Demo VI Using Globals.vi'. LabVIEW error code 6: Could not load bloack diagram." - LabVIEW 2010. Thanks, I have a NI CAR for this behaviour. You can select Demo SubVI using Global.vi as Top-Level VI instead. All you miss is to see that it's recursing through SubVIs as well. Felix Quote Link to comment
SteveChandler Posted July 6, 2011 Report Share Posted July 6, 2011 Cool it works I ran into the same error 6 problem. I am on vacation and when I get back to work I will test it on a very large application that is full of globals. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.