02-14-2018 03:39 AM
Hi Community,
I have noticed that TS seems to execute a memory copy of one of my VIs instead of executing the VI itself. Poorly phrased, but what I want to say is that if I open that VI and then execute my sequence then when TS executes that step then my VI does not execute, just turns to "Run mode", like if I have pressed Ctrl+M.
This is only a problem with a VI or two, but I have no clue whats causing it. I'd like my VI to run in a normal way so I can debug it runtime when TS calls it.
Let me know if you have an idea.
Thx.
02-14-2018 03:47 AM
Most likely, your VI is setup to be reentrant.
02-14-2018 03:55 AM
Yeah, I was thinking about this and it is not reentrant, at least not the VI I directly call from TS.
Would I see this effect if any of the subVIs of my VI is reentrant? If so, is there a way to quickly find which subVI is set to reentrant?
02-14-2018 09:31 AM
Has the step been set to run 'Always in the RTE engine'?
02-14-2018 09:57 AM
Hmm... maybe its just me not knowing how TS handles the situation... So if I start running the sequence then open the VI after TS started to execute it then should I see it running or should I see it in the "run mode"?
Cause right now I had the VI open before TS started the sequence and now the VIs running, as I expected.
thanks.