AnsweredAssumed Answered

vrf Virtual serial (COM) ports

Question asked by VRFuser on Mar 31, 2006
Hi Dave,

Simple fix – works well.  Much easier than a wrapper!

 

Thankyou

 

Dave

 

  _____  

From: Andersen, Dave-P26278 [mailto:Dave.Andersen@gdc4s.com]
Sent: 30 March 2006 21:29
To: David Watling
Subject: RE: [vrf] Virtual serial (COM) ports

 

Dave

 

I have no idea if this will work, but I wonder if you close the port using Direct I/O Execute Close before you unplug the product and then issue an Execute Reset after connecting the new one will allow this switch without a restart.  It might even work without the reset.

 

Dave Andersen

 

  _____  

From: David Watling [mailto:watling@IceraSemi.com]
Sent: Thursday, March 30, 2006 5:33 AM
To: VRF
Subject: [vrf] Virtual serial (COM) ports

Hi all,

I have to test a product which presents itself as a virtual COM port (via the PCMCIA interface).  So I plug it in to the PC, run a Vee program, get a result, and unplug it.  The only thing is, Vee (or the IO libraries) cannot handle a COM port that disappears and re-appears.  This means I have to close & re-start Vee for each device I plug in.  In a production environment, this would be highly un-satisfactory.

The IO libraries seems quite capable of handling USB devices or GPIB interfaces or TCPIP connections that come & go, just not COM ports.

 

Questions:

Is this a known bug in the IO libraries?
Is there a Vee based work-around?
Is there another work-around (eg has anyone written a wrapper dll to deal with this?)

 

Regards

 

David Watling


---
You are currently subscribed to vrf as: Dave.Andersen@gdc4s.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".


---

To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".  

Outcomes