|
From: <alb...@ph...> - 2005-02-14 07:21:29
|
Supporting both standards is not help readability....
Furthermore extending the old format for more parameters is impossible.
I'm not talking about serial only but all possible busses that are
supported by VISA
Albert Geven Tel +31 (0)40 27
43019
Philips Research Fax +31 (0)84 722 9844
prof Holstlaan 4 WAA01 Email alb...@ph...
5656AA Eindhoven
Dou...@mk...
Sent by:
ope...@li...
11-02-2005 17:30
Please respond to opengtoolkit-developers
To: ope...@li...
cc: (bcc: Albert Geven/EHV/RESEARCH/PHILIPS)
Subject: Re: OpenG Serial Port API
Classification:
Albert, how about allowing for both formats? The "9600,n,8,1" notation
is
something of a de facto standard, and is still in use. Doug
|---------+--------------------------------------------------->
| | alb...@ph... |
| | Sent by: |
| | ope...@li...|
| | ceforge.net |
| | |
| | |
| | 02/11/2005 11:29 AM |
| | Please respond to |
| | opengtoolkit-developers |
| | |
|---------+--------------------------------------------------->
>----------------------------------------------------------------------------------------------|
| |
| To: ope...@li... |
| cc: |
| Subject: Re: OpenG Serial Port API |
>----------------------------------------------------------------------------------------------|
Hi Martin
The most important reason that I do not use the old DOS parameter string
is
that I find it unreadable and you cannot extend it.
Readability is the one thing that keeps me laughing when looking at old
programs.
I send you the files as soon as I find them in my "archive"
Albert Geven Tel +31 (0)40 27
43019
Philips Research Fax +31 (0)84 722 9844
prof Holstlaan 4 WAA01 Email alb...@ph...
5656AA Eindhoven
To:
ope...@li...
orge.net
cc: (bcc: Albert
Martin Henz Geven/EHV/RESEARCH/PHILIPS)
<mar...@mh...> Subject: Re: OpenG
Serial Port API
Sent by:
opengtoolkit-developers-admin@li Classification:
sts.sourceforge.net
11-02-2005 00:55
Please respond to
opengtoolkit-developers
Hi Albert,
alb...@ph... wrote:
> Good start Martin
hmm - not so good, because my e-mail should not go to the
mailing list ...
[...]
> Sometimes the instrument chokes on an inadvertently send hiccup on the
> line.
> It would be nice to inform the operating system of new "default values"
> before really initializing the port..
For the windows operating systems, these settings are in the
registry. I think, that it is only possible to change the
major parameters (baud rate, parity, stop bit and data bits)
using this way. It may be hard to examine that, because
different windows versions are sometimes using different
locations in the registry.
> I worked out a way to add these settings to a VISA resource name but did
> not yet inform the operating system.
> something like ASRL1::INSTR ;baudrate=9600;parity=even
Is there any reason, why you are not using the more default
notation like "9600,n,8,1"?
> In fact my application accepts the eventual hiccup after opening the
port
> because I did not have the time to sort out how to inform the OS.
Yes, it's much easier to change the settings if the serial
port is open. It may be also a starting point for the OpenG
serial port API.
> If you are interested I can send you the VI's but
> So even when using VISA for serial we need such a special serial open.
Yes, thank you - please send it to my e-mail address.
--
Martin Henz
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
OpenGToolkit-Developers mailing list
Ope...@li...
https://lists.sourceforge.net/lists/listinfo/opengtoolkit-developers
This e-mail is intended solely for the person or entity to which it is
addressed and may contain confidential information. Any review,
dissemination, copying, printing or other use of this e-mail by persons or
entities other than the addressee is prohibited. If you have received this
e-mail in error, please contact the sender immediately and delete the
material from any computer.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
OpenGToolkit-Developers mailing list
Ope...@li...
https://lists.sourceforge.net/lists/listinfo/opengtoolkit-developers
|