Hello All,
This is very odd, but I have a subVI that reads in data from a dstp URL. I have stored the URL address in a global variable, but everytime I run it in debug mode the URL address doesn't show. The indictor shows a blank string. I have even changed the indictor to display hex and it still shows blank.
However, what I run this same subVI in a different project it works just fine and I can see the URL address some out of the global variable.
Any help will be greatly appricated.
해결되었습니다! 솔루션으로 이동.
I think it could be that rats have chewed through your power cable. It's about as specific as I can get without seeing some code. 😉
What is "debug mode"? Where is the "indicator" located and how does it get written?
This does scream "Race Condition". Make sure the global variable(s) is/are initialized before any real code runs. In debug mode, you may be slowing down the thread that initializes the variable while the thread that reads it is running fast still, causing the reader to read bad/old data.