From: <alb...@ph...> - 2005-02-11 16:31:22
|
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 Martin Henz <mar...@mh...> Sent by: ope...@li... 11-02-2005 00:55 Please respond to opengtoolkit-developers To: ope...@li... cc: (bcc: Albert Geven/EHV/RESEARCH/PHILIPS) Subject: Re: OpenG Serial Port API Classification: 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 |