Delay after reset device?

I want to reset my device, including both modules and chassis if the device is a cDAQ chassis, and then proceed to setting the device up for aquisition.  I find that if I do not include delays after the DAQmx Reset Device.vi, I get errors when I go on to setting up the channels and tasks.  As shown in the attached vi, the delays work, but I think this is not a robust method.  Is there a way to know, after a DAQmx Reset Device, when the device is again available for further interaction?
Thanks.
Attachments:
Reset Devices (SubVI).vi ‏22 KB

Hi Alejandro,
Here is my version of your suggestion.  I used serial number rather than device type.  Note that I want to reset all the devices in a chassis, plus the chassis itself, if the device is a chassis so I build an array with the module names followed by the Chassis name and then do the rest and wait for serial number operation on the array, one at a time.
When  I use this immediately before a vi that does some moderately extensive DAQmx channel and task setup, the setup vi still fails. It gives the following message
Error -201003 occurred at DAQmx Create Channel (CI-Position-Angular Encoder).vi:4
Possible reason(s):
Device cannot be accessed.  Possible causes:
Device is no longer present in the system.
Device is not powered.
Device is powered, but was temporarily without power.
Device is damaged.
Ensure the device is properly connected and powered.  Turn the computer off and on again.  If you suspect that the device is damaged, contact National Instruments at ni.com/support.
Device Specified: cDAQ2Mod1
Task Name: _unnamedTask<D7>
I am including snippets for both the Reset vi and the Is Device Chassis? vi.  The is Device Chassis vi is one I worked out a long time ago by empirical experimentation.  If you know of a better way to do that check I'd be glad to learn that too.
Attachments:
Reset Devices 2.png ‏71 KB
Is Device Chassis.png ‏37 KB

