LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Monitor Serial Data on Virtual COM Port When Receiver is Disconnected

Hi All,

I am attaching my LabVIEW 2017 files for reference.

I am currently facing an issue with serial communication over a virtual COM port. My setup involves sending specific command frames based on user input and at periodic intervals:

Commands:

  • Motor ON: 4153 0703 7A 0118
  • Motor OFF: 4153 0703 6B 0109
  • Speed: 4153 0701 3E 00DA

These three commands are transmitted for approximately 1 ms when a button is pressed.

  • Data Request: 4153 0705 8C 012C
    This command is sent every 20 ms.

Issue:
When the receiver end is connected and actively communicating, everything works as expected. However, when the receiver end is OFF or disconnected, I am unable to observe any transmitted data on the virtual serial port.

Expected Behavior:
I would like to continuously monitor the transmitted data on the virtual COM port regardless of whether the receiver is connected or not.

0 Kudos
Message 1 of 2
(302 Views)

Update:
Virtual Port Data is resolved. The issue is that the data is not sent once in every 20ms. The timeframe is varying.

0 Kudos
Message 2 of 2
(269 Views)