11-27-2008 03:09 AM
Hi All,
I am using the DAQmx System/DevNames property node to pull out all of the current hardware connected to the system and dynamically assigning device names to the s/w measurements/controls. This property node has worked fine up until now - when I then added a PCI-5105 (digitizer).
I understand that this uses the IVI niSCOPE instrument driver when writing the Labview code and possibly this has something to do with the problem but my understanding was that if Measurement & Automation explorer shows the device and name under the Devices and Interfaces/NI-DAQmx Devices sub-directory then this property node should pick it up. (i.e NI PCI-6255: "Dev1" or NI PCI-5105: "Dev3 etc...)
Is there a way where I can automatically detect its device name? Or is the problem because its using IVI and requires an IVI class to be defined?
Would be pleased for some advise!!
Solved! Go to Solution.
11-28-2008 06:33 AM
Hi,
Thanks for the post and I hope your well.
I beleive you will need to you the NI Scope API.
If you right click and create a property node in the NI Scope API - you can get a device class. Ive used it for serial numbers before.
Hope this helps,
Kind Regards,
James.
11-28-2008 07:01 AM
Hi Barkusmaximus,
You will indeed need to use the NI Scope api to detect the devices connected to your system. The VI's under NI Scope>Utility functions>ModInst will detect and display the device details. See the attached VI for an example.
11-28-2008 07:30 AM