NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How enable engine callbacks in model plugin sequences

Hi,

 

I am currently doing some design on a customer system using a model plugin sequence to integrate their process control system and keep standard Test Stand Models. I am however having some problems enabling an engine callback e.g. ProcessModelPostStep in the model plugin sequence. I can enable it in the Sequence File Callbacks... dialog, but it will never get called. It works fine in the Sequentialmodel, but I thought that the idea with the model plugins was to have customization separated from the standard model. Is there a way to indicate that an engine callback should be called or can the Process Model Callbacks only be called from the process model?

 

My model plugin sequence is created with the Advanced option in the Result Processing... dialog.

0 Kudos
Message 1 of 3
(4,550 Views)

Plug-ins currently don't support that directly.

 

Depending on what you need to do, you might be able to use the Model Plugin - OnTheFly Step Results entry point with a maximum number of results per call of 1.

 

If not, I heard a mention of someone who was working around this by dynamically adding and removing the callbacks they needed from the model file. I did not hear how well this worked out for them, but it sounded like it might be doable.

 

- James

 

0 Kudos
Message 2 of 3
(4,532 Views)

@James

 

Thanks for your suggestion. We are already using the OnTheFly Step Results for result recording and setting the results per call would slow our system too much. Doing the dynamically add and remove of the callbacks in the model is something we could do, but I don't feel it is the best solution. I had hoped that the Model Plugin features would be more mature, so there was no need to do any changes in the model. But for now I guess that we are stuck with the dynamically add/remove in the model.

 

-frixus

0 Kudos
Message 3 of 3
(4,511 Views)