12-20-2018 03:13 AM
Hi,
I am launching a VI from TestStand and trying to abort the same in one scenario. When the VI is being called in a Teststand sequence, the abort invoke node gives out Error 1000, and the VI is not getting aborted. However, when I manually try to abort the running VI, it aborts and prompts the Run time error dialog.
Also, when I hover over the abort button, it shows the VI name as Test.vi.ProxyCaller. I have attached the VI that explains what I am trying to do, and the error obtained as well.
Could anyone let me know how I can achieve the abort functionality through the invoke node, and if I am missing something?
12-21-2018 02:40 PM
This is expected based on the text in the help. That VI won't abort since it knows that TestStand is waiting on it to return, just like any other synchronous caller. The Stop Function would work, but it's a bad idea... it will abort the VI anyway, not return any results to TestStand, and cause an error.
Why are you trying to abort the VI? If you're trying to stop an asynchronous VI, using termination monitor or a notifier would be a better choice.
Hope this helps!
Trent
12-03-2019 01:19 AM
Hi buddy, are you try to perform with loops too? If yes, skip that as of now.
Regards,
Seder Smith