ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(5,280 Views)
Message 2 of 43
(5,255 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
(5,249 Views)

Hi,

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

 

Mike

Message 4 of 43
(5,243 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
(5,237 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
(5,235 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
(5,229 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
(5,226 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
(5,210 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
(5,201 Views)