The VB.NET equivalent is simply
Code: Select all
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"