NI VISA Returns Unexpected or Unreadable Data

Updated Aug 31, 2018

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
  • 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