Visual Basic MSComm port and Virtual port

  • Thread starter Thread starter Mike Phan
  • Start date Start date
  • Tags Tags
    Virtual Visual
Click For Summary

Discussion Overview

The discussion revolves around the challenges of using MSComm in Visual Basic to communicate with both standard and virtual COM ports. Participants explore potential solutions for testing virtual ports in a programming context.

Discussion Character

  • Technical explanation, Debate/contested

Main Points Raised

  • Mike describes a scenario where his Visual Basic program successfully tests standard COM ports but struggles with virtual COM ports (com3 and com4).
  • Some participants express confusion about the specifics of Mike's request for assistance.
  • One participant suggests the possibility of a loopback test for the virtual COM ports, questioning if a 'virtual loopback' setting exists.

Areas of Agreement / Disagreement

There appears to be a lack of clarity regarding the original question, with some participants unsure of what is being asked. The discussion does not reach a consensus on how to address the issue with virtual COM ports.

Contextual Notes

Participants have varying levels of experience with virtual COM ports and MSComm, which may affect the depth of responses and suggestions provided.

Who May Find This Useful

Individuals working with Visual Basic programming, particularly those dealing with communication ports and virtual COM port configurations.

Mike Phan
Messages
67
Reaction score
0
Hi,

I am writing a visual basic program and used MSComm for testing communication ports of PC. It is working well.

At company, we have a game machine using two standard ports (com1 and com2 which can use MSComm to test) and virtual ports (com3 and com4). Of course, the program cannot test the virtual ports com3 and com4.

Anyone knows what should I do for my program or what I should consider of? Thanks a lot!


Mike
 
Computer science news on Phys.org
I have no idea what you are asking for.
 
Ooh NO!

Ooh!tell me O!.
 
I am as well suprised
 
I've never messed with virtual com ports before but I have a fair amount of experience with MSComm is VB. Is there some sort of loopback test you can do? Is there a setting for this virtual port that could do a 'virtual loopback'?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 44 ·
2
Replies
44
Views
6K
  • · Replies 1 ·
Replies
1
Views
6K
Replies
10
Views
3K