[DUG] Access Violation

Marshland Engineering marshland at marshland.co.nz
Sun Aug 14 21:56:48 NZST 2011


Not sure where to go with this.

I'm sending 3 bytes of data  at 38400 baud every 500 ms. If I speed up the rate to every 250 ms I get   

Access Violation at address 004934CA in Mmodule Dyno.exe' Write address 000000F2 

Code   

    if SerialPortNG.NextClusterSize >= 0 then begin
       sRaw:=SerialPortNG.ReadNextClusterAsString;
       for i:=1 to length(sRaw) do
          try iData[i]:= byte(sRaw[i])
          except
       end;        

I don't know what I'm looking for. 

Thanks Wallace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110814/d66cac87/attachment.html 


More information about the Delphi mailing list