Menu

#4 Bug found

open
nobody
None
5
2007-04-24
2007-04-24
Anonymous
No

I tried the component (version 0.8.2 and 0.8.4) with the Delphi demo, but found I only received one correct update after openening the connection, the rest gave back to first value.

After changing the Buffer in line 760 in NoDaveComponent.pas to FBuffer it was working OK,

FLastError:=daveReadBytes(DaveConn, AreaCode(Area), DB, Index+Start, Size, Pointer(Integer(FBuffer) + Index));

The precomoiled executable NoDaveDemo.exe in the DelphiComponent\Demo directory is working fine.

I used the ehternet connection with the following settings

[Connections]
Demo=Demo connection configuration

[Demo]
Protocol=5
CPURack=0
CPUSlot=2
COMPort=COM1
IPAddress=192.168.0.1
Timeout=100000
Interval=1000
MPISpeed=2
MPILocal=0
MPIRemote=2

With kind regards

Jo Nijsen

JNijsen@Huisman-Itrec.com

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.