Prevent the reset to the Initial Angle encoder

Hello

I currently have an enoder connected to a meter entry on my data acquisition card.  For my approach, I need the ability to start/stop the task to read the encoder.  My problem is that whenever I restart my task, the encoder is reduced to zero (My Initial Angle).  Is anyway to avoid this?

Thank you

Paul

Your reply to #5, it is clear that you should NOT stop the task when you want to go down to a slow sample rate.  I've got 2 basic approaches to suggest:

1. approach HW: you use a counter to your measurement of encoder.  Is your other available counter to generate your sample clock?  If so, you can simply change the output frequency of the counter on the fly to change the sampling rate according to the needs.  A possible disadvantage is that the data buffer real CQI will provide no clue as to which the rate has been used for which samples.  If this is a problem depends on your application.

There is actually more complicated possible method based on using a dummy AO task it (if you don't have a real AO NI hardware task) as a sample clock because AO rate can also be updated on the fly.  Then, you can use your 2nd meter to measure the clock, so you should have a record of all the timestamps.  You must be sure to keep your starts and readings in sync, but it's certainly doable.

2 SW-approach.  Always taste the same pace and always retrieve data from the buffer quite quickly to stand.  But at the time of 'modes of sample' slow, extract only the portion that you care to keep.   Overall, this approach is probably more simple, but the former is too clever not to mention.

You were already on track fundamentally with your thought to share the sample clock I.  What you might not have realized, it's you POUVEZ stop the task to HAVE (manufacture of the sample clock stop) WITHOUT stop the task of the RTC.  You can restart the AI at a different rate.  During the time that the task of IT is stopped, there is no sample clock pulses causes encoder CTR values to be buffered.  However, the register real account will always be increment/decrement properly for track position.  When you restart the AI at a slow pace, you just respond to sampling/buffering the position values.

-Kevin P

Tags: NI Hardware

Similar Questions

  • reset all outputs the initial values

    Hello

    in our case, a project VeriStand is running on a machine RT with cRIO-I/O.

    Is there a possibility to reset all outputs to the initial value, while the project is running? (I don't want to restart the system in real time or deploy the project to new because who consumes too much time).

    Hello

    You can create an alarm that calls a reset procedure. The alarm can be mapped on a Boolean button in the workspace. Or you can call a Sequenze RT to reset your values.

    Best regards

    Philippe

  • I need to reset everything on the machine. I can handle most of it, but I don't ' know not the initial settings for bios and other initial set up details.»

    from scratch

    I had to pull the battery on my dell p.c.Now I need to reset everything on the machine. I can handle most of it, but I don't ' know not the initial settings for bios and other initial set up details.» My screen there "list of questions and I n" t have the answers, it is a PHOENIX, I care. Can anyone help?

    Follow this. It should guide you through the configuration of your BIOS.

  • Text tool will not work: something prevents the text initializing engine

    My text tool will not work, there is an error that says that something is preventing the text initializing engine.

    Troubleshoot fonts | Photoshop CS6 2014 CC, CC, CS5

    I have already tried to use the methods of this link, delete the photoshop cs6 hiding from police, off preview fonts, reinstalled photoshop cs6, but nothing works.

    I really need help with this problem, I think it could be a damaged or corrupted font, but I don't know how to find corrupt fonts.

    Hi ay,.

    Please go into Photoshop preferences and then go to the tab Type.

    In it please change the text engine to Asia to the Middle East.

    Restart Photoshop and then see if it works.

    Kind regards

    Tanuj

  • Preventing the 'reset' when you change the graph data

    Hello

    being relatively new graphics Illustrator, I was wondering if there is a way to prevent the drawings of my graphics of "reset" whenever I have change their data? My numbers change quite often and having to go back and redo every time their designs can be very annoying. What do guys usually do?

    Thank you!

    Some tips really useful on this question in an article by Teri Pettit Mordy Goldings blog:

    http://rwillustrator.blogspot.com/2006/06/Teris-wisdom-graphs-that-Don ' t - stick.html

  • How to prevent the add-on compatibility checking whenever he opens Firefox?

    How to prevent the add-on compatibility checking whenever he opens Firefox?

    Which can be a problem with the compatibility.ini file in the Firefox profile folder.
    Try to rename (or delete) the file compatibility.ini in the profile folder of Firefox to see if that helps.

    You can use this button to go to the Firefox profile folder currently in use:

    Alternatively, you can check for problems with preferences.

    Delete possible user.js and files numbered prefs-# .js and rename (or delete) the file prefs.js to reset all the prefs by default, including the prefs set via user.js and pref which is no longer supported in the current version of Firefox.

  • gauge the battery to the boot screen and battery on report menu conflicting Details about the level of the battery. The gauge from the battery to the Starter incorrectly displays the low battery level that prevent the macbook pro battery retina start

    gauge the battery to the boot screen and battery on report menu conflicting Details about the level of the battery. The gauge from the battery to the Starter incorrectly displays the low battery level that prevent the start of the battery. This happens on macbook pro retina 13 inches

    When I try to startup macbook pro retina in battery mode, it will fail to start showing low battery level and an indicator to recharge the battery. It does not start on battery. When I then connect via the power cable at startup (and check the battery level), monitor of battery in the menu bar indicates that the battery is charged to the top.

    It gets really frustrating and remove my ability to use the macbook pro retina as a truly portable device...

    Appreciate any help on this

    Have you tried resetting the SMC? Reset the management system (SCM) controller on your Mac - Apple Support

  • For Windows XP (KB2719985) security update will not be installed. The text "a problem on your computer is preventing the updates being downloaded or installed" is reported

    For Windows XP (KB2719985) security update will not be installed. The text "a problem on your computer is preventing the updates being downloaded or installed" is reported. Fix - it crashes too much with the line "invalid command line" when I try to run it.

    Hello

    1. this problem occurs only with this particular update?

    2 did you change on your computer before this problem?

    You can follow the suggestions and check out them.

    Method 1

    You can reset the Windows Update components.

    How to reset the Windows Update components?
    http://support.Microsoft.com/kb/971058

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following windows Help article.

    How to back up and restore the registry in Windows XP

    http://support.Microsoft.com/kb/322756

    Method 2

    You can read the article.

    You cannot install some programs or updates

    http://support.Microsoft.com/kb/822798

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following windows Help article.

    How to back up and restore the registry in Windows XP

    http://support.Microsoft.com/kb/322756

    Method 3

    Step 1:

    Place the computer in a clean boot state.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: After you have used the boot is a way to solve your problem, you can follow these steps to configure Windows XP to start normally.

    a. click Startand then click run.

    b. type msconfigand click OK.
    The System Configuration utility dialog box appears.

    c. click on the general tab, click Normal Startup - load all device drivers and servicesand then click OK.

    When you are prompted, click restart to restart the computer.


    Step 2:

    Download and install the update from the link.

    Update security for Windows XP (KB2719985)

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=30282

    See also:

    Solve common installation issues in Windows Update, Microsoft Update and Windows Server Update Services

    http://support.Microsoft.com/kb/906602

  • A print job in the print queue prevents the other printing printing-officejet 6500 a

    whenever I click on print I get the message print job in the print queue prevents the other printing - print

    then my printer goes offline

    I tried to re add the printer

    I tried to remove and re loading software

    I tried closing down and the fact unplugging pc and printer

    I tried the system restore

    I tried the hp scan print doc - did not help

    I tried to reset the spooler

    I tried deleating all print jobs

    I tried letting windows find my printer - it doesnot find him

    Help

    Hi katt6,

    I read your message which indicates that you receive a message "is a print job in the print queue prevents other printing of print." Please provide the detailed steps that you have already tried. I can help you.

    Try and print a self-test on the printer hardware to see if it is a hardware or software problem.

    Printing a Network Setup Page.

    Run the difficulty it Microsoft tool to see if this will help.

    Diagnose and automatically fix problems printing and printer.

    If the problem persists, continue with the steps below:

    I have provided a document of empty folder of spooling print to see if she will help solve this problem.

    How to clear the current queue in Windows Vista & Windows 7.

    Try to print again.

    Printer is on a network as follows:

    If you still have problems, and that the printer is on the network, check the Configuration Page to see if you have a valid IP address.

    If you have a valid IP address for the printer, then try and access the Web built-in to the printer server.
    Type the IP address in the address bar of your web browser. (Internet Explorer)

    Check the IP address on the computer to verify that it matches the IP address of the printer.
    Go to start, devices and printers, right click on the printer, go to the properties of the printer, some ports tab, click on configure port.
    If they don't match then close the Configure Port window and click on create a port and follow the instructions in the wizard.
  • I reinstalled windows vista, and when I did I must have erased the initial password when you turn on the computer. I was wondering how can I configure the windows logon password?

    I reinstalled windows vista, and when I did I must have erased the initial password when you turn on the computer. I was wondering how can I configure the windows logon password?

    http://pcsupport.about.com/od/windowsvista/HT/nvistapassword.htm

    Info on the link above will help you.

    http://au.Dummies.com/how-to/content/set-up-passwords-in-Windows-Vista.html

    More info on including a password reset disc info.

    See you soon. Mick Murphy - Microsoft partner

  • Re do the initial computer configuration

    I have a brand new computer that came with Win 8.1 preloaded.  During the initial Setup, I used express install rather than custom.  I want to start over.  If I use the "all delete and reinstall Windows" I'll lose the preloaded operating system?  If so, how to reset the initial configuration?

    No, he'll just do a factory restore the original configuration. Windows 8.1 will be exactly as you have it factory again.

    Press the Windows key + i

    Click on change PC settings > Update & Recovery > Recovery > all delete and reinstall Windows

  • How to get the version of the Microsoft Expression Encoder Pro software?

    Hello

    We currently have a desktop application that uses the free version of Microsoft Expression Encoder for video screen Capture.

    Now, we have an obligation to support the mp4 format.

    Is it possible to get the pro version as free version doesn't support mp4 encoding?

    If so can it be distributed as well as our product for commercial use?

    I saw in other forums that the Pro version is not available for sale more?

    If so, is there some other sdk provided by Microsoft to convert wmv to mp4?

    Thank you

    Kiran

    Hello kiran,

     
    Please contact Microsoft Community.
     
    Unfortunately, the services were interrupted for the Microsoft Expression Encoder Pro version.
     
    Now, the only possible solution is to use the Microsoft program not to convert a file format to MP4 file format. You can search online to get one of these.
    PARTY SOFTWARE WARNING: using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.
     
    I hope this helps.
     
    Kind regards
    Anusha
  • Prevent the pan app screen, zoom?

    Is there a way to prevent the pan screen app & zoom, for example, when the button in a textarea? I noticed that this behavior is not visible in the browser of the Playbook. Thank you.

    Add your tag meta with the initial scale = 1.0, scalable user = no

    
    
  • "" My internet connection is constantly down and back on the error "negotiating IPsec year failure prevents the connection.

    Original title: The IPsec negotiation failure prevents the connection

    My internet connection is constantly visitor drop-off and restarted, and when I troubleshoot I get this message "the IPsec negotiation failure prevents the connection." I don't use VPN or anything so I have no idea what it means. I restarted the router several times. Any other ideas?

    Hello

    1. you are using a wired or a wireless connection?

    2. If it works well before?

    3 did you changes to the computer before the show?

    Method 1: Reset the router and see if that helps.

    Note: To help you reset the router, you can consult the manual that came with the router or the router contact manufacturer.

    Method 2: Uninstall and reinstall the NIC drivers and see if that helps.

    See the following steps:

    (a) click Start, right click on computer.

    (b) click on properties, click on Device Manager

    (c) expand the network card, right-click the wireless adapter option

    (d) click on uninstall

    (e) now go to your computer/wireless device manufacturer's website, download the updated drivers and install them.

    Reference:

    Updated a hardware driver that is not working properly:

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

  • How to prevent the installation of software and IE extensions / toolbars, etc.

    I try to help a small business at home with a Windows 7 PC with IE 9. The PC is used for normal business purposes: Microsoft Office documents, e-mail (AOL app), video editing and burn them on DVD or download YouTube and Vimeo, and research in Internet Explorer for commercial use normal and legitimate

    My questions are (explained later):

    All the PCs here have parental control of Microsoft and Microsoft Security Essentials installed. None of the PC should be able to be used for something ELSE (not only internet) between midnight and 08:00.
    1. How can I get Internet Explorer 9 on Windows 7 automatically restore the State by default when it is closed? As if it were a PC in an internet café, library or school? This allows to avoid the (intentional or accidental) installation of toolbars, extensions, etc. in IE 9, if possible, I'd like to keep Google as the default search provider and homepage; In addition, the extensions 'regular' such as Flash Player, Real Player and Acrobat Reader must remain in place and JavaScript should work.
    2. the son managed to resume using his own PC (and perhaps the PC business) at limited hours. I guess he got Windows 7 SysInternals disk to remove the administrative password. Is there a way I can stop that then reapply restrictions? Maybe he simply restored the system from the recovery partition or reinstalled Windows, so I need a way to prevent these things from happening as well. A firmware password would do the trick?

    This probably wouldn't have happened if there was a way to allow installation of the software on a Standard account. On the own PC of the son, it's okay if it installs the software, browser toolbars and so on--even if it is malware. It is only the PC that should be free of this professional. It is also possible that it has installed this junk on the Professional PC as a form of punishment.
    It is not possible to force users to use Firefox or Chrome instead of IE. And IE suffered from some bad extensions that were installed in Chrome.
    Explanation:
    The owner of the company adult son uses this PC occasionally working for the company, but mostly for its own use. The son, who can be a little mentally ill and lives with his father in the House where the business is, continued installation providers extensions, toolbars and search for malware, unwanted, unsafe in Internet Explorer and change the homepage. Office workers may have also unintentionally installed some malicious software search engines.
    Occasionally, the son works for the company, so must have the PC of the company. However, he often uses the PC for its own purposes, which includes things like trying to download protected content (movies, television and music) without having to pay for it. It seems that he sometimes spend time free looking for games. (Before I put on the parental control, it had installed several of them. There still frequently installed toolbars, extensions and search providers in Internet Explorer to facilitate this [protected media download] and [probably] some of them gets simply by visiting the types of malicious websites that claim to offer free stuff. The son has four pieces of his own, which are almost unusable due to multiple malware infections.
    Owner of the company I was install the parental control on the PC of the son in addition to the PC business to prevent the use of any computer between midnight and 08:00 when the son is supposed to sleep or study and not play games or use the computer for something ELSE. According to the owner of the company, the son psychiatrist said that the son must sleep during those hours every day.
    Currently, it is not possible for me to question the son - it is of course very unhappy about not being able to install software on PCs own hie. Not that I was all happy that all this, but he isn't one to pay me.
    Sorry, this has been so long. The situation is a little stressful.

    A knowledgeable user can bypass/get around any account login admin password, by using any method found in a search on the internet.

    You can try to set up separate for normal use restricted user accounts.

    You can also configure another admin account, with the reset/recovery disk of password for your own use. (In which case a user causes problems in their attempt to circumvent restrictions)

    Assuming that PCs are networked / connected via a routor, a decent has the ability to restrict the sites accessible both to prevent net access between certain hours, on a per PC basis.

    There is software of third parties, such as used on some PCs consulted by the public in the scenario you mentioned, although how it would affect normal business type useage I could say.

    Certain third-party Internet security applications also have the ability to restrict access/use their own parental controls

Maybe you are looking for