From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Override Teststand callbacks from LabVIEW.

Solved!
Go to solution

Hello,

I have a test sequence and I want to override the "SequenceFilePostStepRuntimeError" callback from a LabVIEW code module.

EngineCallback.png

I tried to register for callback event in LabVIEW but I was unable to find a callback with this name. I just found the UIMessageEvent.

EngineCallback.png

I would be very grateful if anyone could help me with hints on how to override Engine callbacks from LabVIEW.

 

 

 

 

 

0 Kudos
Message 1 of 3
(2,487 Views)

What you are trying to do can't be done, nor does it make sense.  Maybe you can elaborate a little more on what your goal is and there is a better way to accomplish it?

 

In your images you are looking at 2 very different kinds of callbacks.  The first image shows an Engine Callback which is native to TestStand.  The second image shows an event callback which is native to LabVIEW (yes I get that they are coming from the TestStand engine, however, that is because those are the events for the engine class.  Totally different animal than the purple sequences defined as Engine Callbacks).

 

This describes Engine Callbacks: https://zone.ni.com/reference/en-XX/help/370052R-01/tsfundamentals/infotopics/engine_callbacks/

 

And this describes the events for the engine class: https://zone.ni.com/reference/en-XX/help/370052R-01/tsapiref/reftopics/engine/  Apparently there is only 1.

 

 

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 3
(2,470 Views)
Solution
Accepted by topic author HichemB

Thank you 

 

 

 

0 Kudos
Message 3 of 3
(2,443 Views)