08-25-2009 10:01 AM
Hello LabVIEW Folk,
I have error -201003 feeding into a property node setting the disable trait of a boolean control that causes the properties not to be set. The error is just a USB carrier not plugged in to the USB port so that is not the issue. It seems that the error should not cause lack of property node execution. Clearing the error before the property node results in proper function of the property node.
Any ideas?
Thanks,
HLB
08-25-2009 11:00 AM
Almost all built-in functions and VIs will not execute their code if they have an error in their error input. The logic for this is that if you have an error, you don't want the rest of the code to execute (because something's wrong) and you want the source of the error to remain in the error cluster so that you can log or handle it.
This is a common pattern in LabVIEW and if you want the node to ignore the error, you can use the Clear Errors VI before it and Merge Errors after it, although this is a construct I personally dislike.
Two additional points:
08-25-2009 02:23 PM
Ok, that is good. Just need to handle the error, not bypass it.
Thanks tst,
HLB