11-05-2014 06:48 PM
As the MathScript Nodes get longer, I need to be able to make temporary annotations on hard copy. Currently the only way I can find to print the MathScript Node is by screen capture and printing as an image.
While I can copy the text and drop it into a word processing program, I would lose all the useful color coding.
Is there some trick to copying as text and preserving color-coding?
Solved! Go to Solution.
11-06-2014 06:49 PM
Does the color coding have to match LabVIEW exactly?
There are many text editors that do syntax higlighting for languages (including .m scripts). You could print the script from one of these for annotation.
11-06-2014 06:50 PM
Thanks, but if it doesn't match it will be more confusing than helpful.
11-07-2014 03:49 PM
After checking some more you can print from the MathScript window, but it doesn't include the highlighting.
Since there isn't a way to do this from within LabVIEW feel free to post this as a suggestion on the Idea Exchange:
http://forums.ni.com/t5/LabVIEW-Idea-Exchange/idb-p/labviewideas
11-07-2014 04:33 PM
Thanks. Based on your suggestion, I have posted it to the Idea Exchange.
11-21-2014 05:27 PM
Download and install Programmer's Notepad.
Copy all text from the Mathscript Node and paste into Programmer's Notepad.
On the menu bar - View - Check Syntax Highlighting
On the menu bar - View - Change Scheme - Select Matlab
On the menu bar - Tools - Options - Fonts and Colours - you can select a larger font size
(Although my vision is corrected to 20/10 and I have a lot of trouble reading the tiny font in the Mathscript Node on a high resolution monitor after a couple of hours.)
This software is free and has a full set of features for serious programmers.