LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

viOpen returns VI_ERROR_SYSTEM_ERROR for bluetooth resources and crashes the application.

viOpen returns VI_ERROR_SYSTEM_ERROR for bluetooth resources. Is it possible to identify such resources, soI dont open them ? I am iterating over all the serial interfaces and when this bluetooth interface is enountered the application crashes.

Is there some search string or some other NIVisa function I can use to identify such a resource ?

0 Kudos
Message 1 of 2
(2,622 Views)

Hi, charuagrawai.

 

Have you tried using the Bluetooth Discover function (Data Communications»Protocols»Bluetooth)?  This particular VI will allow you to search for and identify Bluetooth devices without actually opening a connection.  There are also a lot of Bluetooth examples available in the NI Example Finder (Help»Find Examples).

 

What exactly is the goal of your program?  Are you trying to communicate with your Bluetooth device?  Attaching your VI would also be helpful in solving this issue.

 

I hope you're having a great day!

Regards,

Sara Lewandroski
Applications Engineer | National Instruments
0 Kudos
Message 2 of 2
(2,600 Views)