Hi, I have been trying to output binary data from the ImageJ macro language over a serial link. The problem is that 16 values are being filtered out and replaced by another value…
I am using the "Serial Macro Extensions" (provided at ImageJWIKI by Jerome Mutterer and Tom Meuller) to control the serial port.
Something in the chain is 'filtering' out values in the range 80 - 9F hex. In that range the data is forced to 3F hex (confirmed by H/W testing).
I know this range of binary values corresponds to a block of control codes in Unicode/ASCII, but I obviously want to be able to send all 256 possible values for the byte over the serial link.
I am using the built-in ImageJ macro function "fromCharCode(value)" to convert 'value' from hex to a string character. I do not know whether this function is filtering the characters 80-9F hex, or if it is happening within the serial macro extension code.
Can anyone help me get over this problem, please?