Missing Hexadecimal Character 11 or 13 from Serial Reads in LabWindows™/CVI™

Updated Sep 11, 2018

Reported In

Hardware

  • Serial Cable

Software

  • LabWindows/CVI

Operating System

  • Windows

Issue Details

I am reading Hexadecimal (Hex) data from my COM port in LabWindows/CVI using ComRdByte and ComRd. I am not acquiring any Hex 11 or Hex 13 (0x11, 0x13) values, but I can read all other characters just fine. Why is this happening?

Solution

Make sure that you have not set the XMode enabled XON/XOFF sensitivity. If so, disable it. This can be done by calling SetXMode and inputting a value of FALSE:
 

XON/XOFF is disabled by default. If SetXMode is set to TRUE, then this will enable XON/XOFF sensitivity. This means that LabWindows/CVI will ignore 0x11 (XON) and 0x13 (XOFF) characters during serial reads.

WAS THIS ARTICLE HELPFUL?

Not Helpful