Example: lr.eval_data
In this example, lr.eval_data returns the byte array from parameter ID into the byte array output_arr.
// Example array of arbitrary bytes. byte [] b_arr = new byte[]{(byte)0x12,(byte)0x2,(byte)0x1,(byte)0x3}; // Save the array into parameter ID lr.save_data(b_arr,"ID"); // Save the contents of the array parameter to another array byte [] output_arr = lr.eval_data("<ID>"); lr.output_message("This is the value of the first output byte: " + Byte.toString(output_arr[0]));