@madido
This is a little tricky.. I am not well versed in the Serial parsing syntax.
The best I could come up with is:
val1:int=1 bytes
val2:int=1 bytes
val3:int=1 bytes
val4:int=1 bytes
val5:int=1 bytes
val6:int=1 bytes
val7:int=1 bytes
val8:int=1 bytes
This will give you a decimal output for the first 8 hex values.
Then you can feed the Decimal into a Javascript actor and convert it to HEX.
function main()
{
hex = arguments[0].toString(16);
if (hex.length > 1) {
val = hex;
}else{
val = "0" + hex;
}
return [val,hex.length];
}
The output didn't include the leading zero by default, so I added the quick IF test to insert a '0'.