Hi Bruce,

could you define X as VAR BYTE(32)
and try to read a String of 32 bytes in the SERIN2 statement?

I haven't had any problems reading a single byte,
it looks like reading a string to an array of bytes causes the problem.

thanks again for your effort.

I will re-arrange my hardware tomorrow and try HSERIN.

ragards

Ralph