08-22-2025 05:11 AM
Hello. In my project I communicate with a custom board through rs232 cable. Sometimes after my command (for example a read command) I receive strange characters " {u}w_mo.uw{ ". I checked the data transmitted and it seems that the termination character (LF) has not been sent anymore. Why could it stop to send it?
Thank you
08-22-2025 07:09 AM
I have seen this occur several times over the years. It has led me to attach the termination character into the string I send to the device rather than depending on the settings.
I.E. "*IDN?" now becomes "*IDN?\n"
08-22-2025 07:10 AM
You don't provide any information to answer your question. First of all, LabVIEW (meaning the LabVIEW program running on your computer) doesn't stop sending the (unspecified) termination character -- rather the unknown "custom board" appears to not (yet) have sent it. You provide no code for us to examine, no description of the custom board, nothing about the computer, OS, LabVIEW version, etc. Maybe your remote device just isn't working ...
Bob Schor
08-22-2025 07:49 AM
@Bob_Schor wrote:
no description of the custom board
This is probably the biggest one to me. The few times I have seen random characters like that are when there is a massive noise source (ex high voltage power supply), the serial port gets powered off (inadequate power supply, Windows randomly turns off the port), or the baud rate for one of the devices gets updated. This could potentially also happen from the port getting closed during transmission.
08-22-2025 08:57 AM
I discovered that was the port closed.