Cannot communicate with TET + odd delay

Forum for C#/Windows development

Cannot communicate with TET + odd delay

Postby BlackRainbowFT » 12 Dec 2014, 20:03

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.
BlackRainbowFT
 
Posts: 3
Joined: 04 Nov 2014, 19:22

Re: Cannot communicate with TET + odd delay

Postby BlackRainbowFT » 13 Dec 2014, 15:28

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...
BlackRainbowFT
 
Posts: 3
Joined: 04 Nov 2014, 19:22

Re: Cannot communicate with TET + odd delay

Postby Anders » 13 Dec 2014, 15:50

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
Anders
 
Posts: 124
Joined: 29 Oct 2013, 16:23

Re: Cannot communicate with TET + odd delay

Postby BlackRainbowFT » 13 Dec 2014, 19:40

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!
BlackRainbowFT
 
Posts: 3
Joined: 04 Nov 2014, 19:22


Return to C#