Page 1 of 1

How to Load program regardless of serial number?

Posted: Tue Oct 02, 2018 6:45 am
by ingallspw
I downloaded the Phidget_Digital_output example. In it, it requires a serial number for the device. The program I am writing will only have one Phidget (1014_2) connected to it at a time however, it will be running on multiple PC's. I want the program to run regardless of the serial number. This is going in a manufacturing setting that moves a lot so the device may hop from one PC to the next and I do not want it to care.

Re: How to Load program regardless of serial number?

Posted: Tue Oct 02, 2018 10:00 am
by jdecoux
To have your program connect to any serial number, you can either not set the serial number in your program, or set the serial number to -1.

Re: How to Load program regardless of serial number?

Posted: Tue Oct 02, 2018 10:09 am
by ingallspw
Awesome! That worked! Thank you very much @jdecoux!