Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

write characters to file.vi broken in LabVIEW 8.2

I have about 24 LabVIEW executables I wrote, and support for our mfg department.  I developed the programs with 7.1.  I want to upgrade to 8.2, but when I open a vi, the Write Characters to file.vi, and Write to Spreadsheet file.vi are broken.  Does this mean that 8.2 is not backwords compatible with 7.2?
 
Upon trying to fix one of the vi's, the Write characters to file.vi does not have a 'new file path' terminal, only a 'refnum out'.  When I try to set the file path on the Write to Spreadsheet file all I have to offer it is a refnum.  Data type conflict.  In 8.2 the Write to Spreadsheet help is grayed out.
 
Is there any way to make 8.2 see the 7.1 Write characters to file, and Write to Spreadsheet file.vi's created in 7.2?
 
LabVIEW Professional Development Sysytem 8.2
Many thanks, Alan
0 Kudos
Message 1 of 5
(4,008 Views)

You should really have posted this question to the LabVIEW board and not the Instrument Control one.

But, to answer your question, I just upgraded (today as a matter of fact) and don't see the problem that you do. You aren't, by chance, loading a VI from an llb are you? If you are, when you created it, did you choose to include VIs from vi.lib? If you also did that, then that could be the cause of your problem. Write Characters to File doesn't even exist on the 8.2 palette and Write to Spreadsheet File has undergone some significatn changes as well. The conversion process will use functions that do exist in 8.2 but not if your old VI is pointing to VIs that exist in an llb.

Message 2 of 5
(3,996 Views)
Hi Dennis, thanks for the reply, congrats on the Knighthood.  Yes, that is what I am doing.  I assume I need to re-establish the original paths of the vi's.  Thanks.
0 Kudos
Message 3 of 5
(3,987 Views)
What you can do is first make a copy of the llb for backup purposes and delete the vi.lib functions with Tools>Edit VI Libary in 7.1. Open the library and make sure your top level VI still loads without errors. Save everything and then try to open it with 8.2.
Message 4 of 5
(3,983 Views)
Yes, it worked, I had a backup llb on another server, all I did was delete the llb, and 7.2 found the original vi's.  Then I opened 8.2, and all is well.  Thanks, your help is greatly appreciated.
0 Kudos
Message 5 of 5
(3,980 Views)