Author Topic: When I send '090300000000' I get a Fatal error  (Read 1851 times)

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
When I send '090300000000' I get a Fatal error
« on: February 16, 2008, 07:41:11 am »
Hello

I tested this strange string '090300000000' with our tools. I have
connected two serial ports and run Noise Gen. All works fine.

Please create simple demo project that shows this exception and send
to me its sources.

I think exception raises because something wrong in processing a reply
from device.


Also give me additional info:
1) Delphi/CBuilder version
2) nrComm Lib version
3) Windows version

Good luck!

Roman Novgorodov

DeepSoftware
------------
The professional libraries and components for Delphi/CBuilder/Kylix/.NET
The high quality custom software development. Deep experience in serious
solutions for various platforms: Win32, Windows Mobile/CE, PDA.
http://www.deepsoftware.com/

Thursday, February 14, 2008,6:45:33 AM, you wrote:

Quote
R> Hi Roman.

R> Thanks for the quick resopnse to my lost license, everything is up and
R> running again

R> However I am experiencing an inexplicable problem.

R> Basically my application communicates with a RS232 device sending/receiving
R> data of no more than 20 characters.

R> command are sent in the form of 'xxxxxxxxxxxxxx' (x being any character
R> between 0..9 and a..z)
R> Everything works fine until is send a particluar string ie '090300000000'
R> If I send '09030x000000' (x being any character 1..9 a..f) it transmits OK
R> If I send '0x0300000000' (x being any character 0..8 a..f) it transmits OK

R> When I send '090300000000' I get a Fatal error
R> "Fatal Error: 1, 0, Access violation at address 004096BA in module
R> 'BaseMonitor.exe'. Read of address 0000003E"

R> I can see no logical reason why this happens.
R> If I use 'Hyperterm' then the data is sent and the correct reply is
R> received. This rules out the external device.
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.