AnsweredAssumed Answered

vrf Virtual serial (COM) ports - Ditto...

Question asked by VRFuser on Mar 31, 2006
Ditto..... We do this all the time



     "Drago, William @NARDAEAST" <William.Drago

03/30/2006 02:28 PM
Please respond to "Drago, William @NARDAEAST"
       
        To:        VRF <vrf@agilent.com>
        cc:        
        Subject:        RE: [vrf] Virtual serial (COM) ports



Tis is because I want to read binary data from a serial port and VEE has that special 'feature' to stop reading data when an 0x0A byte is read. **** BTW: if somebody has a workaround, let me know ***
 
No workaround required. Do a Read Text Byte format and specify the number of chars you want to read.
 
If the number of chars is variable or unknown, read one at a time in a loop (store them in a collector) until a timeout occurs.
 
Also, the EOL char is user defined in the instrument manager: Properties/Advanced/Direct I/O. You can make it anything you want...
 
Bill
 
Therefore I am currently experimenting with a VEE wrapper library that uses the Microsoft mscomm.ocx ActiveX control.
My serial port is connected via USB/serial converter and I just made the test that inside the running VEE program the control is 'seeing' the port if it is plugged in, not seeing it if I unplug it, and seeÃng it again if I plug it in again. This is without restarting VEE.
Perhaps that helps you.
 
Georg Nied
-----Ursprüngliche Nachricht-----
Von: David Watling [mailto:watling@IceraSemi.com]
Gesendet: Donnerstag, 30. März 2006 14:33
An: VRF
Betreff: [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:
1.        Is this a known bug in the IO libraries?
2.        Is there a Vee based work-around?
3.        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: g.nied@gn-software.de
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/".

---
You are currently subscribed to vrf as: William.Drago@l-3com.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/".

---
You are currently subscribed to vrf as: ramarquardt@ra.rockwell.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/".


This e-mail and subsequent attachments may contain information which is proprietary to L-3 Communications Corporation. The contents shall not be disclosed, copied, distributed or used unless authorized by L-3 Communications Narda - East.

---  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