Jump to content

Global2FGV Transformation


Recommended Posts

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

Link to comment

"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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.