07-15-2011 03:42 AM
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
Solved! Go to Solution.
07-15-2011 04:05 AM
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.