Page 1 of 1

Addressing Network Phidgets

Posted: Thu Oct 03, 2019 10:02 am
by HuntJason
Hello,
What properties need to be set to address a network phidget?

I am setting all of ServerName, DeviceSerialNumber, HubPort, IsHubPortDevice, and Channel but that still doesn't seem to be enough/the correct combination to address/connect to the phidget.

Thanks,
Jason

Re: Addressing Network Phidgets

Posted: Thu Oct 03, 2019 12:46 pm
by fraser
3 things are required for a network device:
1)Have a network server running on the machine with the Phidget plugged into it.

2)Access the Network server from the machine running the code. This can be done with either:
Net.EnableServerDiscovery(ServerType.DeviceRemote);
or
Net.AddServer(servername, ipaddress, 5661, password, 0);
- Where servername can be any string
- Where ipaddress is either the ipaddress as a string or the hostname of the machine
- Where password is a string of what ever your server password is (if you have one)

3)Set the device property "IsRemote" to true, before opening the Phidget.

Re: Addressing Network Phidgets

Posted: Mon Oct 07, 2019 11:09 am
by HuntJason
That worked. Thanks!