_Mattias_ Posted May 10, 2008 Report Share Posted May 10, 2008 Hi! I often have much text in my VI Discription. This text is being truncated at 8000 characters when presented in the Context help window. Is there any way to disable this or at least increase the limited number of characters? Quote Link to comment
crelf Posted May 10, 2008 Report Share Posted May 10, 2008 QUOTE (_Mattias_ @ May 9 2008, 07:31 AM) I often have much text in my VI Discription. This text is being truncated at 8000 characters when presented in the Context help window. 8000 characters is a lot for the context help - I strongly suggest only putting a short overview in the context help. Then you can create a chm with all of the gory details and link to that using the VI Properties > Documentation > Help Tag and Help Path settings. That adds the "Detailed Help" link on the bottom of your context window so users can open the chm file. PS: you can build chm files using the VISTA HTML Documentation Generator from V I Engineering, Inc.* To get a free trail version, check this out. * Disclaimer: I work for V I Engineering, Inc I'm actually working on a new release of all the old VISTA reuse tools at the moment (and some new ones too...) Quote Link to comment
Aristos Queue Posted May 10, 2008 Report Share Posted May 10, 2008 There's a config token for this. In your config file put: MaxHelpDescLength=10000 or whatever length you want. This will set the maximum number of characters that will be displayed before truncation in the Context Help. If set to a non-positive number (aka -1), then there will be no max. If set to 50 or less, then 50 will be the max. Of course, this token won't be set on other machines that you install into. If you're making a built app with Context Help, then you can put this token into your app's custom config file. If this is a toolkit that you're building, your readme file may need to tell your users to add the config token. ... assuming of course that you want a CH that is that long. That is highly unlikely. If you've got that much text, it probably goes in the help for the control/indicator/VI. Quote Link to comment
Phillip Brooks Posted May 10, 2008 Report Share Posted May 10, 2008 QUOTE (Aristos Queue @ May 9 2008, 10:47 AM) There's a config token for this. In your config file put:MaxHelpDescLength=10000 Added to the wiki; see http://wiki.lavag.org/LabVIEW_configuratio...xHelpDescLength Quote Link to comment
crelf Posted May 10, 2008 Report Share Posted May 10, 2008 QUOTE (Phillip Brooks @ May 9 2008, 11:18 AM) Added to the wiki :thumbup: Quote Link to comment
PaulG. Posted May 10, 2008 Report Share Posted May 10, 2008 Another option is to create your vi documentation in Word and save as a web page (.htm file). Then link to it as the Help path under vi properties>documentation. The Detailed help link in the Context help window is a link to the document. Click on the link and the document will come up in your web browser. Since it is now a .htm file I don't think you will run into size restrictions. Also, while the vi is running, this document will come up in the browser when the operator presses the F1 key. Quote Link to comment
_Mattias_ Posted May 13, 2008 Author Report Share Posted May 13, 2008 Hi! Thanx for the answers. Really helpful. Good to know it's a value in the config file for this. I try this and in the long run I will link to an external fil like .htm. Its a neat solution i think. 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.