10-14-2021 04:04 AM
Hello,
I have made a sequence with LabVIEW libraries. I worked with PPL, so I referenced my LV project file, with the VI in the lvlib :
I set the Override Settings to target the right Build Specification :
When I was developping, during my tests, I had the Preloading Modules window. I always used the "Always run VIs in PPL" in the LV adapter options. Everything was fine.
Now, I need to go to production mode. So I deleted sources, and keep only PPL (lvlibp), and lvproj of course.
It is working at the end, but the "Preloading Modules" window is very very very slow (few minutes).
Do you know what's happening ?
10-26-2021 01:05 AM
Hi, Can you please post the files to reproduce this issue?
10-27-2021 04:51 PM
How do you manage dependencies in your project? Do you have your driver in labview\instr.lib directory? Are you sure that TS/LV can easily find your driver? I'm guessing that you have a problem with relative paths.
10-28-2021 03:24 AM
Hello,
All my drivers are packaged in a lvlib.
I attached a sample sequence with drivers. I also attached CPX400DP drivers if needed (provided by TTi company).
For this example, I timed the launching, from Click on "Execture >> Test UUT (F5)" until the dilogbox requesting UUT Serial number, here are the results :
- Sources directory keeped : 21s
- Sources directory removed : 4mn 40s (This is huge long time !)
Sequence is stored in "D:\Sequences\SomeTestSequence.seq" (D mounted via Windows command)
I have the following settings for this test :
LabVIEW Adapter Configuration :
Search Directories :
Thanks for your help.
10-28-2021 03:47 AM
Can you try to use lvlibp (packed)?
10-28-2021 04:01 AM
Il used lvlibp, but via the "Always run VI in Packed Project Library" LV adapter option.
The idea is to develop in LV edition mode, for the debug. When I want to push to production the sequence, I check the PPL option and I remove sources.
Of course, I can target directly the VI in the lvlibp, but I'm trying to use the PPL LV adapter option (available since TS 2019).
12-03-2021 02:05 PM
Does anyone from NI support could answer to this topic please ?
This new TS option about PPL was very promising but is currently not usable because of this problem.
Thanks
@CH_Fra a écrit :
Il used lvlibp, but via the "Always run VI in Packed Project Library" LV adapter option.
The idea is to develop in LV edition mode, for the debug. When I want to push to production the sequence, I check the PPL option and I remove sources.
Of course, I can target directly the VI in the lvlibp, but I'm trying to use the PPL LV adapter option (available since TS 2019).
@CH_Fra a écrit :
Il used lvlibp, but via the "Always run VI in Packed Project Library" LV adapter option.
The idea is to develop in LV edition mode, for the debug. When I want to push to production the sequence, I check the PPL option and I remove sources.
Of course, I can target directly the VI in the lvlibp, but I'm trying to use the PPL LV adapter option (available since TS 2019).
12-09-2021 12:39 AM
Hi CHI_RR,
Thank you for sharing the files, it helped me reproduce the issue.
There are a couple of reasons you're seeing the slowdown:
To prevent the slowdown, you can just avoid deleting the LabVIEW source files so the LabVIEW project loads without errors. If you simply don't want the source files around anymore, the step should be updated to directly use the PPL and not point to the source project and VI. This would mean some loss of information, since the step no longer ties the PPL to the source that built it, but you can choose to do that if that's your requirement.
Hope this helps you resolve the issue.
Thanks,
Tinu
12-09-2021 07:42 AM
Hi CHI_RR,
As Tinu called out, it is a bug and the issue is being tracked in Bug #1756316. It will be fixed in a future version of TestStand.
Regards,
Anand Jain
NI
12-16-2021 02:25 AM
Hi,
Thanks for tracking this issue.
For us (CHI-RR and me), deleting the sources files is a normal requirement on production test benches.
Imaging you have 20+ identical benches : it would not make sense to have the source files on each bench.
But it would be usefull for a developper to keep the ability to paste the sources files afterward to make debug or support without changing the .seq
Thanks