Similar Messages

  • After resetting devices in Netflix, Apple TV is not finding my Netflix account

    Apple TV was reporting that it couldn't connetct to Netflix and to try again later. My MacBook and Wii were fine. After several days of this, I reset my Apple TV settings and reset my devices in my Netflix account. All devices are back up, including my iPhone, except my Apple TV. Because I reset devices in Netflix I had to reenter my login and password to Netflix. This worked on other devices. Apple TV said it couldn't find my account. I reset my password in Netflix and tried again. Again, all other devices are still working, but Apple TV cannot find my account. I'm confident that I'm entering the right login and password because I did it successfully on every other device.
    Ideas?

    I'm having the same issue. I live on a farm and the only internet fast enough is from my phone. I've connect the hotspot, but I get that same error when I try and play something. What does work, however, is if I pull up the netflix app on my phone (a different phone from the one I am using as a hotspot), play it from there, and airplay it on the apple TV. It's a big pain and it effectively slows my connection because I'm streaming it through the hotspot onto my phone and then pushing that back through the network onto the Apple TV. Any way to play it directly from Apple TV??

  • State of 4472b after reset device

    Hello,
    I'd like to know which is the state or parameters configuration of the 4472b device after being reseted. For example, if I reset the device programatically and then perform a measurement indicating, let's say the samplig rate and length, but nothing about the ICP. Which state would the ICP for the measurement?
    Greetings
    crimolvic

    Hey crimolvic,
    The state of ICP should be "off" after a device reset, and you should be in DC mode.
    (for any channel you configure and use)
    Good luck,
    -gaving

  • After resetting devices apps don't sync between iTunes and devices

    I use Windows iTunes 11.0.1.12 in Windows 8 together with an iPad 3 w/ 6.1 and an iPhone 4S w/ 6.1.1.
    As my app collection grew too much I decided it was time to start over from scratch. So I deleted all apps within the iTunes library and reseted my devices, telling them to be configured as New Device when the question was asked whether I wanted to use a backup of the device. Then for a while I downloaded apps to the devices directly on the devices without using iTunes.
    All seemed to be nice until I connected the iPhone to the computer to sync it, mainly for backing up the apps on the devices. But this is not happening. I can sync as often as I like, apps which I downloaded on the devices are not copied to iTunes' library when I sync the device. Likewise apps that I obtained within iTunes are not copied to the devices when I sync.
    Does anybody know how I could fix this?

    I have the exact same problem. Help!

  • Resetting devices and counter states

    How frequently should one make use of Reset Device? I have placed it at the start of a LabView program so that it runs every time this program is called. This is because we sometimes use Traditional DAQ applications and sometimes DAQmx. Is this necessary?
        Also, I would like the counter to initialize at 0V. Now it puts out 5 V after Reset Device. I am using the NI6715 PCMCIA card. Right now, I reset the device and then ask for 2 ticks high (the minimum) and 1000 ticks low with the Idle State on Low. Then I call for Start Task and Wait Until Done to force the counter low. There are times when the counter needs to be forced high. With DAQmx, what is a good way to toggle the counter as needed? The counter is controlling a switch that sometimes needs to pulse and sometimes needs to remain in one position or the other.
        Thanks,
    Peg

    Hello Peg,
    Reset device is only necessary if the device is left in a state that
    the driver will not be able to communicate.  This can happen if a
    previous task is not stopped/cleared and a new task is created or
    sometimes when going from one driver to another (Traditional DAQ to
    DAQmx or vice versa). 
    If you are not getting an error when you start your code, the reset is
    not necessary. If you happen to get an error, you can manually reset
    your device in MAX, or you can even conditionally reset the card in
    your code (i.e. try to create and start your task and if an error
    occurs, call the reset device function and rerun the code.
    You do not need to completely run a task to set the idle state.  You
    can use a DAQmx Control Task function with the action set as "commit"
    to make the idle state take effect.  First you would configure the task
    you eventually want to run on the counter, then commit it.  Later when
    you want the counter output pulse to run you can call the DAQmx Start
    Task function. When you need to change the idle state, simply clear the
    task and begin a new one in the same manner with the appropriate idle
    setting.  A digital line is an alternate option which can be simply
    written high or low.
    Hope this helps,
    Jennifer O.
    Applications Engineer
    National Instruments

  • [SOLVED] How to unload any driver(dll) at the start up after reset??

    Dear Developers,
    Greetings!!!
    As, I am using AM335x BSP with WinCE 7. We have one vendor Wifi device and its binary images(driver installer). When we reset the target board, the modules do not reset and during the time of board booting, I found the following logs
    7771 PID:400002 TID:9e0006 Warning! Kernel DLL 'rwlpsdio.dll' is registered for thread creation/deletion notification. To improve performance if you dont need thread notifications call DisableThreadLibraryCalls from inside D
    7774 PID:400002 TID:9e0006 DriverEntry!!!!!!!!!!!!!
    7777 PID:400002 TID:9e0006 SDIO not initialized, returning!!!!!!!!!!!!!!
    7778 PID:400002 TID:9e0006 OSAXST1: <<< Unloading Module 'rwlpsdio.dll' (0x9E438000) at address 0xA7C90000-0xA7D47000 in Process 'NK.EXE' (0x87FDFAD0)
    PB Debugger Unloaded symbols for 'rwlpsdio.dll'
    We conclude that when we reset the device, the driver is not unloading and that why, its not releasing the resource. 
    My motto to solve the issue by creating an application that run at every startup after reset and unload the driver. So, that during the time of loading it, it re-loads properly..
    I am searching it on google but unable to find any way so far.
    ASAP reply must be highly appreciated 

    Dear Developers,
    @balaji,
    As I had read the link https://social.msdn.microsoft.com/Forums/en-US/98aa5eca-0b38-4f6e-bf7b-81cb7068422e/sdio-wifi-driver-and-prefetch-aborts-problem?forum=winembplatdev
    And, in the above thread you were replying as 
    Hi Misbah,
    NdisMRegisterMiniport sure needs to be called from DriverEntry. Can you check if NdisRegisterAdapter is present. This ideally should be somewhere in your stream interface. 
    I am taking a wild guess here , perhaps you can may be introduce some delay in DriverEntry , so that the stream driver gets a chance to load?.
    e.g. you can use one of NdisWaitEvent functions.
    All the best.
    Regards,
    Balaji.
    As, per my knowledge, the DriverEntry is the first function that is called by ndis after loading the ndis.dll and it is responsible for registering the driver with NDIS by  using
    NdisRegsiterMiniportDriver.  
    Any how in my case, DriverEntry is called but the same function we are getting one error and that's why driver is not registered with NDIS.
    We are checking SDIO  interface status, either it is uo or not. If it is up then fine and if not then display warning and unload the driver.
    So, in my case, the SDIO status is not up after resting the device.
    Any suggestion will be appreciated????

  • Even after resetting apple id password still won't activate my phone

    I did a reset erase all contents and settings but i'm stuck at activation lock! The iphone is mine and email is correct but even after i reset my password, IT STILL WON'T ACCEPT THE NEW PASSWORD :(( please help! Thank you.

    moniiice
    Re: Does reset all content and settings automatically sets Find my iphone off?
    Jan 27, 2014 8:54 AM (in response to KiltedTim)
    But when i sign in my icloud account on the activation lock, it still won't accept it. Even if i tried resetting my password. I believe that i use the right icloud account but still it won't activate it. I tried locating my device on find my iphone and the device was not there, does it mean my device has already been erased?(i resetted all content and settings) but why does it still have an activation lock after reset? Tried everything but still no luck :( reset apple id or password but still nothing :(

  • HT201263 my ipod touch 4th gen isnt work after a long time with 0 percent battery power.Then its not working. computer doesnt respond to my ipod .only black screen is appearing it even not wake up after reset it what can i do please help me

    my ipod touch 4th gen isnt work after a long time with 0 percent battery power.Then its not working. computer doesnt respond to my ipod .only black screen is appearing it even not wake up after reset it what can i do please help me

    After being connected to a charging source overnight try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

  • HT5538 Every time I try to use apple ID for face time I got an error message "the username or password was incorrect" although they are right and I use them in App Store and I cloud even after resetting my password

    Every time I try to use apple ID for face time I got an error message "the username or password was incorrect" although they are right and I use them in App Store and I cloud even after resetting my password, the problem happens also with iMessage . Please help

    For what it's worth, you posted this in 2011, and here in 2014 I am still having this same issue. Over the last two days, I have had to unlock my apple account 8 times. I didn't get any new devices. I haven't initiated a password reset. I didn't forget my password. I set up two factor authentication and have been able to do the unlocking with the key and using a code sent to one of my devices. 
    That all works.
    It's this having to unlock my account every time I go to use any of my devices. And I have many: iMac, iPad, iPad2, iPad mini, iPhone 5s, iPod touch (daughter), and my old iPhone 4 being used as an ipod touch now.  They are all synced, and all was working just fine.
    I have initiated an incident with Apple (again) but I know they are just going to suggest I change my Apple ID. It's a simple one, and one that I am sure others think is theirs. I don't want to change it. I shouldn't have to. Apple should be able to tell me who is trying to use it, or at least from where.
    Thanks for listening,
    Melissa

  • Hey, i have very strange prob with my iphone 5(latest version/updated), after resetting it, so it doesn't connect to my laptop, even it doesn't charge too. it does charge from wall charger i try all the possible methods but still i am facing the prob

    Hey, i have very strange prob with my iphone 5(latest version/updated), after resetting it, so it doesn't connect to my laptop, even it doesn't charge too. it does charge from wall charger i try all the possible methods but still i am facing the prob any fix/solution for it.. Helppppp!!!!!!!!!!!!!!!!!!!!!!!! As soon as possible, it will be gratefulness,
                                Thnksssssss....

    So you are saying that you followed all of the steps in the support document for problems with connection, including removing and reinstalling iTunes? You do not say what you have tried, so it is hard to make recommendations. If this is the case, then you have tried resolving driver issues? What if you go to Device Manager and look for the iPhone. You should be able to click on it and see about drivers. You can update/reinstall the device driver.

  • ISync 'Reset Device' resetting speed dial?

    Hello, I am using an aftermarket plug-in to iSync with my SE w580i, as it is not officially supported by iSync, HOWEVER, I had this issue with my SE z520 which WAS supported officially by iSync, so I suspect that the plug-in is not at fault...
    I have several numbers set up to speed dial, so I can press '1' (or any other numbers) and call, instead of having to enter the full phone number. I noticed with my old phone, and now with my new phone, that if I 'Reset Devices' (thinking that only my calendars and contacts will be reset), my speed dial gets reset and I have to reprogram it. In a way, I understand, as after the reset, the phone sees all new contacts, BUT if they have the same name, why is it a problem?

    The "Reset Device..." command in iSync does exactly that - so any settings you've applied in the phone to specific Contacts (such as speed dials, custom ringtones, caller ID pictures) will also get wiped.
    If you think about it, you assign a speed dial to a contact. Resetting the device wipes that contact, so the speed dial setting has no contact to be assigned to.
    iSync is unable to retain (or even see/access) any of the custom settings you apply to contacts in the phone, so every time to reset the device you'll have to re-apply any custom settings.
    This could also apply to changes to data within a contact, because Sony Ericsson phones don't allow a Contact to be modified over Bluetooth, so iSync has to delete the contact and re-send the edited one, thereby removing any custom settings applied to that contact in the phone.

  • PXI-6509 Error occurred at Reset Device

    Greetings Everyone,
         I recently had three (3) PXI-6509's fail in one of my Test Stations.  I tried to reset them in MAX and received the following message: "The device reset has failed.  The error report from the device driver is as follows: Error -224903 occurred at Reset Device.".  I also received "Error -50152".  After that while I had the stores list up of all installed boards, the three (3) PXI-6509's removed themselves from the list.  I'm wondering what these error codes are telling me.  The pop up error dialogue box stated that the "Possible Reason(s): Internal Software Error occurred in Static_Digital_software".  I'm also curious as to what this is relating to.  I replaced all three (3) board from a NEW chassis that I'm bringing up for use and everything thing is fine.  I tried plugging these failed boards into my other chassis and the computer will not even boot up.  Thank you in advance for any information that you provide that will help me in understanding what may have caused this to happen.  The system was working fine up to lunch time and after lunch is when the problems started.
    Regards,
    Scott
    Solved!
    Go to Solution.

    Greetings Nick,
    Here is the course of events that led up to the problem being described. 
    While testing UUT’s (Company Product): (PXI-1044 with PXI-8101(XP), GPIB Controller and various PXI cards installed)
    Before Lunch everything was working well.  It was after lunch that the following events took place.
    a)     Test Sequence hung up during External Power Supply ramp up in which the D-I/O are used to switch relays inside the ITA (Interface Test Adaptor) to connect the DMM to the Power Supply that is in use at the particular time in the test sequence.  This has happened a couple times before, but NO error ever happened and just re-booting the system cleared it.
    b)     The next thing that was performed was shutting down TestStand and Labview.
    c)     The next thing that was performed was executing “MAX”.
    d)    Once in “MAX”, I normally try to RESET all of the PXI cards, which is usually successful, but not in this case.  The error pop up came up with the two (2) different error codes (-224903 and -50152).  Please explain what the “Static-Digital Software is?
    e)     I shutdown “MAX” and Re-Booted the system.
    f)      After Re-Boot completed, I executed “MAX” once again and clicked My System, Devices and Interfaces and PXI-1044 “Chassis 1”.
    g)     I tried to reset the NI PXI-6509 “PXI1Slot7” and received the pop-up error as described.
    h)    Upon clicking OK.  The PXI1Slot7 and PXI1Slot8 removed themselves from the stores list of cards installed and the icon next to NI PXI-6509 “PXI1Slot9” changed from a little green board icon to a white board icon with a little red ‘x’ inside it.
    i)      Next, I removed all three (3) PXI-6509 from a NEW chassis in a NEW TestStand that I planned to bring on line in a couple of weeks.  I placed these boards into the TestStand that is failing and everything is working well once again.  I ran some diagnostics and everything checks out OK.
    j)      Next, I took the failing boards and placed them into the NEW chassis and the computer wouldn’t even boot up.
    k)    Next I removed two (2) (PXI1Slot7 and PXI1Slot8) of the boards and tried to boot the computer and the computer booted up.
    l)      I proceeded to execute “MAX” and check the stores list only to find that the board (PXI1Slot9) was not even in the category of the PXI-1044 Chassis1 but outside it and it also had the white icon with a little red ‘x’.  It also affected the PXI-2575 in PXI1Slot10, which had a white icon and little red ‘x’.  I removed the board from PXI1Slot9 and re-booted the system and PXI1Slot10 recovered with the normal green icon that is usually next to it.
    What I need to understand is what “Static-Digital software” is and what the errors are telling me.  The fact that three (3) NEW board installed into the chassis and function 100% tells me that there is something wrong with the three (3) boards that I removed from the chassis and that nothing else seems to be wrong with the chassis.
    The fact that installing the three (3) boards into a NEW chassis and the computer not booting is something of concern.  I’m trying to understand what could have caused this to happen in the first place so I can be prevented in the future.
    Regards,
    Scott

  • IPad 3rd Generation frozen after reset was done. I get a logo but no status bar

    iPad 3rd Generation frozen after reset was done. I get a logo but no status bar

    Hello there, darney87.
    The following Knowledge base article offers up some great troubleshooting steps for the issue you're describing with your iOS device showing an Apple logo:
    iOS: Not responding or does not turn on
    Resolution
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected,  restart your device.
    If the device remains unresponsive or does not turn on (or power on),  reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more about restoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Delay after key stroke in iPhoto following latest update

    I just updated to the latest version of iPhoto in the hope of seeing improvements which I am sure they are. However, right now, the only change I see is that there is a delay after each character I type in the legend.  It is unbearable and close to being unsusable.  Is anyone else experiencing this issue and were you able to fix it somehow?

    Make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    NOTE 2:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    OT

  • Camera - Gallery has stopped,after reseting no cam...

    In my Nokia x2, whenever I tap camera it says ''Gallery has stopped'' and closes. after reseting the device there is no app named ''camera'', also tried hard reset & nokia software recovery tool for reinstalling software, but theres no change.
    Please help.

    Hi, Hridoi. When did this issue start? Did you successfully restore the phone's software? If you've done with all the possible troubleshooting procedures, I'd suggest taking your phone to our care center to have it fixed. Make sure to back up all the important files on it in case you decide to send it for repair. Visit this page for your local repair options: http://www.microsoft.com/en/mobile/support/locations/.

Maybe you are looking for