<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://theeyetribe.com/forum/feed.php?f=11&amp;t=529" />

<title>The Eye Tribe</title>
<subtitle>Developer Forum</subtitle>
<link href="http://theeyetribe.com/forum/index.php" />
<updated>2015-08-11T22:33:39+02:00</updated>

<author><name><![CDATA[The Eye Tribe]]></name></author>
<id>http://theeyetribe.com/forum/feed.php?f=11&amp;t=529</id>
<entry>
<author><name><![CDATA[laulau]]></name></author>
<updated>2015-08-11T22:33:39+02:00</updated>
<published>2015-08-11T22:33:39+02:00</published>
<id>http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2224#p2224</id>
<link href="http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2224#p2224"/>
<title type="html"><![CDATA[Re: Integration of Calibration in WPF Desktop App doesn't wo]]></title>

<content type="html" xml:base="http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2224#p2224"><![CDATA[
I already worked with the dlls which were built with .Net framework 4.5.1. So this wasn't the problem. But because of your recommendation I changed my App Net version to 3.5 (which was possible without much work) and used the 'normal' dlls. And this works perfect!<br />Thanks a lot for your help! No I can continue =)<p>Statistics: Posted by <a href="http://theeyetribe.com/forum/memberlist.php?mode=viewprofile&amp;u=9275">skatalaulau</a> — 11 Aug 2015, 22:33</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Anders]]></name></author>
<updated>2015-08-11T10:37:52+02:00</updated>
<published>2015-08-11T10:37:52+02:00</published>
<id>http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2222#p2222</id>
<link href="http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2222#p2222"/>
<title type="html"><![CDATA[Re: Integration of Calibration in WPF Desktop App doesn't wo]]></title>

<content type="html" xml:base="http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2222#p2222"><![CDATA[
<blockquote class="uncited"><div><br />Do You have any ideas where my I mistake is located?<br /></div></blockquote><br /><br />Based on your output, the TETCSharpClient.dll does not seem to load. This may be related to the .Net version of the C# SDK. The SDK is build for .net 3.5 to ensure support for Unity.<br /><br />I would suggest that you clone the <a href="https://github.com/EyeTribe/tet-csharp-client" class="postlink">C# repo from github</a>, change the target framework to 4.5.1, rebuild and use the resulting DLL. <br /><br />Please try this and let me know how it works out.<p>Statistics: Posted by <a href="http://theeyetribe.com/forum/memberlist.php?mode=viewprofile&amp;u=120">skataAnders</a> — 11 Aug 2015, 10:37</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[laulau]]></name></author>
<updated>2015-08-10T13:55:45+02:00</updated>
<published>2015-08-10T13:55:45+02:00</published>
<id>http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2218#p2218</id>
<link href="http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2218#p2218"/>
<title type="html"><![CDATA[Re: Integration of Calibration in WPF Desktop App doesn't wo]]></title>

<content type="html" xml:base="http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2218#p2218"><![CDATA[
Thanks for your fast replay!<br /><br />I know about the sample but I wanted to use the simple example in the c# tutorial. I think perhaps I missed some code or placed it wrong?<br /><br />I think I used the wrong word. It is not an error where the complete application stops. It is just an output.<br />So this is what I get as output when I start the app and start the calibration in the app (the calibration stops after the point moved once, like I described above, but the app is still running).<br /><br /><blockquote class="uncited"><div><br />The thread 0x1b30 has exited with code 259 (0x103).<br />'EyeTribe_WPF.vshost.exe' (CLR v4.0.30319: EyeTribe_WPF.vshost.exe): Loaded 'C:\Users\Laura\documents\visual studio 2013\Projects\EyeTribe_WPF\EyeTribe_WPF\bin\Debug\EyeTribe_WPF.exe'. Symbols loaded.<br />Step into: Stepping over non-user code 'EyeTribe_WPF.App..ctor'<br />'EyeTribe_WPF.vshost.exe' (CLR v4.0.30319: EyeTribe_WPF.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.<br />Step into: Stepping over non-user code 'EyeTribe_WPF.App.Main'<br />Step into: Stepping over non-user code 'EyeTribe_WPF.App.InitializeComponent'<br />'EyeTribe_WPF.vshost.exe' (CLR v4.0.30319: EyeTribe_WPF.vshost.exe): Loaded 'C:\Users\Laura\documents\visual studio 2013\Projects\EyeTribe_WPF\EyeTribe_WPF\bin\Debug\TETCSharpClient.dll'. Cannot find or open the PDB file.<br />'EyeTribe_WPF.vshost.exe' (CLR v4.0.30319: EyeTribe_WPF.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero2\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero2.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.<br />Exception while connecting to EyeTribe Server:    bei TETCSharpClient.GazeApiManager.RequestTracker(ClientMode mode, ApiVersion version)<br />   bei TETCSharpClient.GazeManager.HandleServerConnect(Object stateInfo)The thread 0x143c has exited with code 259 (0x103).<br />'EyeTribe_WPF.vshost.exe' (CLR v4.0.30319: EyeTribe_WPF.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.resources\v4.0_4.0.0.0_de_b77a5c561934e089\System.resources.dll'. Module was built without symbols.<br />Error initializing GazeManager, is EyeTribe Server running?The thread 0x12d8 has exited with code 259 (0x103).<br />'EyeTribe_WPF.vshost.exe' (CLR v4.0.30319: EyeTribe_WPF.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXmlLinq\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXmlLinq.dll'. Cannot find or open the PDB file.<br />'EyeTribe_WPF.vshost.exe' (CLR v4.0.30319: EyeTribe_WPF.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll'. Cannot find or open the PDB file.<br />'EyeTribe_WPF.vshost.exe' (CLR v4.0.30319: EyeTribe_WPF.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationCore.resources\v4.0_4.0.0.0_de_31bf3856ad364e35\PresentationCore.resources.dll'. Module was built without symbols.<br />'EyeTribe_WPF.vshost.exe' (CLR v4.0.30319: EyeTribe_WPF.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll'. Cannot find or open the PDB file.<br />'EyeTribe_WPF.vshost.exe' (CLR v4.0.30319: EyeTribe_WPF.vshost.exe): Loaded 'C:\Users\Laura\documents\visual studio 2013\Projects\EyeTribe_WPF\EyeTribe_WPF\bin\Debug\TETControls.dll'. Symbols loaded.<br />Calling CalibrationStart(), but TET C# Client not activated!'EyeTribe_WPF.vshost.exe' (CLR v4.0.30319: EyeTribe_WPF.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemData\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemData.dll'. Cannot find or open the PDB file.<br />Calling CalibrationPointStart(), but TET C# Client not activated!Calling CalibrationPointEnd(), but TET C# Client not activated!Calling CalibrationAbort(), but TET C# Client not activated!The thread 0x11e0 has exited with code 259 (0x103).<br />The thread 0xb50 has exited with code 259 (0x103).<br /></div></blockquote><br /><br />Do You have any ideas where my I mistake is located?<p>Statistics: Posted by <a href="http://theeyetribe.com/forum/memberlist.php?mode=viewprofile&amp;u=9275">skatalaulau</a> — 10 Aug 2015, 13:55</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Martin]]></name></author>
<updated>2015-08-10T12:56:21+02:00</updated>
<published>2015-08-10T12:56:21+02:00</published>
<id>http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2217#p2217</id>
<link href="http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2217#p2217"/>
<title type="html"><![CDATA[Re: Integration of Calibration in WPF Desktop App doesn't wo]]></title>

<content type="html" xml:base="http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2217#p2217"><![CDATA[
It's a bit hard to see exactly why it fails to connect with the server. I would need the full exception message and/or stacktrace to diagnose. <br /><br />It's often helpful to enable automatic breaking on error. In Visual Studio this is done under &quot;Debug&quot;, &quot;Exceptions..&quot;, check thrown on &quot;Common Language Runtime Exceptions&quot;.<br /><br />We have a <a href="https://github.com/EyeTribe/tet-csharp-samples/tree/master/Calibration" class="postlink">minimal calibration sample</a> available.<br /><br />Also, note that you will have to add listeners for the interfaces (see sample).<p>Statistics: Posted by <a href="http://theeyetribe.com/forum/memberlist.php?mode=viewprofile&amp;u=117">skataMartin</a> — 10 Aug 2015, 12:56</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[laulau]]></name></author>
<updated>2015-08-10T12:04:21+02:00</updated>
<published>2015-08-10T12:04:21+02:00</published>
<id>http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2216#p2216</id>
<link href="http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2216#p2216"/>
<title type="html"><![CDATA[Integration of Calibration in WPF Desktop App doesn't work]]></title>

<content type="html" xml:base="http://theeyetribe.com/forum/viewtopic.php?t=529&amp;p=2216#p2216"><![CDATA[
Hey,<br /><br />i'm trying to implement a Calibration at the beginning of my WPF App.<br />The App has a Main Window (MyApp.xaml) and this window contains a frame which leads to a page (Calibration.xaml). I started the server before i started the App.<br />I also referenced TETControls.dll, TETCSharpClient.dll and Newtonsoft.Json<br />My project works with the .NET Framework 4.5.1<br /><br />MyApp.xaml.cs looks like this:<br /><dl class="codebox"><dt>Code: </dt><dd><code>using System;<br />using System.Collections.Generic;<br />using System.Linq;<br />using System.Text;<br />using System.Threading;<br />using System.Threading.Tasks;<br />using System.Windows;<br />using System.Windows.Controls;<br />using System.Windows.Data;<br />using System.Windows.Documents;<br />using System.Windows.Input;<br />using System.Windows.Media;<br />using System.Windows.Media.Imaging;<br />using System.Windows.Shapes;<br />using TETControls.Calibration;<br />using TETControls.Cursor;<br />using TETControls.TrackBox;<br />using TETCSharpClient;<br />using TETCSharpClient.Data;<br /><br />namespace EyeTribe<br />{<br /><br />    public partial class MyApp : Window, IGazeListener<br />    {<br />        public MyApp()<br />        {<br />            InitializeComponent();<br /><br />            // Connect client<br />            GazeManager.Instance.Activate(GazeManager.ApiVersion.VERSION_1_0, GazeManager.ClientMode.Push);<br /><br />            frmMainContent.Source = new Uri(&quot;Calibration.xaml&quot;, UriKind.Relative);<br />        }<br /><br />        public void OnGazeUpdate(GazeData gazeData)<br />        {<br />            throw new NotImplementedException();<br />        }<br />    }<br />}<br /></code></dd></dl><br /><br />And my Calibration.xaml.cs (which should contain the Calibration) looks like this:<br /><dl class="codebox"><dt>Code: </dt><dd><code>using System;<br />using System.Collections.Generic;<br />using System.Linq;<br />using System.Text;<br />using System.Threading.Tasks;<br />using System.Windows;<br />using System.Windows.Controls;<br />using System.Windows.Data;<br />using System.Windows.Documents;<br />using System.Windows.Input;<br />using System.Windows.Media;<br />using System.Windows.Media.Imaging;<br />using System.Windows.Navigation;<br />using System.Windows.Shapes;<br />using TETControls;<br />using TETControls.Calibration;<br />using TETControls.Cursor;<br />using TETControls.TrackBox;<br />using TETCSharpClient.Data;<br />using TETCSharpClient;<br />using MessageBox = System.Windows.MessageBox;<br /><br />namespace EyeTribe<br />{<br /><br />    public partial class Calibration : Page<br />    {<br />        public Calibration()<br />        {<br />            InitializeComponent();<br />        }<br /><br />        private void btnCalibrate_Click(object sender, RoutedEventArgs e)<br />        {<br />            CalibrationRunner calRunner = new CalibrationRunner();<br />            calRunner.OnResult += calRunner_OnResult;<br />            calRunner.Start();<br /><br />        }<br /><br />        private void calRunner_OnResult(object sender, CalibrationRunnerEventArgs e)<br />        {<br />            switch (e.Result)<br />            {<br />                case CalibrationRunnerResult.Success:<br />                    //MessageBox.Show(this, &quot;Calibration success &quot; + e.CalibrationResult.AverageErrorDegree);<br />                    break;<br /><br />                case CalibrationRunnerResult.Abort:<br />                    //MessageBox.Show(this, &quot;The calibration was aborted. Reason: &quot; + e.Message);<br />                    break;<br /><br />                case CalibrationRunnerResult.Error:<br />                    //MessageBox.Show(this, &quot;An error occured during calibration. Reason: &quot; + e.Message);<br />                    break;<br /><br />                case CalibrationRunnerResult.Failure:<br />                    //MessageBox.Show(this, &quot;Calibration failed. Reason: &quot; + e.Message);<br />                    break;<br /><br />                case CalibrationRunnerResult.Unknown:<br />                    //MessageBox.Show(this, &quot;Calibration exited with unknown state. Reason: &quot; + e.Message);<br />                    break;<br />            }<br />        }<br />        <br />    }<br />}<br /><br /></code></dd></dl><br /><br />So I get errors while the app starts:<br /><blockquote class="uncited"><div><br />Exception while connecting to EyeTribe Server:    TETCSharpClient.GazeApiManager.RequestTracker(ClientMode mode, ApiVersion version)<br />TETCSharpClient.GazeManager.HandleServerConnect(Object stateInfo)<br /></div></blockquote><br /><br />and<br /><br /><blockquote class="uncited"><div><br />Error initializing GazeManager, is EyeTribe Server running?<br /></div></blockquote><br /><br />But I did start the server!<br /><br /><br />And as soon as I click on the Calibrate Button the Calibration starts, but the dot only moves once. It simply stops there and nothing happens (the dot remains at this point).<br /><br />I get these errors:<br /><blockquote class="uncited"><div><br />Calling CalibrationStart(), but TET C# Client not activated!Calling CalibrationPointStart(), but TET C# Client not activated!&quot;<br /></div></blockquote><br /><br /><blockquote class="uncited"><div><br />Calling CalibrationPointEnd(), but TET C# Client not activated!Calling CalibrationAbort(), but TET C# Client not activated!<br /></div></blockquote><br /><br />So what did I miss? I tried to follow the c# tutorial and looked at the samples, but I can't figure out a solution.<p>Statistics: Posted by <a href="http://theeyetribe.com/forum/memberlist.php?mode=viewprofile&amp;u=9275">skatalaulau</a> — 10 Aug 2015, 12:04</p><hr />
]]></content>
</entry>
</feed>