12-07-2013 05:11 PM
Is there any way to "tie" a DAQ card serial number to a Labview design/program?
For example, PCI-6601 has a serial number 12345, and I write a program (called ProgramABCD) to do data acquisition, I like to "tie"/"bind" the 12345 and ProgramABCD together, so that ProgramABCD will not work on another PCI-6601 (unless I change the matching serial number in ProgramABCD to the new PCI-6601).
Thanks.
Solved! Go to Solution.
12-09-2013 08:34 AM
Hi Lize,
You could programmatically read the serial number of the device using a property node and then based on that, decide whether to end or continue the program. See this link: http://digital.ni.com/public.nsf/allkb/92F3F7C79579FA238625718700764F9D?OpenDocument
However, if this is going to be distributed to the end user as a .VI file not an executable then the end user could always go into the code and change/modify it so he can use different devices with it.
12-09-2013 12:28 PM
Understood. Thanks for your quick response.
12-09-2013 02:14 PM
Modifying a VI and building a new exe for each DAQ card seems like a disaster waiting to happen. For LabVIEW, have you seen the licensing toolkit?
12-09-2013 02:28 PM
No, I don't know the third-party licensing. I'll take a look. Appreciated the information.