Behaviour of get_node #523
-
Hi, I was wondering about the behaviour of I'm trying to gauge if that might change in the future and possibly break that setup, as it's possible you might include a check. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
actually the node class is just a gathering of usefull highlevel methods otherwise you need to make lowlevel calls (like in uaclient). usually in my clients i try to avoid the nodeclass as much as i can because its one request for just one part of information (value, browsename, ...). i prefer to bundle those request and read multiple nodes attributes what so ever in just one request to reduce the network traffic (but check the servers maxnodesperbrowse, etc up front^^)! if you trace your opc ua application you will see a lot of unnecessary requests (at least my oppinion) a checkup from serverside wouldnt be so costly but from client side... it would be a request to verify the node exist. |
Beta Was this translation helpful? Give feedback.
actually the node class is just a gathering of usefull highlevel methods otherwise you need to make lowlevel calls (like in uaclient). usually in my clients i try to avoid the nodeclass as much as i can because its one request for just one part of information (value, browsename, ...). i prefer to bundle those request and read multiple nodes attributes what so ever in just one request to reduce the network traffic (but check the servers maxnodesperbrowse, etc up front^^)! if you trace your opc ua application you will see a lot of unnecessary requests (at least my oppinion)
a checkup from serverside wouldnt be so costly but from client side... it would be a request to verify the node exist.