LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing a device property

Greetings!  I am using two different USB devices as virtual com ports.  I would like to be able to see in LV the model names that come up under Windows' Device Manager window, so I can tell which device is currently connected.

 

I've attached a JPG showing the two USB devices (at the bottom).  You can see the currently highlighted device lists the model name as "FT232R USB UART".  The other device model name will show "USB <> Serial Converter".  However, when I go to MAX and look at all the COM port attribute listing, I don't see the model name anywhere.  How do I access the model name in LV?

 

(Currently using Win7 and LV 2010).

 

USB port drivers.JPG

********************************************
Amateur programmer for over 10 years!
********************************************
0 Kudos
Message 1 of 7
(3,002 Views)

Oops, I accidentally bumped my thread!

********************************************
Amateur programmer for over 10 years!
********************************************
0 Kudos
Message 2 of 7
(2,977 Views)

Hi,

 

It looks like LabVIEW is looking for the drivers for these devices. 

Carl W.
Applications Engineering
National Instruments
0 Kudos
Message 3 of 7
(2,955 Views)

Thanks for responding.  LV does see the USB virtual com port devices and I can communicate through either one.  But I would like to be able to identify which device is being used.  When I view the properties I don't see any differences between the two.

********************************************
Amateur programmer for over 10 years!
********************************************
0 Kudos
Message 4 of 7
(2,952 Views)

Without a driver I do not think there will be a way to send a check to the device.

Carl W.
Applications Engineering
National Instruments
0 Kudos
Message 5 of 7
(2,937 Views)

use the system API

!1.png


"Should be" isn't "Is" -Jay
0 Kudos
Message 6 of 7
(2,934 Views)

I've put in a property node that's looking at the system API, like you have in your example.  However I don't see "Vendor Name" as an option in the list of properties.  Is that a property that's not available in LV 2010?  I'll try "ProdName" and see if that will do the job.

********************************************
Amateur programmer for over 10 years!
********************************************
0 Kudos
Message 7 of 7
(2,928 Views)