LabVIEW MathScript RT Module

annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Is there some way to print mathscript node with color coding as text?

Risolto!
Vai alla soluzione

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?

0 Kudos
Messaggio 1 di 6
8.249Visualizzazioni

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.

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
0 Kudos
Messaggio 2 di 6
8.224Visualizzazioni

Thanks, but if it doesn't match it will be more confusing than helpful.

0 Kudos
Messaggio 3 di 6
8.222Visualizzazioni

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

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
Messaggio 4 di 6
8.204Visualizzazioni

Thanks.  Based on your suggestion, I have posted it to the Idea Exchange.

0 Kudos
Messaggio 5 di 6
8.200Visualizzazioni
Soluzione
Accettato da wildcatherder

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.

 

0 Kudos
Messaggio 6 di 6
8.059Visualizzazioni