Unexpected or Unreadable Data from Serial Device

Updated May 20, 2019

Reported In

Software

  • LabVIEW

Driver

  • NI-VISA

Issue Details

I am using NI-VISA to read from my device using RS232. I get data back, but it's not in a readable form. How can I resolve this?

Solution

A few reasons this might be happening are:
  • Improper baud rates. Confirm the baud rate of your devices, and set the baud rate for the COM port in NI MAX
  • Damaged cable. Try switching to a different cable, a bad cable could result in bad readings.
  • No GND line wired. If using a non-standard RS232 connector (involving individual lines/wires), make sure that the RX, TX, and GND are all wired up properly 

WAS THIS ARTICLE HELPFUL?

Not Helpful