02-23-2016 02:00 PM
I have several numeric field widgets on my Amulet and was wondering if continuously updating the Amulet href byte value in LabVIEW is considered bad practice? Or should the href byte value only be updated when it changes? Updating only when a change occurs creates more code...
Thanks!
02-23-2016 02:03 PM
In general, it's best to only update data/references/etc when the values change. This saves processing power and speeds up your code. That being said, there's always a happy medium between optimal code and optimal coding time. If you application has no probelm with the speed when updating every single time, then you may not need to change anything.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-23-2016 02:12 PM
Thanks for the quick response! I have all the Amulet communication code in a seperate loop running at 100 ms so even if it does slow it down some it shouldn't affect the the other loops.