Resetting CAN bus without knowing task reference

Good morning everyone,
I am using the CAN Channel API to read data coming in from a CAN bus while simultaneously taking measurements using other DAQ hardware. When my VI throws an error after the CAN bus has been initialized and started, attempting to run my VI again will cause the CAN init-start VI to throw an error because the channel was never cleared.
Is there a way to clear a CAN channel without having a task reference to wire? How else could I solve this issue?
Thanks!
Erik
Solved!
Go to Solution.

Hi Erik,
Is the error that you're experiencing coming from the same function on a regular basis?  If so, what can be done prior to adding error handling to the entire application, you can add a case structure, use the error cluster from that function to act as the selector for the case structure, and add a Clear Channel command to the true case of the structure followed by an error handler.  
Now, that said, I still recommend employing error handling throughout the application, especially if this will be distributed as an executable.  But for development purposes, that may be the quickest way to implement a Clear function on failure in the VI so that it will restart correctly on the next iteration.
Regards,
-Dave C
Applications Engineer
National Instruments

Similar Messages

  • Hard reset Nokia N97 without knowing lock password

    I received this phone from our inventory at work.  I am not sure who used it before me.  But, I do not know the lock pass code.  How can I hard reset it without knowing the lock password.  Everything I try, I am prompted for the lock password except one attempt.  I held in the up arrow, shift key and back arrow while powering on.  This did some type of reset.  But, the lock password still is not 12345.
    So, either the lock password for Nokia N97 is not 12345 by default, or this is not a true hard reset?
    Any ideas?

    You could try changing the sim, it may be a sim lock code and not a phone lock code, I have my sim locked but if I change for spare sim the phone doesn't require a code it just starts ! Worth a try ?
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • How to reset security questions without knowing the answers?

    Ok so it isn't that complicated and i have done this before, but I cant figure out how to reset my security questions without knowing the answers.

    You need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (105903)

  • Is there any way I can reset an iPad without knowing the previous users password because he can't remember it? When I turn it on it asks to activate it but I don't have any of the information. Please help!!

    I work as a tutor at a junior high. And we are trying to reset our iPads but we need the password in order to do so. Any ideas??

    Any machine that has a ethernet port can go wireless. It may be cheap to buy another computer.
    Ethernet Bridge
    Please note this requires mac os x 10.5 or greater to configure or windows xp to configure.
    Ethernet Bridge  "The versatile Wireless-G Ethernet Bridge can make any wired Ethernet-equipped device a part of your wireless network."  from linksys example: http://www.amazon.com/Linksys-RE1000-Wireless-N-Range-Extender/dp/B005FDXMJS/ref =sr_1_1?ie=UTF8&qid=1314563758&sr=8-1
    Once configured, you can use it on any ethernet port.
    Airport ExpressAirport Express is an external unit and you can configure it as a bridge.  802.11n ( I believe you will need a more modern version of Mac OS X to configure.  Sadly, Apple uses a configuration program to configure, not a web browser. )
    https://www.apple.com/airportexpress/
    Query by serial number
    Apple's warrenty database will identify the type of Mac you have.  Your serial number is securely sent, but you get only the name of your machine.
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    This site provides more information, but lacks security.
    "A serial number is a unique, identifying number or group of numbers and letters assigned to an individual piece of hardware or software. It's used for various things depending on the product / brand but what is your Mac's serial number for and more importantly... what is it hiding and what can it do for you ?"
    http://www.appleserialnumberinfo.com/Desktop/index.php
    or
    This site provides more information, but lacks security too.
    "A serial number is a unique, identifying number or group of numbers and letters assigned to an individual piece of hardware or software. It's used for various things depending on the product / brand but what is your Mac's serial number for and more importantly... what is it hiding and what can it do for you ?"
    http://www.appleserialnumberinfo.com/Desktop/index.php
    http://www.chipmunk.nl/klantenservice/applemodel.html
       ( hint by K Shaffer  )

  • How to reset an iphone without knowing passcode

    help

    If you have a passcode to the screen lock that you've forgotten, restore the iPhone from the computer to which the iPhone is synced. For information and instructions, see:
    http://support.apple.com/kb/ht1212
    If that will not work, you'll need to put the iPhone into Recovery Mode and then try the Restore again:
    http://support.apple.com/kb/ht1808
    If that still doesn't work, as a last resort try DFU mode:
    http://www.iclarified.com/entry/index.php?enid=1034
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • How do you reset an ipad mini without knowing the password?

    I have just recently changed my password, but know i have forgot the new one. How do you reset the ipad without knowing the password?

    If you mean the passcode to unlock the iPad then you will need to connect it to the computer that you normally sync to and you should then be able to reset the iPad and restore/re-sync your content to it (http://support.apple.com/kb/HT1212) - you may need to put the iPad into recovery mode in order to be able to reset it : http://support.apple.com/kb/ht1808
    If you do it via a different computer then :
    If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present.

  • How can I restore the factory setting on my ipod without knowing the passcode

    My friend gave me his old iPod because he had gotten a new one, but he doesn't remember the passcode to it and I wanted to know if I could restore the factory settings on the iPod to reset the passcode without knowing the passcode. Tried to find the removable device on my computer, but it isn't there. Any thoughts?!?

    iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad

  • How do i restart my admin password without knowing the old one

    i just got a macbook air and wasnt paying attention to the password i used.. can anyone help me to reset the password without knowing the old one.and also that doesnt require a disk.

    Restart. Hold down cmd-r at the chime. When the Recovery partition boots, choose terminal from the Utilities menu.
    Type, resetpassword and hit return
    Select the disk and follow the instructions to reset the password.
    Note that you will not be able to recover your keychain. You'll have to create a new login keychain in Keychain Access and set the password the same as your new password to have it auto-unlock on login.

  • How can I reset my administrator password, without knowing the original administrator password?

    Hi guys,
    I use a MacBook Pro with OS X 10.8 Mountain Lion. A few months ago I reset my administrator password and have not been able to remember it since. Consequently, I haven’t been able to do any software updates, my computer is running slow and I'm getting a lot of pop-up junk on my screen. I’m the only user on my computer, apart from the Guest User (Sharing only).
    How can I reset my administrator password, without knowing the original password?
    Thanks.

    Resetting Password and/or Home Folder Permissions

  • HT204053 My iphone is now locked at activation screen.My old Iphone purchased from Japan to Vietnam nam.toi reset iphone without knowing the old icloud account and I can not contact the previous owner to do now iphone.

    My iphone is now locked at activation screen.My old Iphone purchased from Japan to Vietnam nam.toi reset iphone without knowing the old icloud account and I can not contact the previous owner to do now iphone.

    The phone is useless unless you can contact the previous owner. There is nothing anyone can do to help. If you are able to contact, the following contains instructions on what they need to do: iCloud: Activation Lock

  • How do i reset an admin password without knowing the original?

    How can i reset my admin password on my macbook pro without knowing the original password?

    Insert a compatible Mac OS X DVD, restart with the Option key held down, and use its Reset Password utility. If the computer has a firmware password set, you need to know that.
    (58431)

  • Bought an ipone feom a frien, but i dont know their icloud password or email, how do i reset the phone without it?

    bought an ipone feom a frien, but i dont know their icloud password or email, how do i reset the phone without it?

    You can't. Send them this link and tell them to follow its instructions.
    (125797)

  • I forgot my admin password for my imac os x 10.7.5. How can I reset the password without deleting any of my files?

    I have access to my computer. the only issue I am having is trying to update my computer.
    In order for me to update or download an app I have to type in my password, which I have forgotten.
    I want to reset my password without having to delete any of my files.
    Can anyone please help me with this problem?

    OS X 10.7 Lion, 10.8 Mountain Lion, 10.9 Mavericks and 10.10 Yosemite
    Reset Password
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse pointer to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box under “Select user account”.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • I'm trying to delete multiple pix in iPhoto that i stupidly made duplicates of without knowing, I've tried going into the applications folder and using image capture but i think I've missed a step , can anyone send the correct info / steps pls thanks

    I'm trying to delete multiple pix in iPhoto that i stupidly made duplicates of without knowing, I've tried going into the applications folder and using image capture but i think I've missed a step , can anyone send the correct info / steps pls thanks

    again image capture is not involved with deleting photos from iPhoto in any way ever
    the paid version of iPhoto Library Manager is very good for finding duplicates as is Duplicate Annihilator
    And I have no idea who told you this - or what it means - but re-read both of my opening statements
    I was told I could delete multpiles thru image capture by transferring my iPhoto library etc
    LN

  • My friend knows my location through find my iphone app without knowing my account password, how can this happens?

    My friend knows my location using find my iphone app without knowing my account password, how can this happens?

    A guess: your friend was standing beside you when this was demonstrated. There are several apps available (all described as "entertainment"). The app was simply showing where your friends iphone was, i.e. Right where you were.  Your position cannot be tracked. The apps are meant for joking.

Maybe you are looking for