Just noticed a glitch in my last post. Line 10 should be something like:
Qt Code:
  1. if( data.at(0) < _ENGINEROOM_SUBS )
To copy to clipboard, switch view to plain text mode 
where you select the appropriate byte from the array to compare.