LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Find Resource Name

Solved!
Go to solution

I'm getting a list of com ports using the VISA Find Resource Name (VSRN) function... However, I'd like to narrow down my results. Currently the output string array is giving me a list of COM Ports as I haven't defined what string to look for in 'expression' see vi attached.

 

I would like to just display the COM Ports of devices that have authenticated with a standard serial over bluetooth link, is this possible? I looked at the help for VSRN function and can't see a suitable 'expression' string to narrow down my results.

 

Also is there anyway to extract the device name using a property and/or invoke node when you know the Com Port it is associated with?

 

Thanks,

Strokes

0 Kudos
Message 1 of 2
(3,795 Views)
Solution
Accepted by topic author Strokes

I don't think VISA discriminates different types of COM ports: at this level they are all common serial ports.

With virtual ports you may find a nonempty description (VISA property node: Interface Description).

However this feature of course strongly depends on the virtual port driver; furthermore, NI discourages using this for programming, because its implementation may change in future releases.

 

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 2 of 2
(3,786 Views)