ShaunR Posted October 11, 2009 Report Share Posted October 11, 2009 Name: Passa Mak Submitter: ShaunR Submitted: 11 Oct 2009 File Updated: 25 Oct 2009 Category: LabVIEW IDE Version: 2.0.0.0 LabVIEW Version: 2009 License Type: Creative Commons Attribution-Noncommercial-Share Alike 3.0 PassaMak is an API for realising multi-lingual user interfaces in labview. Overview: PassaMak is an alternative to the established methods of creating multi-lingual user interfaces that attempts to simplify both their creation and use. It is a wholely Labview native API (with source) that can scan either a directory of files or vis in memory and create language files that (using the same API) can then be used to translate the user interface at run-time. It is a text file (Excel compatible) translation tool, therefore it doesn't require compiling or special proprietry editors to translate. How It Works: The API can scan a directory (or memory) and extracts the label (tags), captions, tip strips and any ancillary text (such as graph axis, plot names etc) of all controls and indicators on the front panels and any string diagram constants that have their captions (or labels for digrams) visible to a number of language files. These files are in a bar "|" delimited spreadsheet format so they can be sent to translation services where they can easily be edited in a text editor or spreadsheet program. Once the language files have been translated, they can be loaded dynamically at run-time to change all the captions and strings in the application on-the-fly. One, easy to use, vi in your application does all this and supports translations for most complex controls/indicators such as clusters, graphs, booleans, ring controls and many more. Installation. Unzip to a directory of your choice. Do not unzip to the vi.lib directory. Dependencies: Labview 9.0 Find Files (Included) Top Level Vi (Included) Tick Count+ (Included) Cut Array Blanks (Included) LabVIEW Versions: Created with LabVIEW 9.0 Limitations. Unicode not supported. Enumerations not supported. Known Issues: None. License: Distributed under Creative Commons Attribution-Non-Commercial-Share Alike See http://creativecommons.org/ for more information Support: If you have any problems with this code or want to suggest features: please go to www.lavag.org and navigate to the discussion page. Distribution: Full source including examples is available at www.lavag.org Contact: PM ShaunR on www.lava.org Revision History. ----------------------- Version 2.0 Added exectable build example. Added support for Tip Strips. Added support for diagram scanning. Fixed bug #PM-00001 in Top Vi's Path.vi preventing correct identifaction of files when built into executable and no path defined. Version 1.0 Initial Release. Click here to download this file 1 Quote Link to comment
Mark Balla Posted October 16, 2009 Report Share Posted October 16, 2009 Certified 10-16-09 Placed in the LabVIEW IDE section Quote Link to comment
ShaunR Posted October 16, 2009 Author Report Share Posted October 16, 2009 Certified 10-16-09 Placed in the LabVIEW IDE section Many thanks. Labview IDE? I thought it would have gone in the UI section. Quote Link to comment
ShaunR Posted October 26, 2009 Author Report Share Posted October 26, 2009 Version 2.0.0.0 is now available. Now includes the following: Added support for Tip Strips Now also scans the block diagram of vis and extracts string constants. Added an example build. Quote Link to comment
Bjarne Joergensen Posted October 26, 2009 Report Share Posted October 26, 2009 Version 2.0.0.0 is now available. Now includes the following: Added support for Tip Strips Now also scans the block diagram of vis and extracts string constants. Added an example build. Hi ShaunR Is it possible to get it in version 8.2.(1) please . Regards Bjarne Quote Link to comment
ShaunR Posted October 26, 2009 Author Report Share Posted October 26, 2009 Hi ShaunR Is it possible to get it in version 8.2.(1) please . Regards Bjarne Unfortunately not. LV 2009 has problems if trying to save to a version less than 8.6 (like completely crashing). Quote Link to comment
unicorn Posted June 24, 2010 Report Share Posted June 24, 2010 Hi ShaunR Is it possible to get it in version 8.2.(1) please . Regards Bjarne Perhaps in Labview Version 8.6? Does it suppurt custom Run-Time Short Cut Menu for front panel elements? Regards Quote Link to comment
ShaunR Posted June 26, 2010 Author Report Share Posted June 26, 2010 (edited) Does it suppurt custom Run-Time Short Cut Menu for front panel elements? Not currently. But it does support custom run-time main menus The "Example Use.vi" uses a custom menu Edited June 26, 2010 by ShaunR 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.