NI Home > Community > NI Discussion Forums

Multifunction DAQ

Reply
Active Participant
ceties
Posts: 538
0 Kudos
Accepted Solution

DAQmx property to identify Device type

 

Hello is there a Device DAQmx propery that would return what is the primary measurement type for given device?
Meaning for instance:
9201 would return Analog
9203=Current
9211=Thermocouple
Thanks!

LV 2011, Win7
Member
DavidVr
Posts: 187
0 Kudos

Re: DAQmx property to identify Device type

Hey Ceties,

 

  What you can do is use the DAQmx Device Property node with "Product Type" property. This will give you in string the type, like NI 9211. With this info you should create an own table with corresponding string values(like "Thermocouple") and chose the right one from the array. Unfortunatelly there is no property tha will give you directly this information.

 

Please let me know if you need anything else!

 

Best regards,

 

David Varga

Applications Engineer

NIH

Active Participant
ceties
Posts: 538
0 Kudos

Re: DAQmx property to identify Device type

Thanks David,

 

I was thinking of that already but that would mean that I would have to update such a table regularly which is not really handy. It would be nice to have such a property for the future. I think I saw somewhere a discussion about future DAQmx property nodes. This would be the right "candidate".

 

Cheers

LV 2011, Win7
Member
bassinbc
Posts: 92
0 Kudos

Re: DAQmx property to identify Device type

This will get you the type, but not exactly what you wanted.