diff -r e9aefd454d1e -r 38e7b78cf732 GUI/SoundGraphDisplay.cs --- a/GUI/SoundGraphDisplay.cs Mon Feb 02 12:51:06 2015 +0100 +++ b/GUI/SoundGraphDisplay.cs Mon Feb 02 13:28:41 2015 +0100 @@ -59,8 +59,8 @@ client.Start();*/ } - //Try loading SoundGraph iMON Disaply DLL - iServer = new SoundGraph.Server(@"\\.\pipe\sga-receiver", @"\\.\pipe\sga-sender"); + //Start our SoundGraph server + iServer = new SoundGraph.Server(@"\\.\pipe\sga-inbound", @"\\.\pipe\sga-outbound"); iServer.Start(); //iServer.SendMessage("init:"); } @@ -103,6 +103,7 @@ foreach (SensorFrontView icon in list) icon.Dispose(); + Quit(); iServer.Stop(); } @@ -193,6 +194,11 @@ iServer.SendMessage("set-vfd-text:" + aUpperLine); } + public void Quit() + { + iServer.SendMessage("quit:"); + } + /* public bool IsMainIconEnabled { @@ -207,13 +213,6 @@ } }*/ - /* - public bool IsDllLoaded - { - get { return iSoundGraphDll!=IntPtr.Zero; } - } - */ - } }