Page 1 of 1

Cannot communicate with TET + odd delay

PostPosted: 12 Dec 2014, 20:03
by BlackRainbowFT
Hello,

I recently purchased the SDK and I ran into an issue.

Note: I'm not an expert programmer and I'm still quite new to GUI programming and C#.

Before integrating eye tracking into my project I just wanted to see what I needed to do to make a bare-bone application using TET.

As a very first experiment, I decided to basically just have a white WPF window with a messagebox stating whether TET was working or not (I basically copied the first few lines from the Scroll example).

- once I build my program, it roughly takes 10 seconds before the window and the messagebox show up.
- the message box always displays that the server couldn't be reached
- when the program opens I don't see the red LEDs lighting up.

...the other examples run just fine and yes, the server is up and running. Also, everything compiles just fine...

So... any idea about what could be the problem?

I also downloaded the GazePlotter program made by Martin (I think) just to see how it was done... the compiled exe runs just fine (opens immediately, although the performance is terrible), but if I build it myself the program also takes around 10 seconds to open and it just doesn't work... it can't communicate with the server.

Thank you!

EDIT: typos.

Re: Cannot communicate with TET + odd delay

PostPosted: 13 Dec 2014, 15:28
by BlackRainbowFT
A small update.

I tried this on another computer, and this time the LEDs stay on for about 5-6 seconds. But the messagebox is always the same...

Re: Cannot communicate with TET + odd delay

PostPosted: 13 Dec 2014, 15:50
by Anders
Hi

So without any source code, it is very hard to give your pointers as to what could be wrong. Could you please share your code?

A quick guess is that either your hardware or your OS is not supported by our minimum required specifications. Could this be the case?

Have you taken a look at the basic C# tutorial?

Hope this helps.

BR,
Anders

Re: Cannot communicate with TET + odd delay

PostPosted: 13 Dec 2014, 19:40
by BlackRainbowFT
Hey,

Yes, my bad. I was planning on posting my source code but I'm code-shy :P

Anyway... yes, I read the basic tutorial and although I had correctly added a reference to TETCSharpClient.dll, I didn't add Newtonsoft.Json.dll...
Adding it has solved everything and I even managed to integrate TET in my project and it works!

I knew it was probably something stupid like that!

Thank you for your help!