Addressing With an IKit + VINT Hub

Technical Discussions on any InterfaceKits
Post Reply
AdamLee
Phidgetly
Posts: 34
Joined: Wed Jul 17, 2019 9:28 am
Contact:

Addressing With an IKit + VINT Hub

Post by AdamLee »

Hey again everyone!

I was just wondering about how addressing works when you have a VINT hub and an interface kit. Let's say I'm not referencing either of them by label or serial number and I open a digital output on channel 0. What happens exactly? What if channel zero on the VINT hub is an RTD Phidget?

I've tried to label our VINT hub and interface kits on our system but it looks like you can't label an interface kit.
Adam Lee
Software Engineer
www.activatedresearch.com
User avatar
Patrick
Lead Developer
Posts: 3399
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Addressing With an IKit + VINT Hub

Post by Patrick »

On the VINT Hub, in order to open a port in digital output mode, you need to set isHubPort to true - so that wouldn't get picked up.

If you had a Digital Output vint device plugged in, as well as an interface kit - then it's ambiguous which channel would get picked up by your open, and you would need to specify more addressing options to make it unique (serial number, label, hub port, etc.).

interface kit label can be written on macOS or Linux. HUB0000 can be written on Windows as well.

-Patrick
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests