01-22-2016 02:50 PM
Hello,
I am reasonably familiar with the basics of Labvew coding and device handling, but until recently I have always used National Instruments decives. I recently installed a DAQ from Measurement computer (USB-202), and successfully installed their Labview drivers. Where I am running into an issue is that I am running 5 different DAQ devices, and I would like to give them each meaningful IDs, instead of Dev0, Dev1, etc. I know this is simple enough using MAX, but the Measurment computer devices are not picked up by MAX. I've tried renaming the devices using the software provided by Measurement Computing, but it doesn't seem to communicate this to Labview. Is there a way to name the devices in a way that Labview recognizes?
Regards,
Solved! Go to Solution.
01-22-2016 04:01 PM
01-25-2016 07:23 AM
I left simultaneous questions both here at at Measurement Computing. They responded shortly after you did here. For future help, here's what they said:
"You can indeed read back the manufacturer's name of an MCC device, as shown in InstaCal, From the Function palette, in ULx for NI LabVIEW, where we've populated our vi's, there's one called Task node. Add that one immediately following the Create Channel vi. Wire the task and error wires. Double click on the first item, a menu will pop up, select DeviceName and Viola! When you run the vi it will display the device's name/model."
I haven't tested it out yet, but it sounds like it's not an issue.
Thanks.
02-01-2016 08:01 AM
A quick update. I implimented the above code, and found that it reads out the device number (e.g. Dev0), but does not provide a way to name the device something meaningful. A subsequent call found that such an operation was not possible,