NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW runtime error in TestStand

Going through the initial description of the issue:

 

are the other VIs you are refering to as woirking also called from a lvlibp? If so, are they also using DLLs ?

0 Kudos
Message 11 of 22
(2,187 Views)

Yes, all the VI's are called by the packed library like the DLL. No, for the PDF there is only one DLL (the one we talked about before).

0 Kudos
Message 12 of 22
(2,184 Views)

Just to throw in different ideas, getting more creative: 

 

have you been able to build a deployment using the configuration as it is?

0 Kudos
Message 13 of 22
(2,150 Views)

Well, i've already built the packed library and used it, it works fine except for the first run as i told you before.

This is the reason why i'm going crazy on this... it return error only the first time, it doesn't make sense to me since if i try to run it again (without closing TestStand, just by ending that execution and starting a new one) it does everyting perfectly...

Is this what you meant or something else?

0 Kudos
Message 14 of 22
(2,143 Views)

I was actually thinking of creating a deployment of your TestStand project using the TestStand Deployment Tool

0 Kudos
Message 15 of 22
(2,137 Views)

Could this fix my problem somehow?

 

0 Kudos
Message 16 of 22
(2,129 Views)

Not neccessarily.... yet it might help for diagnosis

 

Actually clutching at straws.....

 

Though I am wondering, how you want to deploy your code to the actual TestBench

0 Kudos
Message 17 of 22
(2,123 Views)

What is the LV version of the code creating the PDF ?

 

TestStand doesn't like to cross LV versions in the same execution unless a check box is checked in the adv options (I need to find which one it is).

 

If you LV version for you own code is LV2021 but the code for the PDF generation is compiled with another LV runtime, it will generate such issues.

If your code to generate the PDF is a PPL compiled to work on 'newer version of LV', this is not sufficient, you'll still have to set TS to allow loading different versions of the LVRTE.

 

EDIT :

So the options is actually in the LV adapter options -> Advanced

CyGa_0-1695912533547.png

 

Try with this setting checked, and let us know if it resolves the issue.

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 18 of 22
(2,103 Views)

Yeah unfortunately the LabVIEW and TestStand versions are different, is not my choice, both 64bit but LabVIEW is 2021 and TestStand 2020 (i have installed the 21.0 runtime).

I've tried to enable the option that you talked about but nothing changes, still pops up error at the beginning of the first execution.

0 Kudos
Message 19 of 22
(2,093 Views)

Sorry to hear that!

Just to make sure, did you restart TS after applying the option?

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 20 of 22
(2,081 Views)