Jump to content

TestStand OI+Labivew runtime+labview source+"Copy" deployment


Recommended Posts

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,

post-232-0-33531700-1338971184_thumb.png

post-232-0-19401700-1338972627_thumb.png

Edited by ronghuaw
Link to comment

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

Link to comment

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.