This has been done. There is a LabVIEW 6.1 example.
Spell Check a VI or Library
Description: Spell Checker checks the spelling of VIs and libraries. Items checked include the following: names of control, indicators, free labels on the front panel and block diagrams, and VI descriptions. When the program runs, the user is prompted to choose a VI in memory or from a file. The user is then prompted make spelling changes that are automatically inserted back into the VI.
Spell Checker works by manipulating the text of the exported string of a VI, parsing off tags within the text, and sending the text to MS Word via activeX. MS Word does all of the spell checking using built in features. When the spell checking is done, the information is then inserted
into the VI.
This program was tested using MS Word 2000 (9.0.3821). If the activeX reference is broken on your computer, open up MS Word check spelling.vi, right click on the reference and slide your mouse to select activeX class >> browse. Look for Microsoft Word application on the list. Note: this program may need modifying after the new reference is created.
Spell Checker can be modified to incorporated into the LabVIEW programming environment. First change the VI properties to run when open and closed if originally closed. Then copy the library into the folder ...\labview X.X\project. Restart LabVIEW, and Spell Checker will be found under the tools menu.