I currently can't look into your code,
however, common pitfalls with RS232:
- termination characters: in your case , are they deaktivated for read?
- timeout: does your read time out?
- something left in the buffer: flush the buffer before requesting data.
Greetings from Germany
Henrik
LV since v3.1
āgroundā is a convenient fantasy
'ĖĖĖĖuıÉĘÉ lÉıp puÉ Ā°06 ĒuoÉ„d ɹnoŹ uɹnŹ ĒsÉĒld 'ŹÉ¹ÉuıĘÉɯı sı pĒlÉıp ĒŹÉÉ„ noŹ É¹ĒqÉÆnu ĒÉ„Ź'