I am not really familiar with the commands for the instrument but it looks like you tell the instrument to send 1 or 2 bytes per data point. Then you cast the string sent from the instrument to an array of I8 integers which is then coerced to Double.
I think you need to get more data from the instrument and handle it appropriately.
Lynn