08-15-2023 04:03 AM
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.
Quell data:
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.
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?
Solved! Go to Solution.
08-15-2023 05:21 AM - edited 08-15-2023 06:12 AM
Found the Solution.
It was the setting for the .lvclass dependency.
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
08-15-2023 05:51 AM - edited 08-15-2023 05:53 AM
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?)