LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The tag engine is taking over my computer

I am trying to develop software for a system that will interface with a PLC through the DSC Tag Engine. I have a debug mode that keeps any of the code that deals with DSC from being called, but the tag engine tries to automatically launch anyway. When it launches it takes about 30 seconds to load then I get about 5 to 10 seconds to control my application before the tag engine automatically relaunches itself. This continuous cycle basically locks up my computer and prevents me from doing anything. Even when I end the DSC Engine process it relaunches atomatically and takes over again.

Please let me know if there is a way I can prevent the engine from launching.


Thank you,
David R. Asher
Certified LabVIEW Architect since 2007
0 Kudos
Message 1 of 6
(3,237 Views)
Yes it is possible, but it is also possible to have bugs in any "debug mode" (e.g. a forgotten Read Tag.vi that gets called). Have you tried running with execution highlighting on to see where in your code the Tag Engine is starting up?
=====================================================
Fading out. " ... J. Arthur Rank on gong."
Message 2 of 6
(3,220 Views)
I ran it with execution highlighting on and it launches the Tag Engine before it executes any code at all. There isn't any DSC related code getting called, yet the engine keeps relaunching itself. I get the same problem trying to run this on other machines.

Thanks,
David R. Asher
Certified LabVIEW Architect since 2007
0 Kudos
Message 3 of 6
(3,198 Views)
" it launches the Tag Engine before it executes any code at all"

Shoot, I forgot about the options from the menu: Tools>DSC>Options

Is "Start Engine When Labview Starts" On or Off?
=====================================================
Fading out. " ... J. Arthur Rank on gong."
Message 4 of 6
(3,194 Views)
I was unaware of that setting, but that box was not checked. There are a few other options in that dialog that look interesting, but the current values don't seem to be set to anything that would cause the tag engine to launch.

Thanks,
David R. Asher
Certified LabVIEW Architect since 2007
0 Kudos
Message 5 of 6
(3,189 Views)
Hi David,
First a question just so I’m not misunderstanding. With:
“When it launches it takes about 30 seconds to load then I get about 5 to 10 seconds to control my application before the tag engine automatically relaunches itself.”

Is my interpretation that you try to kill/exit the Tag Engine repeatedly, but it keeps coming back correct? Or does it launch itself, then shutdown itself in a neverending cycle of frustration?

Anyways, a couple more possible causes of the Tag Engine launching before any code executes come to mind.

1) Tools>DSC>Advanced>Startup VIs...
Anything there that you forgot about? Somehow I doubt this, but if not there's always ...

2) Are you using any front panel datasocket connections?
If yes: Are any of your connections intentionally or accidentally to items with a url like “blah://blah/National Instruments.OPCLabVIEW/itemname”?
=====================================================
Fading out. " ... J. Arthur Rank on gong."
Message 6 of 6
(3,168 Views)