08-23-2013 04:19 PM
I am able to use the VI you attached in TestStand 2013 when using the auto-detect LV RTE option in the LabVIEW adapter configuration.
However, thinking about this a bit more, there have been some issues that we have fixed with TestStand calling into packed libraries in different versions of LabVIEW. In particular I remember a compatibility problem with LabVIEW 2012 SP1 fixed in the f2 patch.
What version of LabVIEW and TestStand are you using? Do you have all the latest patches for the TestStand version and LabVIEW version you are using?
08-23-2013 04:23 PM
Both my labview and TestStand are 2010SP1. I don't think I have the patches you are talking about since the version I am using is a littble bit old.
08-26-2013 10:08 AM
TestStand 2010 SP1 has a known issue (fixed in a patch) that crashes LabVIEW when loading a packed project library:
http://digital.ni.com/public.nsf/allkb/52781CADD4AFEEEE86257A68006118FA?OpenDocument
Please download the patch from http://joule.ni.com/nidu/cds/view/p/id/3485/lang/en, that might fix the problem
Hope this helps,
Francisco
08-26-2013 10:34 AM
Hi Frank,
Thanks for your reply. I just found my teststand version is 2010 and I can't install the patch since it's for 2010 SP1. Is there any patch for 2010?
08-27-2013 04:05 PM
Tambrook,
Sorry for the delay in replying, but I have spent a bit of time trying to reproduce the problem and so far I haven't had any luck, even when using TestStand 2010 and only installing the LabVIEW 2010 RTE to run the packed library you created.
As a general rule it is a good idea to keep up to date with patches and service releases (and the upgrades are free for customers who purchased the major release); however, after investigating this I am not sure this would resolve your problem.
You can find information about the TestStand 2010 f1 patch here: http://digital.ni.com/public.nsf/allkb/9EE0FDA89E6612158625787A006CF5A4 and you can download it from this page: http://joule.ni.com/nidu/cds/view/p/id/2365/lang/en
Can you think of anything out of the ordinary in your machine that you have not mentioned in the post? I have tried reproducing in a machine with TestStand 2010 and LabVIEW 2010 Run-Time Engine without much luck. Are you able to reproduce in other computers?
Hope this helps,
Francisco
08-27-2013 04:54 PM
Hi Frank,
Thanks a lot for your help. The patch works. i will definitely do it for all the other PCs.
08-28-2013 10:26 AM
Great to hear that! 🙂