Stop Bluetooth Discover while searching

Hello!
I try to make bluetooth connect window like "Add Bluetooth Device Wizard" in MS WINDOWS. I start from this:
It works well, i can see my devices, and devices disappear when i switch them off. searching time (or update time) 6 sec. in Add Bluetooth Device Wizard it is 10 sec. But i can't stop the search in this 6 sec, it just freezing for this time. In "Add Bluetooth Device Wizard" i can press on chosen device and it stop searching or i can press cancel button. Thank you, i'm new in LabVIEW.
P.S i don't know why but it makes only one search without  flat sequence structure.

Hi timbak,
Actually what is wrong in your program is the sequence structure. This structure cannot be stopped until the code within is completely executed. So when you push the stop-button, first the code in the sequence is executed and then the loop is stopped.
Your code also doesn't make only one search but it displays only the last one because the indicator "device list" is in the loop. If you want to see the results of all iterations, it would be better if you used an auto-indexed tunnel and connect it with a 2-dimentional array of clusters where all the devices for every search are displayed, or you can simply use the Bluetooth discover function without a while loop (which I think is better).
There is a good example in LabVIEW that you can use. go to help >> find examples und in the NI Example finder you can either search the word "Bluetooth" or navigate to "Networking >> Bluetooth" and you will find the project "Simple Bluetooth.lvproj"
I hope this helps.
Best Regards
Maha

