05-26-2009 06:32 PM
I have all the code (sequences and LabVIEW vis) residing in one directory. All code for this project resides within this one directory only. When I build the top-level sequences using TestStand deployment tool for this project, I can see the vi hierachy of the vis that get directly called by TS is not changed but all the suvis go into a SupportVIs folder. Is this the only thing that the deployment tool does - putting all subVIs in a Support folder or am I missing something?
My real question is 'Can I run this sequence using RTE without building the top-level sequences?' Since all my code resides in a single folder, I am not sure whether I really need to be using the deployment tool. If TS RTE requires the subvis in the SupportVIs folder, I can see the need, but I am not sure why NI would have set it up that way.
I could of course test this out also in a bench but before doing that, I was wondering whether anybody can answer this question.
Thanks!
05-26-2009 08:42 PM
05-27-2009 05:45 AM
Hi,
You can switch the deployment of sub VIs into a LLB off as part of the Deployed files setup.
Can remember the exact setting, but I'm sure this has come up before. Have you tried a search on Deployment?
Regards
Ray Farmer
05-27-2009 05:47 AM - edited 05-27-2009 05:49 AM
Hi,
I think it's in LabVIEW Options.
http://forums.ni.com/ni/board/message?board.id=330&message.id=23039&query.id=7007#M23039
Regards
Ray Farmer
05-27-2009 10:34 AM
Thanks Jervin and Ray!
LabVIEW RTE in the deployment system basically drives the need for the rewiring into SupportVIs folder. This was something I was not aware of.
05-27-2009 11:54 AM
Sorry to re-open this thread again. I was able to do some testing. Without using the TestStand deployment tool, I was able to run my top-level sequence.
Here is my test scenario:
- I had a top-level TestStand sequence in my development PC that called a vi which called multiple sub-vis. The sequence and all vis were in one parent folder but in multiple sub-folders.
- I copied this folder to my deployment PC with TestStand RTE 4.0 and LabVIEW RTE 8.5 and was able to run the sequence without any issues.
So the answer to my original question whether I need to use the TestStand deployment tool was 'NO'. I understand the TestStand deployment tool compiles all the vis in the latest version of LabVIEW and organizes all the sub-vis in the SupportVIs folder. This is especially useful when you are using vis called from NI user libraries and you don't have to keep track of these folders. But my use case is that all my code is contained within a folder and all my vis have been properly compiled in LabVIEW 8.5. In such a scenario, using the Deployment tool gives me nothing. Let me know if my reasoning is not correct.
05-27-2009 02:13 PM - edited 05-27-2009 02:16 PM
Hi,
You dont have to use the Deployment Tool, use what ever method works for you.
The Deployment Tool should make life a bit easier especially if you have a sizeable project to deploy.
The one it TestStand Version 4.2 should make it a bit easier.
Just looking at my example, althought the LabVIEW Options shows the support VIs in a SupportVIs folder. They dont have to go there.
It all depends how you have define the destination folders in the View Destination window. (see new picture)
You will notice that the support VI's are defined in the one LLB file
Regards
Ray Farmer
05-27-2009 03:18 PM
Ray - Thanks.
We are trying to roll out our code from our source code control to our production PCs. My original question was more targetted at this situation. I might have to open a new thread to explain our actual scenario. But I think I have the answer now.