Hi All,
I have a B4J app with a Bluetooth/RS232 connection.
The data being received by the B4J app is in HEX and is among other things the X & Y position of a laser head in mm from home.
The hex string "1B 00 58 1B 14 59 1B 02" is the header for the XY location information and is followed by "1B 02 20 20 33 35 2E 31 30 "which is X position of 35.30 mm and "1B 22 20 20 35 2E 32 32 " which is 5.22 mm Y position etc...
Does anyone have an idea how to capture the data and convert it to text to display on X & Y labels on a form.
Thanks
I have a B4J app with a Bluetooth/RS232 connection.
The data being received by the B4J app is in HEX and is among other things the X & Y position of a laser head in mm from home.
The hex string "1B 00 58 1B 14 59 1B 02" is the header for the XY location information and is followed by "1B 02 20 20 33 35 2E 31 30 "which is X position of 35.30 mm and "1B 22 20 20 35 2E 32 32 " which is 5.22 mm Y position etc...
Does anyone have an idea how to capture the data and convert it to text to display on X & Y labels on a form.
Thanks