06-06-2016 06:21 PM
I've come across code recently that is using VI server to manipulate controls in other LabVIEW-built applications and they are setting a value and then checking that value immediately afterwards. This seems strange to me. I would assume that if the value didn't get set then there would be an error coming from the property node that is being used to set the value.
So, is there any reason why you would need to check the value of a control that you just set via VI Server?
06-06-2016 07:50 PM
06-06-2016 08:24 PM
It is always difficult to make judgements about "invisible code". I agree with Mike that what you describe doesn't make sense, but I have to wonder if what you describe is entirely what is happening.
Can you post the "code using VI Server" and let us "see for ourselves"? I can think of some circumstances where one might want to have such a check (for example, if you set a value and it comes back as "the same as before", maybe the code that you think is running on the other machine has crashed ...). Once we see what you're looking at, we can make fewer guesses.
Bob Schor