I hope everything is going well. I’m setting up new equipment to work with MWorks connected to two displays.
Normally, in the lab, I have each setup arranged so that a single Mac controls visual stimulation (serving as both server and client).
However, with this new equipment connected to two displays, I’ve run into a problem: I can’t connect a third display to monitor the experiment, as the Mac can apparently only handle two monitors. Therefore, I thought of configuring this Mac as a server and controlling it with a client Mac.
The issue is that I’ve never set this up before. I read the manual regarding setting the listener IP and other details, but I’m unsure whether I can connect via Wi-Fi (both Macs are connected to the university router), whether I need to use the university’s local network via Ethernet, or whether I need to connect the computers directly with a cable.
Could you please guide me on this one?
Thanks in advance for clarifying what I consider is a dumb question
Cheers,
You can connect via Wi-Fi or Ethernet. You can even mix the two: The server can be connected via Ethernet, and the client can be on the Wi-Fi network. There’s no need to connect the computers directly with a cable.
The main thing is that the server’s listening address must be set to its public hostname or IP address. This might be more difficult if the server is connected to the university network via Wi-Fi, as its IP address will be assigned dynamically, and it may not have a hostname.
Hi Chris,
And for the listening port, any particular number I should take into account?
So far while setting the IP address in the server i got the following error
”cannot bind ZeroMQ socket: can’t assign requested address”
For the listening port, you should just use the default (19989), unless some other application on the Mac running MWServer has taken that port, which is unlikely.
The listening address must be an IP address or hostname that has been assigned to the server machine. This article describes how to determine your Mac’s IP address. (The article distinguishes between public and private IP address, which is relevant for most home networks. However, on a university network, the public and private addresses will likely be the same.)
Hi Chris,
The error I had was because I was setting in the server mac the PRIVATE ip of the CLIENT computer
Fortunately the local network has hostname, so everything works smoothly
Thanks a lot!
Jaime