12-02-2016 09:34 AM
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.
Solved! Go to Solution.
12-02-2016 12:24 PM
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. 😉
12-02-2016 01:52 PM
What is "debug mode"? Where is the "indicator" located and how does it get written?
12-02-2016 07:32 PM
12-05-2016 07:12 AM
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.