LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB block diagram

Hi,

 

I am currently using labview 2010...I woud like to know how to create a block diagram for detecting USB port

 

Please advice

 

Thanks

0 Kudos
Message 1 of 43
(4,736 Views)
Message 2 of 43
(4,711 Views)

Hi Mike,

 

Do you have a simple block diagram that detect USB com port(e.g.com1,com2,etc)?

 

Please advice

 

Thanks

0 Kudos
Message 3 of 43
(4,705 Views)

Hi,

do you mean USB or COM Port? Can you please explain a bit more?

 

Mike

Message 4 of 43
(4,699 Views)

Hi Mike,

 

I am currently doing a project for communicatio through USB...I want a simple block program that can detect a USB port so that I can excute the rest of the program. 

 

Please Advice

 

Thanks

0 Kudos
Message 5 of 43
(4,693 Views)

Hi undergraduate,

the first post shows how you can get the event if a new USB device was attached. If you need the available COM Ports, then you can use the "VISA Find Resource" function.

 

Mike

Message 6 of 43
(4,691 Views)

Hi Mike,

 

Can you help me to write a example program on how to use the visa find resource function?

 

Please Advice

 

Thanks

0 Kudos
Message 7 of 43
(4,685 Views)

Hi undergrate,

where do you have problems with it? If you use it, you'll get a list of found devices.

 

Mike

Message 8 of 43
(4,682 Views)

HI Mike,

 

I am not sure which nodes should I use for this function will automatic detect and list the devices found?

 

Please Advice

 

Thanks 

0 Kudos
Message 9 of 43
(4,666 Views)

Hi undergraduate,

 

what is your problem with this function? Is the help not self-explaining?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 10 of 43
(4,657 Views)