10-15-2014 01:56 PM - edited 10-15-2014 02:17 PM
I'm not sure if this is expected behavior or not but lets say I specify in my accessor that I'm going to ignore all errors like this:
Now when I use my accessor like this
I would expect level to be 8 at the end because each time it ignores the error and above code runs. But that is not what happens, the first VI runs but the second doesn't and the object has a level of 7. I thought using the property node accessor and the subVI accessor were the same. Why is the latter disregarding my error handling mechanisms?
10-15-2014 02:04 PM
InfiniteNothing wrote:But that is not what happens, the first VI runs but the second doesn't and the object has a level of 8.
That sounds like it worked fine to me (you got the output you expected).
10-15-2014 02:09 PM
Good catch. I meant it ends up 7.
10-15-2014 02:21 PM
Then I would say it in fact does operate as expected. No p-node executes with incomming error. The only caveat to that is "ignore errors inside node" where if an error occurs in one property access, subsequent properties may still try (but, it still won't execute with incomming error.) Breaking that "No p-node executes with incomming error" paradigm would probably confuse the snot out of most developers and make debugging a nightmare. Especially if the Class was locked!