Hi again,
Working through my VB NET project with a VINT hub and Stepper controllers. The simplest code example I found so far that I can relate to was the Python 4a Stepper sample code and I'm trying to use that as a guide to tell me the individual steps I need to accomplish to get this running in VBNET. (I still haven't been able to find a VBNET code sample that uses the VINT Hub.)
A lot of the code is easy to translate without errors into VBNET, but I am struggling with this one:
Net.enableServerDiscovery(PhidgetServerType.PHIDGETSERVER_DEVICEREMOTE)
Can anyone show me the VBNET equivalent for that, or point me to a resource that explains it?
Using the VINT Hub only requires a couple extra lines of code. For example, if you have a stepper controller attached to a VINT hub on port 1, you only need to set ".HubPort = 1" on the stepper object before calling open. if you have multiple steppers, it's also a good idea to set the serial number of the hub using ".DeviceSerialNumber"