Similar Messages

  • My iPhone 4 will not find any Bluetooth device not even my ipod touch . When I turn on bluetooth it starts searching and then never stops. It never finds my headset and never stops "searching". I have tried restarting the phone

    My iPhone 4 will not find any Bluetooth device not even my ipod touch . When I turn on bluetooth it starts searching and then never stops. It never finds my headset and never stops "searching". I have tried restarting the phone. what to do?

    Hi,
    You probably need to do this...
    DFU Mode / Unable to Update or Restore
    http://support.apple.com/kb/HT1808
    But Try Here First
    Frozen or unresponsive iPhone
    From Here:
    http://www.apple.com/support/iphone/basics/

  • The following error occured while searching for on-premises exchange server

    I've previously posted this under the Exchange Forums - Exchange Server 2010
    I look after a company where I installed a new DELL server last year, The server is running Windows Small Business Server 2011 which we installed. Exchange 2010 was installed as part of the Windows Small Business Server 2011 installation. At the time we
    did not configure Exchange because they use external POP accounts for email. Eventually they wanted to move over to Exchange
    When we created the user accounts using Windows SBS Console, it created a local mailbox for each user
    No problems - [email protected]
    Since late last year every time I create a new user within SBS Console, it errors creating the mailbox
    Add a user account and assign a user role
    Getting "Unexpected error occurred" when Setting up an e-mail account for user
    Looking at the error "Unexpected error occurred" & MessagingManagement "Unexpected error occured"
    The user account is created ok just no e-mail address is created for the user
    I never thought much about this at the time as we weren't using Exchange email accounts. I decided to have a look at this issue over weekend
    When I try to open Microsoft Exchange Management Console I'm getting "Initialization failed"
    The following error occurred when searching for the On-Premises Exchange server
    When I try to open Microsoft Exchange Management Shell, I get a similar error
    I've download & run EMTShooter which just identifies there is an error & gives me the same error
    I've installed & re-installed WinRM IIS Extensions
    I've checked all the settings in IIS, Default Web Site, PowerShell, Modules & Paths...
    Still cannot connect to Exchange
    I've trawled through the internet for two days checking & testing every solution but no luck
    I've checked every setting against another Windows SBS 2011 Server we've installed & works
    I cannot find a difference
    Can someone help me or point me in the right direction?
    Peter Ralphs

    Thanks for the reply Larry
    I've added more detail about the error, this server is exactly how I initially installed it. This was a clean install not a migration so Exchange was a new installation. I have not applied any service packs as I did not want to confuse matters
    or compound the issue. I was wondering whether to install Server 2008 Service Pack 1 & the Exchange Service Packs. I will check the event logs & report back with what I find.
    Here's the original error I was getting when opening Exchange Management Console
    Initialization failed
    The following error ocurred while searching for the on-premises Exchange server:
    [server.myd.local] Connecting to remote server failed with the following error message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid.
    For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true -CurrentVersion 'Version 14.1 (Build 218.15)
    I got similar error when trying to access the Exchange Management Shell
    VERBOSE: Connecting to SERVER.myd.local
    [server.myd.local] Connecting to remote server failed with the following error message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid.
    For more information, see the about_Remote_Troubleshooting Help topic.
        + CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [],                          
    PSRemotingTransportException
        + FullyQualifiedErrorId : PSSessionOpenFailed
    When I opened the Exchange Management Console this week, the error had changed slightly
    Initialization failed
    The following error ocurred while searching for the on-premises Exchange server:
    [server.myd.local] Connecting to remote server failed with the following error message : The WinRM client received an HTTP server error status (500), but the remote service did not include any other information about the cause of the failure. For more information,
    see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true -CurrentVersion 'Version 14.1 (Build 218.15)
    I could only run Exbpa from a command prompt (obviously no access from Exchange Management Console)
    This is the result of the Health Check Scan
    Organization: First Organization
    Default Global Address List Changed
    The 'msExchQueryFilter' attribute of the default Global Address List 'Default Global Address List' has been changed. Default: '(Alias -ne $null -and (ObjectClass -eq 'user' -or ObjectClass -eq 'contact' -or ObjectClass -eq 'msExchSystemMailbox' -or ObjectClass
    -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group' -or ObjectClass - eq 'publicFolder'))'. Current: '((Alias -ne $null) -and (((ObjectClass -eq 'user') -or (ObjectClass -eq 'contact') -or (ObjectClass -eq 'msExchSystemMailbox') -or (ObjectClass
    -eq 'msExchDynamicDistributionList') -or (ObjectClass -eq 'group') -or (ObjectClass -eq 'publicFolder'))))'.
    Admin Group: Exchange Administrative Group (FYDIBOHF23SPDLT)
    The default public folder database is remote
    The default public folder database for mailbox database 'Mailbox Database' on server SERVER isn't local. Public folder database: CN=Public Folder Database 1529293969,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First
    Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=myd,DC=local.
    Server: SERVER
    Disk timeout changed
    Disk timeout on server SERVER.myd.local is not set at the default of 10 seconds. This is normal if third-party storage software is installed. Current timeout value is 160 seconds.
    Client RPC binding found
    The 'Rpc_Binding_Order' is set on server SERVER.myd.local. It is possible that either the Exchange or Outlook client is installed on the server. Current registry value: ncalrpc,ncacn_ip_tcp.
    One thing I've noticed from the start is that the error occurs when it is "searching" for the Exchange Server, it then goes on to name the server [server.myd.local] it knows it's there but cannot access it ?
    Another thing I've noticed is that it always refers to the "remote server" this server is Windows SBS 2011, it's the Domain Controller, DHCP Server, DNS Server & Exchange Server all in the same box
    I also noticed that the Health Check stated that "The default public folder database is remote"
    Has this something to do with it ?
    Regards
    Peter

  • In settings on my ipad the Bluetooth is constantly searching for devises. How do I make it quit searching.

    In settings on my ipad the Bluetooth is constantly searching for devices. Why doesn't it stop or how do I stop it from searching and automatically connecting to devices?

    If you do not set your device in discoverable mode, the iPad will never find them.

  • Why my video stops for sometime while playing on vlc player

    Why my video stops for sometime while playing on vlc player?
    It started from last week. Whenever I play a video it stops for about 5-10 seconds and then continue playing. I have played mp4 and avi format.
    But unable to understand the reason behind it. If someone out here know the reason and also how to fix this issue, please lease let me know.

    Nope,
    But I just discovered that that it is actually not only the sound that stops working but rather the whole video that has a "hick-up" and then when it continues the sound is gone. If I fastforward/rewind then it seem like the player rocovers and play the stream correctly again.
    What are the Mp4 clip prefs you have used when converting?
    I am planning to try some other settings when converting to see if that makes any difference but I doubt it will help. I think we will have to wait for a "better" i.e. working Video Player for the iPod ...

  • I have 3 older ext. hard drives that I've utilized many times. Today while searching for old files, one of the three is no longer recognized by my PowerMac.  Any suggestions?

    I have 3 older ext. hard drives that I've utilized many times. Today while searching for old files, one of the three is no longer recognized by my PowerMac. The drive is not listed in Disk Utility.  Any suggestions?

    Is the computer in you equipment line:
    Dual Core Intel Xenon
    (which is not a PowerMac but a Mac Pro) the one you are asking about, or do you have an older PowerMac?
    If a Mac Pro, their forums are here:
    Mac Pro
    and, as Mac Pros have a totally different architecture from the pre-2005 Macs this forum covers, you may not have the same issues that can affect the older models. If someone didn't notice your equipment line, you could get advice that doesn't apply.
    If you really have a pre-2005 PowerMac, read on.
    If the stubborn external is USB and does not have its own power brick (i.e., it gets power only from the computer's UBS ports--"bus powered"), it may not be getting enough power. As electric motors age, they can demand more power than when new, and the power available on any USB port is limited.
    The typical workabouts to making a computer recognize an aging, bus-powered USB drive are:
    Get a powered USB hub (has its own power brick
    Get a "Y" USB cable: 1 Meter USB 2.0 A to 5 Pin Mini B Cable - Auxiliary USB "Y" Power Design for external hard drives.
    The second gets power from two USB ports on the computer and often that's enough.
    Remember that the USB ports on your keyboard seldom provide enough power even for a thumb drive, so be sure to use the USB ports on the back of the computer.

  • How to stop execution in while loop without stopping execution of other loops in the same vi

    HI
    I am quite a novice in Labview.
    I have a problem in my project. I used a while loop inside my vi to build an array of ten values along with other loops. Then I used a stop button to stop manually the while loop. But it seems like the loop doesn't stop in the middle of the array building and so other loops in the vi doesn't work until the while loop finishes building the array and as soon as while loop execution is over, the complete vi stops. But all that I wanted was to build the array using the shift register along with the control to stop building array anytime. And not to stop execution of other structures when the while loop finishes.
    Can anyone help me?
    Rahul

    Hi Rahul,
    Modified ur Vi to work with single button.
    But the subtract case is not in any loop.
    So, once both the loops stop, the subtract case will execute only once. Depending on state of subtaract boolean at that time, corresponding case will be executed and the Vi will stop.
    so think of a logic where u can put this also in a new loop.
    Or you can also incorporate it in one of the two loops and pass the other loop's data to it.
    Let us know how you will proceed in this regard
    I am posting your VI as well a VI with my modifications VI in Labview 7.0 so that Thomas can give his suggestions too
    Plus, always keep a time delay in your while loops.
    Oh sorry, the "arrayinouttestnewfinal.vi" is the modified vi
    Regards
    Dev
    Message Edited by devchander on 01-10-2006 06:15 AM
    Message Edited by devchander on 01-10-2006 06:19 AM
    Attachments:
    arrayinouttestnewfinalnew4.vi ‏59 KB
    arrayinouttestnewfinal.vi ‏63 KB

  • Can I get a refund on a movie that stopped to download while I was in the middle of it?

    I want a refund. My movie stopped to download while I was in the middle of it. Who can I contact? Why  do I want to watch a load screen for hours? This is terrible.

    Welcome to the Apple Community.
    While frustrating, problems are usually overcome, I doubt very much you will get a refund because your viewing was interupted, but you can always try. In all but a very few cases the cause of such problems is the users ISP or home LAN, so I would understand Apple being reluctant to give refunds in such cases.

  • Error while searching for Business Partner in Web UI

    Hi,
    While searching for the Business Partner in Web UI either by First Name, last name or Account ID, we are getting following error:
    Cannot display view BSPWD_BASICS/ErrorView2 of Component CRM_UI_Frame
    An exception has occured
    Exception class: CX_BOL_EXCEPTION - Access previously deleted Entity
    Method: CL_CRM_BOL_ENTITY=>GET_ROOT
    Source Text Row: 12
    When the business partner blind search is given (i.e. by entering *), all the business partners get displayed without any problem.
    Also, this problem occurs only for some business partners and NOT ALL.
    This problem, has also been observed sometimes when an IBase entry is created in the background.
    We are not quite sure whether notes, 135814 & 1515327 will help us in this regard, as the root cause is still unknown.
    Could anyone suggest possible causes and solution for the same. We are on CRM 7, using the standard business role.
    Thank you in advance.
    Regards,
    Chhaya

    Hi Shiromani,
    We have observed that this problem is peculiar with the data records attached to IBase ONLY. It means, if we process them further e.g. create a contract for the Business Partner after attaching the IBase, this problem doesnt occur. Then we are able to search the BP without any error.
    In short, when an IBase is created for a BP, and if a search is given for such BP, the error given in the first thread occurs, But when an IBase is created and immediately after that a contract is attached to the BP, and if a search is given for such BP, then there is no error.
    We are still further investigating the root cause. But any suggestion/inputs are welcome.
    Thank you.
    Regards,
    Chhaya

  • Sapinst stops with error while installing ess component for Java AS

    Dear experts,
    I really hope you can help me with this one,
    We are installing a ABAP/Java AS development system and sapinst has gone through 75% of all execution tasks nicely,
    but then stopped with error while deploying components for the Java AS:
    ERROR 2009-03-30 13:01:27
    CJS-30156  SDM deployment failed for at least one of the components to deploy.<br> SOLUTION: Check 'C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/DISTRIBUTED/AS/CI/callSdmViaSapinst.log' for more information.
    ERROR 2009-03-30 13:01:28
    FCO-00011  The step enableUsageTypes with step key |NW_Doublestack_CI|ind|ind|ind|ind|0|0|SAP_Software_Features_Enablement|ind|ind|ind|ind|15|0|enableUsageTypes was executed with status ERROR .
    Any help would be really appreciated as I am stuck with this and dont seem to be able to find any information on this one.
    Thanks a lot for your help in advance.
    Here is the crucial part of callSdmViaSapinst.log:
    Mar 30, 2009 12:55:18... Info: Starting: Initial deployment: Selected development component 'ess/bp_ess'/'sap.com'/'MAIN_ERP05VAL_C'/'788220'/'0' will be deployed.
    Mar 30, 2009 12:55:18... Info: SDA to be deployed: D:\usr\sap\DE1\DVEBMGS00\SDM\root\origin\sap.com\ess\bp_ess\MAIN_ERP05VAL_C\0\788220\sap.com_ess~bp_ess.sda
    Mar 30, 2009 12:55:18... Info: Software type of SDA: J2EE
    *Mar 30, 2009 12:55:18... Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) ******
    Mar 30, 2009 1:00:21 PM  Info: Begin of log messages of the target system:
    *09/03/30 12:55:19 -  ************************************************************
    09/03/30 12:58:07 -  Start updating EAR file...
    09/03/30 12:58:07 -  start-up mode is lazy
    09/03/30 12:58:08 -  EAR file updated successfully for 578ms.
    09/03/30 12:58:08 -  Start deploying ...
    09/03/30 12:58:42 -  EAR file uploaded to server for 30641ms.
    09/03/30 13:00:20 -  ERROR: Not deployed. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Cannot deploy application sap.com/ess~bp_ess..
                         Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Exception during deploy: Failed to deploy archive D:\usr\sap\DE1\DVEBMGS00\j2ee\cluster\server0\.\temp\deploy\work\deploying\reader1238414327258\sap.comessbp_ess.epa
                   The following objects could not be locked: [pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess**.iviews/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.mx/com.sap.pct.erp.ess.addr/com.sap.pct.erp.ess.addr|pcd_service], [pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.iviews/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.de/com.sap.pct.erp.ess.addr|pcd_service], [pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.iviews/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.id/com.sap.pct.erp.ess.addr/com.sap.pct.erp.ess.addr|pcd_service], [pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.pages/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.jp/com.sap.pct.erp.ess.addr/com.sap.pct.erp.ess.addr|pcd_service], [pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.pages/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.de/com.sap.pct.erp.es

    Thanks Désirée for your answer and apologies for the late update on this one.
    This issue is resolved now, the reason for the error was a lack of memory which probably triggered a timeout in sapinst. After upgrading the memory to 7GB and re-starting the ABAP+Java AS and resuming sapinst everything went through fine. However, this was hard to spot because the logs wouldn't tell you about the lack of memory but about everything else!
    regards,
    Manfred

  • Any notes for this issue 2 entries for 1 material while searching material

    Hello All
    Internal goods and services
    search material which has more than one UOMs.
    When i search material for internal goods and services i get two entries for one material . i know the reson why it dispalys two same items since it might have alternate UOM but however you select any one of the item it will be order unit only as UOM.
    Why SRM system showing two enties for one material with same item . enduser may dismay what item item needs to select.
    this must be protected right? Any suggestion not to show tow items while searching one material.
    Clue:- MARM - ecc table has Alternate UOMs entries fort he material. Any one is facing this problem ?
    br
    muthu

    Hi. I just tried it on our SRM 4 system (I know it's old, upgrade soon hopefully) and I can see the alternate UOM in MARM and also in SRM in COMMPR01, but I only get 1 hit in the search help.
    Are you sure you haven't got the same material replicated twice into SRM from 2 different backends or something? Can you see the logical system in the search? Check table COMM_PRODUCT to see if there is more than 1 entry for the material maybe?
    If it is the same system and the UOMs causing the problem It seems a bit odd that SAP would introduce this on a new system, have you tried raising a message with them?
    Worst case you always have the BBP_F4_READ_ON_ENTRY / BBP_F4_READ_ON_EXIT BADI's.
    Regards,
    Dave.

  • HT1841 How to disable some of the automatic function from my bluetooth (jabra) while iphone does not have the capacity to set up the bluetooth property like BB?

    How to disable some of the automatic function from my bluetooth (jabra) while iphone does not have the capacity to set up the bluetooth property like BB?

    Sorry. You're not making sense. Please re-phrase the question or post in your native language.

  • Getting the Warning message while searching in the Query panel

    Hi all,
    getting the following warning message while searching something through Query panel.
    <SimpleSelectOneRenderer><_getSelectedIndex> Could not find selected item matching value "VwObj_SearchNCCriteria" in QueryRenderer$2[UIXEditableFacesBeanImpl, id=null]
    can anybody help me in filtering this warning message
    Thanks & Regards,
    Veeresh

    Hi Frank,
    the JDeveloper version is JDeveloper Studio 11.1.1.3.0
    I have a View object View_Query for that i have added View critirea as View_Query_Critirea.
    I dropped the Critirea as Master-detail table in the page.
    when i try to search anything in the master-detail table I am getting the warning message which i mentioned in the original post.
    thanks,
    Veeresh

  • HT1923 my itunes stopped working a while ago and wont uninstall.

    my itunes stopped working a while ago. i tried uninstalling it, probably in the wrong order. i am now trying to do it properly. when i get to step two "
    C:\Program Files (x86)\Common Files\Apple\" it tells me there is a program open using the files, but task manager doesnt show any open apple programs. anybody know which program i need to close? or if this is a just a bug that can be fixed by other means? thanks in advance

    also before i tried uninstalling, it told me that 'itunes has a new library', or something simillar, if that helps

  • More filter criteria while searching !!!

    Hi All,
    Lets consider a scenario where i am facing a problem while accessing BAPI in WebDynpro.
    Before posting the problem i would like to search first . If i give BAPI in WebDynpro forum search then i will return result that matches for BAPI.
    How about having one more option like "Topic" where i can select that topic while searching .
    Ex : If i want to search in WebDynpro then i should be able to select options like
    "General, UIElements,RFC,WebServices...." etc etc in a dropdown .
    And one more option is searching for all "Answered Questions" for my question. Do we have this option already ?? If so pl ingone this.
    I don't know this use case make sense or not , but i feel this kind of search will reduce duplicate threads in forums.
    In future , SDN can give SMART replies based on the question so that you can achieve some kind of automation !!!
    Best Regards, Anilkumar
    Message was edited by:
            Anilkumar Vippagunta

    Hi Anilkumar,
    You are correct in that using solved as an additional search criteria has already been requested here:
    Forum Search - no indication if the thread is solved.
    I agree that this is important and have added as a request to changes, thanks.
    No promise of how quickly implemented, though .

Maybe you are looking for

  • [SOLVED] Cannot boot with linux-3.5.3

    Edit: Solved, as explained here. Hello, after upgrading to linux-3.5.3-1 my boot stopped at :: running early hook [udev] I tried upgrading to grub-bios-2.00, removing any customization I had in modprobe.conf and /etc/modules-load.d as well as removin

  • Blurry spots on monitor

    Hi, This is my first issue and question. I have a Mac Pro that I purchased a year ago and have had it hooked up to the same monitor (Gateway) and today when I turned it on there are places that appear blurry. If I am in some applications or email or

  • FB03 Document List Error Dump

    Hi Expert's we have more data for Fiscal year 2013 like 55k thousand of Reversal Document Number. we want to see the all 55 thousand Document List thru FB03, but system getting Dump Abap Error. Kindly help me Thx Pranav

  • SCVMM Template relocation

    I have a couple of templates in scvmm that give me an error of The library object (VHDNAME) cannot be removed because following objects are dependent on it: Virtual Hard Disk deployment configuration Using the articles found from a google search to r

  • How to update Motion 5 ?

    How to upgrade or update Motion 5?