How to list SBC connected devices over network

Supporting Visual Studio on Windows
Meldur
Fresh meat
Posts: 2
Joined: Tue Dec 12, 2017 8:47 am
Contact:

How to list SBC connected devices over network

Postby Meldur » Fri Oct 02, 2020 4:08 am

Hello,

I'm connected to a SBC by network and like to list and access all connected devcies. I try the following code:

Code: Select all

Manager manager = new Manager();
manager.Attach += Manager_Attach;
manager.Open();

Net.EnableServerDiscovery(ServerType.SBC);


The SBC is found successfully (the ServerAdded event is firing) but the manager is not listing any device.

Fo my case I try to connect to an IfKit 8/8/8 that is connected to the SBC. I know, that in Phidgets22 it's replaces by DigitalIO but this code:

Code: Select all

DigitalInput dio = new DigitalInput();
dio.IsRemote = true;
dio.Open();


...is failing too.

Can you give me a push in the right direction please?

Return to “C#.NET”

Who is online

Users browsing this forum: No registered users and 3 guests