Connecting to an SBC2 in C#

Supporting Visual Studio on Windows
imasonaz
Phidgetsian
Posts: 6
Joined: Fri Jul 06, 2012 1:15 am
Contact:

Connecting to an SBC2 in C#

Postby imasonaz » Thu Jul 12, 2012 5:57 pm

Hello-
I'm trying to figure out how best to communicate with my SBC2 over the network. I can't run it on a static IP, and the mDNS seems to not work reliably. From what I've read you should be able to call manager.open(null) to open all network SBCs, but that throws an exception. Basically, I'd like to have it so I can control my SBC2 and two phidgets attached to it. Examples of this would be great (if possible)

On another note, I was looking at controlling another SBC2 on the network with the same program. From what I can tell there is little or no way to have C# control 2 SBCs in one program (due to manager being specific to each WebService). Any suggestions on this too?

Thank you

imasonaz
Phidgetsian
Posts: 6
Joined: Fri Jul 06, 2012 1:15 am
Contact:

Re: Connecting to an SBC2 in C#

Postby imasonaz » Wed Jul 18, 2012 3:19 am

Let me clairify this a little bit:

A. Is there a way to reference WebServices/SBCs without specifying a name/IP for them? (Just open first/any available)


B. Is there a way to control 2 WebServices/SBCs at the same time, within the same program? If so, how? Do you use one manager, or one per WebService/SBC?


Thank you for the help


Return to “C#.NET”

Who is online

Users browsing this forum: No registered users and 2 guests