AS511 under windows XP
Status: Beta
Brought to you by:
lettoz
Hi, I try to use AS511 protocol but I see that libnodave openport with wrong setup.
Mainly:
Parity, stopbits, handshake.
Also I will be happy if I can use DTR and RTS signals for as power lines for convertor (this mean, I can set one stable level).
There is shor workaround to solve this isue:
if FProtocol=daveProtoAS511 then begin
GetCommState(DaveFDS.rfd,dcb);
dcb.Flags:=1;
dcb.StopBits:=ONESTOPBIT;
dcb.Parity:=EVENPARITY;
SetCommState(DaveFDS.rfd,dcb);
SetComLines;
sleep(200);
PurgeComm(DaveFDS.rfd,PURGE_RXCLEAR);
end;