Connect to SBC directly with IPaddress

Supporting Visual Studio on Windows
Fresh meat
Posts: 1
Joined: Fri Dec 01, 2017 4:25 am

Connect to SBC directly with IPaddress

Postby knas » Fri Dec 01, 2017 5:25 am

I have a programm and connect to PhidgetSBC directly through lan IP
I use

Since all examples are for phidgets local connect, is any example for

This is my code

Dim WithEvents phidgetSBCA As Phidgets.InterfaceKit
Dim WithEvents phidgetIO16A As Phidgets.InterfaceKit

Public Sub New()
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Dim ipaddress As String

ipaddress = ""

phidgetSBCA = New Phidgets.InterfaceKit
phidgetIO16A = New Phidgets.InterfaceKit, ipaddress, 5001), ipaddress, 5001)

End Sub

User avatar
Site Admin
Posts: 818
Joined: Fri Oct 28, 2011 12:17 pm

Re: Connect to SBC directly with IPaddress

Postby mparadis » Fri Dec 01, 2017 12:14 pm

In Phidget22, you can use AddServer from our Networking API in order to configure a server with an IP address and port. Then, when opening a Phidget you can set the ServerName property to the same name you gave the server in order to connect to the SBC at that IP address.

Return to “VB .NET”

Who is online

Users browsing this forum: No registered users and 2 guests