How to Load program regardless of serial number?

Supporting Visual Studio on Windows
ingallspw
Fresh meat
Posts: 2
Joined: Tue Oct 02, 2018 6:35 am
Contact:

How to Load program regardless of serial number?

Postby ingallspw » Tue Oct 02, 2018 6:45 am

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.

jdecoux
Labview Developer
Posts: 100
Joined: Mon Nov 13, 2017 10:20 am
Contact:

Re: How to Load program regardless of serial number?

Postby jdecoux » Tue Oct 02, 2018 10:00 am

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.

ingallspw
Fresh meat
Posts: 2
Joined: Tue Oct 02, 2018 6:35 am
Contact:

Re: How to Load program regardless of serial number?

Postby ingallspw » Tue Oct 02, 2018 10:09 am

Awesome! That worked! Thank you very much @jdecoux!


Return to “VB .NET”

Who is online

Users browsing this forum: No registered users and 1 guest