06-13-2013 10:07 AM
If a [TRUE] error condition is preset at its input terminal:
Are my guesses at the behavior correct? If not, what is the real behavior? This is for LabVIEW version 11 and newer.
Thanks!
Solved! Go to Solution.
06-16-2013 08:56 PM
Hi WNM,
I made a sample vi and tested this condition with a shared variable and your above guesses correct. With shared and user-defined variables the default data type is returned when it is read and the last value that was written to the shared variable is maintained when writing to it (when the error input to the variable is TRUE).
Regards
06-17-2013 09:00 AM
Thank you Arham! I'm sorry you had to go to the trouble of creating a test VI to get the answer. I thought that this might have been documented somewhere and I was just missing it. It still may be documented somewhere but sometimes creating a test VI is the quicker path to an answer than is a search for where the documentation is stored and the test VI is probably the more conclusive answer anyway.
In any case, thanks to your answer, it is now documented in a manner that should not be too hard for others to find, should they have the same question.
Thanks again.