07-23-2010 11:13 AM
I have a number of TC01 thermocouple units.
As I plug them into my PC they are assigend device names (dev1, dev2 etc).
I have written a Labview program to read the temperature and log it to a file. I then created an exe file from this vi as the plan is to put this on various computers and monitor the temperature at different stations. This exe file (and the vi) assumes the TC01 unit is dev1 - so if I plug a different TC01 unit into my computer (one that has already been recognised as, say, dev2) then the program can't read the senso and gives an output of zero.
I guess my question is, is there a way to force any TC01 unit plugged into the computer to be 'dev1' or, alternatively, to have the Labview program hunt for possible devices and use any it finds?
Solved! Go to Solution.
07-26-2010 07:49 PM
Howdy Pauloc!
Check out this example from our LabVIEW community. It demonstrates how to programmatically determine DAQmx device names that coorrespond to a specific product type. Although the example was intended for use in executables, the same process should work well for your applications.
Regards,
07-27-2010 10:32 AM
Barron,
that was exactly what I was looking for - thanks!
pauloc