LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx System --> DevNames doesn't detect PCI-5105

Solved!
Go to solution

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!!

 

 

Message 1 of 4
(3,140 Views)

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.

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 4
(3,118 Views)
Solution
Accepted by barkusmaximus

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.

Sheela Sujeeun

Applications Engineer
National Instruments UK
Message 3 of 4
(3,115 Views)
Many thanks for your help. Its just what I was looking for.
0 Kudos
Message 4 of 4
(3,111 Views)