hey boss, u got to write a upper filter serial driver above the existing functional driver. refer to filter drivers in DDK. Regards, Adi
Adi Narayana Vemuru
Posts
-
Serial Port Monitor -
What the best way to sleep 1 msHello, write your own delay routine using high-resolution APIs, QueeryPerformaceCounter() and QueeryPerformaceFrequency(. you can achieve timer even in microseconds. hope the above helps. regards, Adi
-
How to configure Baudrate 76800yeah it's true there are limited which driver supports which is documented in the header ntddser.h file. The hardware support depends on the highest speed of the hardware (till 1990s the speed was 115.2 k, after 2000's it's become more than that like 230K, 430K etc.....). The baudrates that are supported by the drivers are derived from the devisors of the highest speed.(Ex:115.2k - devisor 1,57600-div2,38400-div 3 ..etc). So i'm looking for what can be done to achieve the baudrates (such as 76800) which are exact divisors of the highest speed(incase of 115.2k) also. Please let me know if you know any leads on the same. Thanks for your info sharing Adi
-
How to configure Baudrate 76800Hello Roger, Thanks for your response. Yes i'm setting the baudrate and other configuration parameters of serial port using DCB structure only with SetCommState() Function. so when i use baudrates like 76800, the return value of SetCommState() function is INVALID_PARAMETER. So i want to know if anyone has done something to achieve this kinda baudrates configured with serial port for their requirements. Thanks Adi
-
Speed VStudio vs .NETThe Theory proposed is not 100% right. But that's true when the any piece of code is running for first time during execution of application in Dotnet comparing to C++ application(VS 6.0 compiler). Reason is Dotnet compiler generates MSIL, which will be compiled to Native code by JIT on first execution of each MSIL piece of code. Once it's compiled to Native code it's similar to any C++ program compiled with VS 6.0 compiler. But when comes to application specific, the performance definitely depends on the algorithms you are implementing. hope the above suffice for ur doubt Regards, Adi
-
How to configure Baudrate 76800Hello guys, Requirement:My Application should work with any baudrate starting from 01- 256k ideally and i need to implement for 76800 baud with out fail. Constraint:We are able configure the bauds from 0 - 9600 (all the numbers), 10400,14400,19200,38400,56000,57600,etc..... when i give different baudrate from the above list, the error comes is Invalid Parameter. Question: Is there any work around to overcome this constraint.It's really urgent. can someone through light on this.???? Thanks in advance. Adi
-
Baudrate 76800 or any otherHello guys, Requirement:My Application should work with any baudrate starting from 01- 256k ideally and i need to implement for 76800 baud with out fail. Constraint:We are able configure the bauds from 0 - 9600 (all the numbers), 10400,14400,19200,38400,56000,57600,etc..... when i give different baudrate from the above list, the error comes is Invalid Parameter. Question: Is there any work around to overcome this constraint.It's really urgent. can someone through light on this.???? Thanks in advance. Adi