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

cancel
Showing results for 
Search instead for 
Did you mean: 

Who can fix my VI to work in LV8? please help...

I wrote this VI in LV 7 and it worked great, I was forced to upgrade to LV8 and it no longer works. I will admit my knowledge of LV is marginal at best.
 
The VI is attached, It was using "open create replace file", "write to file", and "close file" These VI's no longer exist in LV8.
LV8 has decided to replace all of these VI's with "write to binary file" which is useless to people who need to view the file in Excel.
 
All i need is for this VI to write a proper 6 column data file, can somebody help me out here?
 
 
0 Kudos
Message 1 of 27
(4,003 Views)
I think there is an easy way to fix this? Could you not just save the file I/O VIs from 7 separately into your project (save as and name them something different), then open the whole thing in LV8? I don't have LV7 or 8, so I can't really test it myself, but, I wouldn't think that the VIs themselves would cease to work in LV8.
0 Kudos
Message 2 of 27
(3,978 Views)
There is still a Write to Text File vis in LV8.  It is further down in the same section (they are yellow now).
Randall Pursley
0 Kudos
Message 3 of 27
(3,971 Views)
It would surprise me if an 7.0->8.0 upgrade would drastically change the file I/O behavior.
 
Could you also attach your LabVIEW 7.0 version of the VI?
0 Kudos
Message 4 of 27
(3,971 Views)

Is the file attached in LV8 format? I can't tell.

I tried to used the Write to "" file but it will not accept my data type. I dont know what to do.

How would i load the lv7 vi's into my LV8? Im not very good at all with LV? 

0 Kudos
Message 5 of 27
(3,965 Views)


@Vr6Fidelity wrote:

Is the file attached in LV8 format? I can't tell.

I tried to used the Write to "" file but it will not accept my data type. I dont know what to do.

How would i load the lv7 vi's into my LV8? Im not very good at all with LV? 



Yes, you attachment is in LabVIEW 8.0.

Now I am really confused. Did you write the LV8 version from scratch or did you upgrade the working LabVIEW 7.0 version? What happened to the LabVIEW 7.0 version?

To load a LabVIEW 7.0 VI in LabVIEW 8.0, you simply open it as before after installing LabVIEW 8.0. 🙂 Is that waht you did or not?
0 Kudos
Message 6 of 27
(3,964 Views)
Here is the modified versions using the new versions of the file I/O functions.  There is still and Open/Replace/Create function in the same pallette.  The only thing that changed was the enumerated type input.  It change from 'create or replace' to 'replace or create' (or vice versa).

Did you uninstall LV7 before installing 8.0?  When I opened your vi it seemed to be fine.  I still have LV7 installed and LV8 found the vis in LV7 and loaded them just fine.


Message Edited by rpursley8 on 11-21-2005 11:09 AM

Randall Pursley
0 Kudos
Message 7 of 27
(3,952 Views)

Hi Christian et al,

Could this be an example of the VI in VI.lib being changed and not saved as a new name?

The pathe when opening the VI should give us a clue.

Sorry no LV8 on this machine yet.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 27
(3,950 Views)
I wrote the VI in LV7, on one computer and it worked fantastic no issues. Due to government contract requirements i am forced to buy a new computer and new Software. Since LV7 is not available i was forced to go to LV8. When i opened the VI in LV8 the "write to File" block had been replaced with "write to binary file" I cannot view the binary file in excel. I need the vi to write a spreadsheet like it used to. Can you fix it for me?
0 Kudos
Message 9 of 27
(3,950 Views)

Ok so i opened the "mod" version of the VI and it is exactally the way it was when i first opened it??? It still has "write to binary file" in all the places "write to file" should be.

Is that how it appears on your computer?

Are you running LV8?

Here is the data file that results from executing the "mod" version of the vi?

Is it in binary for you?

( i had to add the .xls extension manually to upload the file )

 

Message Edited by Vr6Fidelity on 11-21-2005 10:18 AM

0 Kudos
Message 10 of 27
(3,934 Views)