LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create rtf file

I want to create a .RTF file from LabView. Right now I am trying to edit a RichTextBox, then save that, but with no success. If anyone know how to create a RTF file from LabView, RichTextBox or no, it would be appreciated. My ultimate goal is to create a .rtf file with text generated by a program, then open the .rtf file in wordpad for the user to view. I want to avoid using MS Word.



Here is how I am trying to edit a RichTextBow right now, but nothing seems to happen.



0 Kudos
Message 1 of 3
(3,002 Views)
Erm... I think I figured it out. The RichTextBox WAS being updated, but as soon as the VI stops it seems it reverts to its default value (empty).

And my second (indicator) box was completly not needed.


Message Edited by StevenD on 05-27-2008 11:30 PM
0 Kudos
Message 2 of 3
(2,998 Views)
Hi StevenD,

The text in your RichTextBox disappears immediately because it is cleared upon VI completion.  Please see the attached VI that allows programmatic or user input.
Message 3 of 3
(2,963 Views)