01-31-2014 02:59 PM
Hi, I'm very new to TestStand. I'd like to catch debug information when TestStand have errors. I'm thinking of making a VI in LabView, but the first problem is how I could pass the error status to LabView. Are there any examples?
02-01-2014 11:46 AM
There are couple of ways to do this depending on where the code you want to call lives. If you are writing your own UI in LabVIEW and want to handle the error there then you could just handle the runtime error UIMessages from the ApplicationMgr.UIMessageEvent callback.
More likely though you are wanting to call a .vi from a sequence. If so you can use the post step runtime error callback as shown in this example:
<TestStandPublic>\Examples\Callbacks\PostStepRuntimeErrorCallback
Hope this helps,
-Doug