08-06-2010 06:17 AM
Hi all,
I am using LabVIEW 8.5.1 and TestStand 4.1. I have done a TestStand sequence with a VI in it, which uses Report Generation Toolkit elements. On my machine I am using LabVIEW and TestStand with a Development System license. On the other machine I am using TestStand with a Base Deployment license and I have chosen the LabVIEW 8.5 Run-Time Engine in the Adapter Configuration. Everything is running well except of this VI with Report Generation Toolkit elements. The error message is showing that the VI is not executable. It works well only after I have installed LabVIEW with an Evaluation license and chosen LabVIEW 8.5 Development System in the Adapter Configuration.
I have found other posts and a document in the KnowledgeBase with a similar problem: http://digital.ni.com/public.nsf/allkb/8A0E6274D9BD7B1986256F62006AD402?OpenDocument But I am not using EXE files in my sequence, so I don't know how to solve mine. Anybody has an idea?
Solved! Go to Solution.
08-06-2010 06:58 AM
I have also found this document in the KnowledgeBase: http://digital.ni.com/public.nsf/allkb/9E00E7EFE0635E678625734600779EFE
But after copying all files from ..\addons\_office\ to C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.1\Components\RuntimeServers\LabVIEW\data\ nothing changed. I still get the same error. Do I have to uninstall the LabVIEW 8.5? Are there any other things to do?
08-09-2010 07:57 AM
Ok, uninstallation of LabVIEW didn't help, now the driver VI are missing too... Nobody had a hint to my problem meanwhile...is my description not precise enough? It is very simply to try this out: Just build a VI with Report Generation Toolkit functions in it. Then place it in a TestStand sequence, choose LabVIEW Run-Time as Adapter in the "Configure > Adapters..." Menu. And do a "Single Pass". I am trying since a couple of days and running out of ideas...
08-09-2010 08:36 AM
Hello Roman,
the issue you mentioned is because of the fact that the "report generation toolkit" was developed including OOP and SubVIs are called dynamically. That's why in a run-time environment the module is not executable.
You should build a source distribution out of the "report generation module" including all dependencies.
Regards
Rüdiger
08-09-2010 08:39 AM
Thank you very much Rüdiger for your reply,
could you please tell me how I could build a source distribution out of the "report generation module"?
Kind regards, Roman
08-09-2010 10:13 AM
Hi,
please read the article below.
Link:
http://digital.ni.com/public.nsf/allkb/F3DC40A6E3F3B25B862570AD005D1D3D?OpenDocument
If you are creating a source distribution, keep Exclude vi.lib, Exclude instr.lib, and Exclude user.lib checked.
If you are creating an application distribution, uncheck them all. PLEASE DO SO!!!!!!
Regards
Rüdiger
08-09-2010 06:22 PM
Rudiger,
Can you clarify your answer. Are you saying that this document is no longer valid and that the TestStand Deployment Utility in no longer up to the task of creating application distributions.
Roman,
I would check to see if the VI Server is installed and running on your target machine. If you followed your earlier link it should work. You might want to post this to the TestStand board with a link back to this post so the folks there know you cross posted.
Hope this helps.
08-09-2010 06:56 PM
Roman,Rudiger
There is a better document here. This deals with the particular instance where you are using LabVIEW 8.6 and later with TestStand 4.1.1 and earlier. I beleive Roman said he was using LabVIEW 8.5.1 which should include Report Generation Toolkit 1.1.2. Roman can you verify in MAX>>LabVIEW 8.5.1>>Report Generation Toolkit?
08-10-2010 02:28 AM
Hello GovBob,
the document you pointed to is correct. I ignored the fact that Roman is working with LV 8.5.
Thanks for your answer on this thread!
Rüdiger
08-10-2010 03:46 AM
Hello guys,
thank you very much for your answers!
@Ruediger:
I tried to follow the instruction for Method 2 in the mentioned document: http://digital.ni.com/public.nsf/allkb/F3DC40A6E3F3B25B862570AD005D1D3D?OpenDocument, but the steps on my machine are different starting from step 4. After I click "Continue..." in step 3, I dont get a window, the system just makes a new folder with the same VI.
To be honest, I am new to LabVIEW and have some difficulties at this time. What I understood from your reply is, that I need to make a LLB-File, where the files from Report Generation Toolkit are in!?
@GovBob:
I was following the instruction in the document: http://digital.ni.com/public.nsf/allkb/9E00E7EFE0635E678625734600779EFE, but it wasnt working. Can you please tell me how I can check if the VI Server is installed and running on the machine?
I am using LabVIEW 8.5.1 and TestStand 4.1 on my machine, on the deploy machine there is TestStand 4.1.1. The version of my Report Generation Toolkit is 1.1.2.
Kind regards, Roman