ronghuaw Posted June 6, 2012 Report Share Posted June 6, 2012 (edited) Pls forgive my english, let me explain first. I developed the VI and teststand sequence on the development PC that everything works fine and now i like to deployed to the target PC. I have reuse lib at C:Program FilesNational InstrumentsLabVIEW 2010User.lib folder. On target PC only labivew runtime/teststand engine/OperatorOI installed no User.Lib folder, OK ...i just copy user.lib folder from development PC and put in the same path on the target PC, same process as other Dependent lib inside VI.lib/Instrument Lib/etc. and for the specific UUT test sequence and support LabVIEW VIs like "c:Intel486" i just copy from the development PC to the target PC and keep the same path. why i doing this is i want each specific UUT sequence has separate installer and keep same folder structure on the development and target PC. Here are the problem-> if i have very simple teststand sequence(only one vi call only show the dialog) without calling reuse vi in the LIB then everything works on the target PC, but if use the vi in the user.lib or others then the error message as attahced screen shot. anyway it's have chinese,but it seems the vi can't find it's subvi. I search internet that get few information and if i understand correctly that teststand deployment tool process the vi and put the subvi on the supportVI folder and the call relationship on that folder. but here i keep the same folder structure on the development and target PC but still no lucky. i know that target PC only have the labview runtime engine so it can't change anything inside during load vi even vi have same name on the labview search path. So the point is can i deployment teststand and labview vi like this way? If can, how? what's the process? BTW, i don't like use the teststand deployment tool as i like keep same folder structure between developement PC and deployment PC. thanks, Edited June 6, 2012 by ronghuaw Quote Link to comment
ronghuaw Posted June 6, 2012 Author Report Share Posted June 6, 2012 I forget mentioned that developement and target PC have same developemnt and runtime version.(TestStand2010+LabVIEW2010) Quote Link to comment
ronghuaw Posted June 7, 2012 Author Report Share Posted June 7, 2012 http://www.ni.com/white-paper/9923/en http://digital.ni.com/public.nsf/allkb/49A380D75C705AE1862575DB0005503D?OpenDocument http://www.ni.com/white-paper/7061/en Here are the useful link for teststand deployment, but it doesn't resolve my problem, i'll continue try Quote Link to comment
ronghuaw Posted June 7, 2012 Author Report Share Posted June 7, 2012 Simple test just now, that keep same folder path on development and deployment PC. Only one SubVI, no dependecies. 1. If the teststand sequence and calling VI and subvi in the same folder then no problem even the subVI on the development locate on user.lib folder. 2. move the SubVI from the calling VI folder to the User.lib folder then error again. It seems need add search path to the labview runtime engine path? here the guy seems has same problem http://forums.ni.com/t5/LabVIEW/Setting-Search-Directory-with-LabVIEW-RTE/td-p/402959 Quote Link to comment
ronghuaw Posted June 7, 2012 Author Report Share Posted June 7, 2012 another useful link Quote Link to comment
Roderic Posted June 7, 2012 Report Share Posted June 7, 2012 Did you configure the search directories on your target PC? Quote Link to comment
ronghuaw Posted June 7, 2012 Author Report Share Posted June 7, 2012 yes...i already add search path to the both place 1. As i use the labview based OI...i add the search with "*" in the labview execution file config file. 2. add search path to the Teststand OI. it seems can't deploy the VI as "copy" method with teststand....only possible way will be use the source distrubtion....but it's a little bit hard to keep the same foder structure between development and target PC. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.