Psychopy to egi netstation connection error?

  1. The package has been tested and functional for Netstation 4.4.x, 4.5.x, and 5.2.x. I don’t think there were any changes between 4.3 & 4.4 that would have broken compatibility, but I don’t have a copy of 4.3 to test that with.
  2. The handshake is in the TCP/IP Log within NetStation. To open it go to “Panels” on the Menu Bar and select TCP/IP Log.

    This is where you’ll see information about connecting the 2 computers as well as information relating to the events you’re sending (button presses, trial number, etc.) which you send using the ns.send_event() method.

What I’m noticing here is your error is from a call to ns.BeginSession(), which should only be called after ns.connect(). Is that how you have it set up? The error essentially is saying that you haven’t created an object property self._connection which only gets created when you run the ns.connect() method. If you do have the connect method before the BeginSession method, then it means you aren’t actually connecting to the NetStation computer at all.

From there, you’ll want to check

  1. your ethernet cable is connected well between stim presentation computer and NetStation computer
  2. your NetStation software is running and scrolls lines across the screen (regardless of whether there is a net attached or it is actively recording).
  3. your stim presentation computer has a static IP address set to a similar address as the NetStation computer (but not the exact same, one number higher. Example: NetStation IP=11.0.0.42; PsychoPy computer IP=11.0.0.43)

Try some of those out and let me know what happens.
Best,
Josh

1 Like