I am currently thinking about how to choose/design/instrall a
remote display in the
cockpit. The only thing I want displayed in the
cockpit however are three elements, namely; crosstrack error (bearing,
current heading, XTE, distance to go),
AIS targets (and only those that would generate alarms) and
DSC messages (in particluar
distress messages).
One option would be a LCD display (the 2 line dot matrix type displays) , another just a digital
photo frame.
With the digital
photo frame option, it would just require a USB connection to the PC, and from a programming perspective, possibly much simpler.
In a purely Windows .NET
environment, I can render the graphics in the
paint event, and thenn save the image as a bitmap (or jpeg, png)
For example:
//Add to the
paint event handler
RemoteDisplay = new Bitmap(200,200,PixelFormat.Format32bppArgb);
g = Graphics.FromImage(RemoteDisplay);
// Do my drawing stuff
g.DrawString("XTE:", myDisplayFont, new SolidBrush(Color.Black), 0, 0);
//Save the output to a directory accessed by the digital photo frame RemoteDisplay.Save("d:\\xte.png", ImageFormat.Png);
g.Dispose();
RemoteDisplay.Dispose();
Any possibility of adding some kind of functionality to support a
remote display ?