08-02-2019
04:08 AM
- last edited on
12-04-2024
01:41 PM
by
Content Cleaner
Hello,
I'm using Teststand 2017 to control VeriStand 2018.0 via ASAM XIL Steps for Teststand. I've been able to deploy a project, run some RT sequences and so on. The only thing I'm unable to accomplish is an undeploy hat the end of my tests.
Can anyone help me as to how to undeploy VeriStand from Teststand?
Thanks,
MaWei
08-09-2019
09:45 AM
- last edited on
12-04-2024
01:41 PM
by
Content Cleaner
HI MaWei,
Have you looked into the Target Script Destroy on Target and Target Script Clean up steps?
You do also have the ability to use the VeriStand API in LabVIEW (or other programming Language) and deploy/undeploy from there in a code module, then call the undeploy code module from TestStand.
08-12-2019 01:33 AM
Hi Dane,
thanks for the suggestion. Maybe I've expressed myself a bit badly. I don't want to undeploy the RT Sequence (which works fine using the suggested steps), but the whole System Definition File from my Real Time target.
Regards,
MaWei
10-06-2020 02:44 PM
Hi,
I have the same problem, I can deploy a project using the ASAM XIL Steps, before this I used the Veristand Steps for TestStand from GitHub; with this there were a step to close veristand (undeploy the project and Close Veristand App)
Is it possible to do the same using ASAM XIL Steps?
05-09-2022 03:17 PM
11-17-2022 09:47 AM
I have the same problem. I saw in the ASAM XIL Teststand examples, that it works when you select "From Manifest" instead of " From VeriStand project" in the "Framework Create" step of ASAM XIL. It seems to work because of to the <UndeployVeriStandProjectOnDisconnect> flag in the port configuration XML file, which is supportet since Veristand R4 (see https://forums.ni.com/t5/VeriStand/Announcing-VeriStand-2020-R5/td-p/4148076).
However, is there also a solution if one uses the "NI Veristand project" step of ASAM XIL? If not, I would be willing to use the Manifest method. However, i would need to create a mapping XML file for all channels in the Veristand project. Since my project has too many channels to perform this manually, is it possible to extract the mapping XML file from Veristand?
11-17-2022 09:51 AM
11-18-2022 07:15 AM
That would be amazing, David.
11-20-2022 08:02 PM
I reviewed my ticket and I was hoping I forgot something but their feedback was there is no way to undeploy the project with ASAM when called "from Project". The response was that ASAM does not provide specific support for this.
As you discovered you can undeploy the project when using a manifest. All the options when using a manifest are listed here: https://www.ni.com/docs/en-US/bundle/veristand/page/asam-xil-port-configuration-tag.html.
I found that the maintenance required to use a manifest did not meet my needs so I continued to use "from Project". The project I used this method on never progressed far enough for me to cleanup closing the project but my plan was to use the LabVIEW VeriStand API to undeploy and close the project. I have used this method on earlier version of VeriStand/TestStand that did not include support for ASAM XIL.
11-21-2022 06:48 AM
@david, thank you very much for taking the time to review your notes. I was hoping for a clean and easy solution similar to the manifest. We also do not want to invest the required maintenance for a manifest compared to the Veristand Project. Therefore, I will use a workaround to solve the problem (although it will not be as nice as I was hoping).