ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert tab characters for indenting in MathScript Code

Since pressing the Tab key throws one out of Text Mode, when editing a MathScript Node, is there some other way to introduce a tab.  Tabs are extremely handy for improving readability of nested loops and inserting the equivalent number of spaces is time-consuming .

0 Kudos
Message 1 of 3
(7,090 Views)

Can you edit the script in the MathScript window (Tools » MathScript Window...)? The tab button works like that from there.

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
Message 2 of 3
(7,071 Views)

That is a good idea but I've already inquired about moving code back and forth between Window and Node.  The only way to do it is to save as a script and then load it into the other, which makes for awkward editing.

0 Kudos
Message 3 of 3
(7,067 Views)