09-06-2016 08:40 AM
Hello,
I am working on Diesel Injector measurement system. For controlling test bench LabVIEW(Full development system sp1) is used.
Problem in detail:
Main Program will call another VI(it is in Project packed Library called as Test Panel).
Everything work fine in development system but when I try to make an Application at that time Test panel program start & within one second it is closed ,Application become unstable.
Thank you in advance
Solved! Go to Solution.
09-06-2016 08:47 AM
bhavin008 schrieb:
Main Program will call another VI(it is in Project packed Library called as Test Panel).
Everything work fine in development system but when I try to make an Application at that time Test panel program start & within one second it is closed ,Application become unstable.
Could you please elaborate what you mean by Test Panel?
Generally speaking, EXEs can differ from the DevEnviroment in path constants and dependencies. Is it possible, your PPL is not included in the build?
09-07-2016 12:53 AM
Test panel is a module program,included into PPL
In the following pic, I am working with 'Module Program Labview2010' that send message or data to PCRs5 through 'Testpanel ppl'
yes PPL is included into the build.
09-07-2016 03:31 AM
Thanks for the clarification. Will you get an error message when TestPanel stops executing? Am I understanding right, you are still using LV2010?
09-07-2016 04:03 AM
No,There is no Error message. Frontpanel of Testpanel directly disappear (may b closed). moreover after this operation when I start Testpanel seperately from PPL (Without calling from my VI ) then still such a strange behaviour(According to me , It's because some references in PPL not closed last time properly ,m not sure about it).
yes our all other development work is in LV2010 so still i am using 2010..
09-07-2016 04:25 AM
bhavin008 schrieb:
.... moreover after this operation when I start Testpanel seperately from PPL (Without calling from my VI ) then still such a strange behaviour(According to me , It's because some references in PPL not closed last time properly ,m not sure about it).
Sorry for asking over and over again, I'm trying to narrow down facts...
When Testpanel has crashed and you're calling it "directly" you mean trying to run it from LabVIEW development system? Where (the folder) is the PPL you're opening actually situated?
09-07-2016 06:00 AM
No problem...
Test panel is crashed when i run application(that call Testpanel in ppl).and after that when i run testpanel seperately from ppl(through development system) so again it is crashed.
checkout Project explorer image
M09_PCR_s5_FPST_Main_V1.0_160728.vi will call testpanel module from PPL . both are highlighted in image.
thanks in advance
09-07-2016 06:28 AM
Could you send a screenshoot of the Exe build folder?
So if you do the following, what will happen:
1.) Start the Exe (resulting in a crash of TestPanel), LabVIEW not running
2.) Close the rest of the application.
2.) Open LabVIEW, open the PPL in your development folder (which will cause TestPanel to crash again)
3.) Close LabVIEW, Restart LabVIEW, open PPL from development system.
BTW... is your PPL using asynchronous processes running in the background that may be left open when irregularly shutting down TestPanel?
09-07-2016 08:16 AM
here i attach the screenshot and
ans 2,3 : solved (cause Testpanel was not able to find INI file but now it's working)
now only problem with exe(1)
moreover i do not have more detail of PPL because it's provided by external supplier (Everything password protectd..)
in past message as you told thatconstant path will affect exe (i mean when calling a SubVI from EXE). could you please give some link or explanation about it ? if possible .
09-07-2016 08:28 AM