LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 7

Hi,

 

I have existing code that was written originally in LabView 2011.

 

I am running the code in LabView 2012 and I am encountering the following error 7 when the report generator is being called:

 

Value.vi

     Complete call chain:
     Get LV Class Default Value.vi
     NI_report.lvclass:New Report.vi
     Print Header ******.vi
     ******.vi

LabVIEW attempted to load the class at this path:
C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Utility\NIReport.llb\Word\NI_Word.lvclass

 

I have seen people have problems with executables that they created from development code but my problem is the other way around. It is happening when I am running the development code.

 

Does anyone have any ideas?

 

Many thanks

0 Kudos
Message 1 of 4
(2,979 Views)

There were major upgrades to the Report Generation TK between 2011 and 2012.  you may be seeing a mutation error.  However, I do not see "Value.vi" anywhere in the toolkit in either 2011 or 2012.

 

Is it possible that someone added something to vi.lib? 

Can you attach code from 2011 (Working) and 2012(Error)?

A screenshot of C:\Program Files\National Instruments\LabVIEW 2012\vi.lib\Utility\NIReport.llb\Word\NI_Word.lvclass would help show any missing dependancies.


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 4
(2,972 Views)

Hi,

 

The code is as it was when running under 2011.

As my PC uses 2012, I am simply running the code and have not changed it at all.

 

The error occurs when trying to use the New Report.vi

 

Having analysed the error in more detail, the actual sub vi (within New Report.vi) that generates it is <Get LV Class Default Value.vi> . The original error that I posted was incorrect. It should be ...

 

Get LV Class Default Value.vi<APPEND>

<b>Complete call chain:</b>
     Get LV Class Default Value.vi
     NI_report.lvclass:New Report.vi
     Print Header BSUT.vi

<b>LabVIEW attempted to load the class at this path:</b>
C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Utility\NIReport.llb\Word\NI_Word.lvclass

 

The directory ....\NIReport.llb\Word did not exist originally. So basically it couldn't find the file NI_Word.lvclass. So what I did was to create the directory ....\NIReport.llb\Word and copy NI_Word.lvclass into it. This did not work with the resulting error shown above.

 

So basically I am stuck! I don't wont to go back to 2011 as we have upgraded to 2012 so would like to find a solution to this.

 

Many thanks.

 

0 Kudos
Message 3 of 4
(2,950 Views)

That makes a bit more sense.  un install and Re-install the toolkit.


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 4
(2,931 Views)