09-17-2025 11:49 PM
Hi, I intend to read a distance value from a laser sensor using an RS-422 to USB converter. I have used the serial read LabVIEW example, but I am not getting the expected result. I am unsure about the write buffer string in VISA Write, and the data extracted from VISA Read is not in a readable format. Please suggest
09-18-2025 12:54 AM
Hi Parthiban,
@Parthiban_SM wrote:
I am unsure about the write buffer string in VISA Write,
and the data extracted from VISA Read is not in a readable format.
Please suggest
09-18-2025 01:49 AM
You have the right idea, trying to remove the first 2 bits from each byte, but it's not quite correct. Here is how to do it, note that you can apply boolean operators directly on integers:
09-18-2025 08:06 AM