Visual Basic MSComm port and Virtual port

  • Thread starter Thread starter Mike Phan
  • Start date Start date
  • Tags Tags
    Virtual Visual
Click For Summary
The discussion revolves around a Visual Basic program utilizing MSComm for testing communication ports, specifically addressing the challenge of testing virtual ports (com3 and com4) associated with a game machine. The original poster successfully tests standard ports (com1 and com2) but seeks guidance on how to approach testing the virtual ports. Participants express uncertainty about virtual COM ports and suggest exploring options like a loopback test or checking for settings that might enable a virtual loopback feature. The conversation highlights the need for solutions or workarounds for testing virtual communication ports in a programming context.
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'?
 
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

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