Spell-Checking a VI or Library
Downloads
Filename: spell_checker.llb
Requirements: View
This VI works by manipulating the text of the VI's exported string, 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. Do not remove the hard returns at the end of the lines because the returns are used to separate each word field.
This VI was tested using MS Word 2000 (9.0.3821). If the ActiveX reference is broken on your computer, open the VI, right-click on the reference, and select "ActiveX Class»Browse" from the shortcut menu. Look for MS Word on the list. You may need to modify this program after the new reference is created.
To include the spell checker in the LabVIEW programming environment, change the VI properties of the top-level VI to run when open and closed if originally closed. Then copy the library into the project folder and restart LabVIEW. You can find the spell-checker under the Tools menu.
Note: This example is intended to be used with LabVIEW 6.1 through 7.x. Changes will need to be made to be used with LabVIEW 8.0 and later. Also, this example uses ActiveX and Microsoft Word. For a platform independent and complete LabVIEW solution for spell-checking your LabVIEW code, please use the VI Analyzer Toolkit version 1.1 or later. For more information, visit the related link below.
| Related Links: |
| VI Analyzer Toolkit |
| LabVIEW Toolkit/Module Version Information - VI Analyzer Toolkit |
Requirements
Filename: spell_checker.llb
Software Requirements
Application Software: LabVIEW Full Development System 6.1
Language(s): LabVIEW
Additional Software: Microsoft Word 2000
Reader Comments | Submit a comment »
This vi shifted the names on the front panel of my vi.
This vi shifted the names on the front panel
of my vi.
- Sam Ponti, NGST. samuel.ponti@ngc.com - Aug 30, 2005
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
