LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2019 executable no reference to "NI_Word.lvclass" - (new device, without LabVIEW)

Solved!
Go to solution

Hello Community,

 

i need some informationen about the data management (windows with LabVIEW 2019).

I am programming on a windows device that has the full labview 2019 programming environment installed.
And create an executable for an end user who only has the runtime 2023.

When I create the executable, I put the references from c: "NIReport.llb" in the .exe.

Dwert_0-1692089747417.png

Quell data:

 

Dwert_1-1692089815477.png

Edit Reference

 


However, I get a reference error for the .lvclass.
But if I put the "NiReport.llb" in the project folder where the executable is, It can execute the command.

Dwert_2-1692089914449.png

 

Full reference programming device:
C:\Program Files (x86)\National Instruments\LabVIEW 2019\vi.lib\Utility\NIReport.llb\Word\NI_Word.lvclass

 

Full reference executable device:

C:\Tools\NIReport.llb\Word\NI_Word.lvclass

 

1. Where is my problem when including a .lvclass for a runtime device?

Or is it an access to a .dll what isnt there?

 

0 Kudos
Message 1 of 3
(1,407 Views)
Solution
Accepted by Dwert

Found the Solution.

Dwert_0-1692096870556.png

 

It was the setting for the .lvclass dependency.

Dwert_1-1692097575210.png


With the secound ".exe" for data target it works.
1.  caller
2. "yourdata".exe

 

 

For anyone the error message was:

Code 7, NI_Word.lvclass:new report subVI.vi -> NI_report.lvclass:Create Report.vi -> Haupt.vi

 

offtopic:

I should mention that I am calling a Word document which has a fixed reference in the .exe folder.
Make sure that you specify the path internally correctly and that this is also accessible.
I had turned off the path check for all existing folders.
- Then it was no reference created

- this hidden reference passed to the .word that has subsequently also generated an error.

 

therefore for the sake of completeness. here the whole error message!

 

Code, LabVIEW: Invalid input parameter.
For example, if a path is present at the input, this path may contain characters such as ? or @ that are not allowed in the operating system in question.
=========================
This command can only be used if the GPIB controller is the active controller.

 

Follow-up error:

Code, 
Exception occured in Microsoft Word: Der Bereich kann nicht gelöscht werdenHelp Path is wdmain11.chm and context 25508 in NI_ReportGenerationToolkit.lvlib:Word_Insert_Header.vi->NI_Word.lvclass:Set Report Header Text.vi->Haupt.vi

0 Kudos
Message 2 of 3
(1,382 Views)

Hi Dwert,

 


@Dwert wrote:

It was the setting for the .lvclass dependency.
With the secound .exe it works.
1. how caller
2. how .exe


Mind to explain that "solution" with more details so anyone else with the same problem can also solve it?

 

(GoogleTranslate ist mittlerweile recht gut beim Übersetzen von Deutsch nach Englisch: vielleicht hilft dir das beim Schreiben deiner Beiträge?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 3
(1,370 Views)