From: Rolf K. <rol...@ci...> - 2005-02-14 08:23:43
|
=20 Albert, =20 Supporting both standards is not help readability....=20 Furthermore extending the old format for more parameters is impossible.=20 I'm not talking about serial only but all possible busses that are supported by VISA While I agree with you about the problem and the limitations for a VISA implementation, I thought this was for the OpenG serial driver (which is supposed to have an interface similar to VISA but not being VISA for the time being). As such supporting both forms isn't that much of a problem, and of course it won't work for non serial drivers once an OpenG VISA implementation might be available. That said it is indeed a serious problem to change parameters on the serial port before it is opened. Hacking the default values in the registry is not only cumbersome because of the differences between Windows versions, but it is also an ugly procedure which in fact changes the default settings a user may have defined in Control Panels, without a clear indication of that fact (and other applications might then work not anymore correctly after you run an OpenG serial driver application). So the proper way is IMO to try to work around possible problems in the driver itself by clearing the input buffers on any change of relevant serial port properties. Rolf Kalbermatter |