Demo of Datalog 3.0.0.0 went well, with no last minute hitches. Only need to include a license file and it's done. I can already think of improvements to make, such as encapsulating more code into classes, and also more improvements that need to be made, such as better comms control, and reduction of the processor overhead. But for now, it has the green light to ship!
Sunday, 29 April 2007
Friday, 20 April 2007
Relegation
Defeat tonight for LTFC, 1-0 away at Derby, confirms our relegation to League 1 for next season. Bugger.
Posted by Andy at 22:10:00 0 comments
Tuesday, 17 April 2007
Eureka!
Solved the 'Failed to send Command - Write pending' error. Caused by running the Disconnect sub directly from the disconnect menu option instead of setting the 'disconnect request' flag.
Also solved the problem of getting invalid start characters when a connection is attempted after the comms lead has been removed in mid-sequence. Solved this by setting a timeout value in the PLC comms card when transmitting data. If a timeout occurs (i.e. when the lead has become disconnected and transmition is not possible) then the communications sequence is aborted and the buffers are flushed.
Posted by Andy at 18:29:00 0 comments
Labels: Datalog
Monday, 16 April 2007
Test, test, test
Datalog comms test for 8+ hours without problem. Showed no sign of memory increase in Private Bytes, or in # of Bytes in All Heaps, although the latter consistantly jumped by some 300k or so, but always dropped again, as well as the regular GC cycle. The 300k jumps (increase and decrease) coincided with a GC Gen 2 collection. Error on disconnect: "Failed to send command - Write pending". This was repeated a couple of times, but not consistantly. Possibly the PLC control loop thread is being allowed to exit before a command cycle has completed?
Posted by Andy at 20:53:00 0 comments
Labels: Datalog
Sunday, 15 April 2007
Concerns...
Datalog 3.0.0.0 application nearing completion, hope to present it at work very soon.
Concerns:
- Memory use seems to rise on the IBM laptop, but not on the desktops. Can't track down why that should be.
- Nothing to stop the app being freely copied and used on compatible equipment.
- Limited testing has been done on different platforms.
Posted by Andy at 21:22:00 0 comments
Labels: Datalog
Doom and gloom
Well, not a very inspiring start to the first post of my Blog but there you go. The cause of the doom and gloom? Events at my beloved Luton Town Football Club.
This season has been an unmitigated disaster, with Hatters needing to win all three remaining games to stay up. Pfft, no chance. We're ****ed.
Staggering incompetance in the boardroom has caused resentment, distrust and anger everywhere you look.
Posted by Andy at 20:16:00 0 comments