Encoder DI only fires once when I start

Hi all

I have a 9172 DAQ (USB) with a Module of current analog 9203 and a digital input Module 9401.   I try to get 5 force vs position slide on a press.

The DI is a hung absolute encoder that works great and sends the values of encoder back.

AI has 5 sensors of force hanging and works very well when the press is running.

The problem is when I try to use both the DI and GOT both (I have a trigger on the set of DI at a value of 7000) begins it to capture the forces, but I only get the 1st encoder value in the file.

Well, any help would be appericated.   I am a newbie in Labview.  I have included my file.

Thank you

Michael

Hi Michael,

I guess you can use a business structure that determines when the encoder values are stored and integrated in the table, while the case of false past nothing through.  Your current DI acquisition is a sample on request and your measurements of the N samples, 300 at a rate of 32 kHz.  This means that when you read your DI value greater than a number, it will stop and take 300 samples before writing and iteration again.  I'm not sure how much encoder values you want to save, and when, but you either will have to make a similar finished sample on your DI to obtain values more by iteration or build a sample in a table as mentioned both liked the top.

9425 module is just another DI module, so it shouldn't affect the way in which you will need to code.  The main difference between the two modules is in software timing equipment schedule vs.  You use avoiding in your code, so no prejudice to the performance should be considered.

Tags: NI Software

Similar Questions

  • question on "How to call a method once when starting the application"

    Hello everyone.

    I'm trying to implement that article "How to call a method once when you start the application" by Frank suggests.
    https://blogs.Oracle.com/jdevotnharvest/entry/how_to_invoke_a_method


    Suppose I want to have a single entry point, so in my login.jpsx I have the below:
    <f:view beforePhase="#{login.onBeforePhase}">
    In the 'onBeforePhase' method, I have to pass the phaseEvent, since the signature is as follows:
    public void onBeforePhase(PhaseEvent phaseEvent)
    But how do I know the phaseEvent during the call to the login.onBeforePhase? How the call should be?

    Thank you very much!


    PS. I use jDev 11.1.2.1.0

    You must not pass something to this method, this method is called before each Phase except view restoration
    Just write logic as Frank suggested to the phase in which you want the code to run. You can get the PhaseId analogues

    PhaseId.RENDER_RESPONSE

    public void onBeforePhase(PhaseEvent phaseEvent) {// from Frank's doc
     //render response is called on an initial page request
      if(phaseEvent.getPhaseId() == PhaseId.RENDER_RESPONSE){
    ... etc
    
  • How can I get only a few things that start on my computer instead of all sorts of things at once

    How can I get only a few things that start on my computer instead of all sorts of things at once

    Hello

    You can use these to control which startup programs. Many others who settle start-up are not
    really need to be there. As Acrobat Reader (Adobe), Agent of WinAmp and many others who
    load chunks of themselves to start more quickly (not a problem on the machines of today ' hui) and to make sure that they
    can control the files they support (to be sure that you continue to use only). Those who are not common
    examples and not meant as a slam on these programs very well.

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    Autoruns - free - see what programs are configured so that it starts automatically when
    your system boots and you connect. Autoruns also shows you the complete list of the registry
    and where applications can configure Auto-start for the files settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    -------------------------------------------------------------------------

    Performance and maintenance tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Where is the best place to 'field of Application only once by application start initiation' coded?

    Dear all,

    Do you have any suggestions on where we should put the opening of scope application code?

    These codes should be used the first time user enter the app, but not every time when you navigate to a new page.

    I use bbUI and currently trying to put it in the webworksready listener in my index.html

    Is this supposed to be invoke only once or will be called each time when I refresh the screen using bb.pushScreen?

    I noticed it was triggerred several times, so this isn't what I want to achieve.

    Any other event listener could I use to put my 'field of Application only once by opening start?

    Appreciate for any suggestion or comment.

    This happens in fact because of the bug of the ripple, this ready recall webworks has been triggerred twice.

    So ideally, it won't be a problem.

  • When I started to update my iphone to ios 10 and watch 3.0, cannot already display the pictures of my watch. Logo of loading only. And he thinks it will take a hayss of 1000 years. Help, please

    When I started to update my iphone to ios 10 and watch 3.0, cannot already display the pictures of my watch. Logo of loading only. And he thinks it will take a hayss of 1000 years. Help, please

    Hello

    If the software on your watch is being updated, leave your watch and your iPhone until the process is complete (including the not remove your watch on the charger):

    Update the software on your Apple Watch - Apple Support

  • I chose a character, but when I start Firefox, Mozilla start page with Google, and persona shows is only barely visible in the toolbar area. How can I get the persona of show and not Google start page?

    I checked the Personas of Mozilla, has seen one I liked and added the. When I start Firefox, the Mozilla start page shows as usual with Google on this subject. The character I chose shows barely and only in the area of the toolbars at the top of the screen. Can I change the start page to not display Google and access Google another average, so that my character is displayed on the start page of together?

    This has happened

    Each time Firefox opened

    == I added on Persona

    As you can see on the article using themes with Firefox , personas are 'lightweight themes that can change the color plan and the Firefox toolbar background image' and they do not change Web pages.
    If you do not see Google as home page you can watch How to set the home page and change it.
    Finally Firefox 3.5.x will be maintained with security and stability updates until August 2010, so you may want to update to a newer version.

  • Lenovo laptop drive opens only when I start my computer?

    I recently bought a Lenovo IdeaPad Z500 and when I start the machine, either from scratch or awakening of the mode standby by pressing the power on button, the cd player pings open. It's really annoying! Anyone know why? Or how I can get it to stop?

    It's the machine:
    Lenovo IdeaPad Z500 i3 - 3120M 6 GB 1 TB DVDRW 15.6 Win8 "- white (59372917) - dabs.com"

    Also, I've only had the machine yesterday - and it happened from the moment when I first turned on. I have no restore points and you don't want to mess around with something like an uninstall. I just want to know how I can activate this parameter (if it is a parameter) OUT, nothing has been installed yet or anything like that. It is so brand new.

    Hello. Called Lenovo. Guy was really helpful. Told me how to restore to original. Did not work. Thus recalled. Spoke to him again, and he said that he has never heard speak of him before either, and we sort of get a new one to replace it. It happens that two days ago. So I'm hoping dabs.com will deal with it quickly.

  • When I start with Windows XP Home Edition, the screen appears, only the mouse arrow. Help!

    When I start with Windows XP Home Edition, the screen appears, only the mouse arrow.  Help!

    Hi stevejager,

    ·         Remember to make changes?

    ·         You receive an error when starting?

    ·         Have you tried booting in safe mode?

    Method 1: First of all, we will try to start the computer in last good known Configuration and see if it boots.

    Method 2: If it is impossible to start, try to start in safe mode. If able to start and then try to perform a System Restore, since this is a recent problem that has occurred.

    Method 3: Follow the steps in the below article mentioned.

    Computer stops responding with a black screen when you start Windows XP

  • My control panel shows only one user, but when I start it shows two users on the logon screen. and I know no other password

    My control panel shows only one user, but when I start it shows two users on the logon screen. My user is an administrator. But I do not know password of another user. I am currently using as an administrator. But I also want other user password. Answer please

    Your machine has only two accounts: admin and guest. I saw a few messages before which the poster makes an additional account on the log on screen that does not exist. Since there is not, it cannot be used.

    Also note that you play a game at high risk, having only one administrator account. This forum deals daily with posters including one and only the admin account went bad for one reason or other. Something about it now while you can: create, test, and document a spare, even admin account that you have a spare emergency House key.

  • How should I do to don't see only the tools-plan when I start Dc Acrobat?

    How should I do to don't see only the tools-plan when I start Dc Acrobat?

    Hey Peter,

    If you use the player, then you can do the same thing in preferences as I mentioned above.

    Or, if you have Acrobat, then you can hide the tool by key pane by pressing (SHIFT + F4), enable option 'Restore last view settings... ' under ' Edit > Preferences > Documents.

    Close Acrobat and then relaunch it.

    Kind regards

    Ana Maria

  • Cf11 instance works only when I start it via the console

    In WIndows Services, my cfintra instance is running. In the CF Instance Manager, my cfintra instance is stopped, and I can not started via this page. In CF instance newspapers I get this:2014-10-08 10_43_13-webin2 - Remote Desktop Connection.png

    And visit my site simply returns a 500 error. So I started CF via CMD instance with: coldfusion.exe - start - console and now my site is running. However, the State of the instance in the Windows Services is 'stopped' and if I close the window CMD, it stops the instance CF. I have 4 instance CF I am managing through the instance manager and CFINTRA is the only one I can't start and stop successfully from the Manager. So, how do you debug this problem?

    2014-10-08 10_39_57-webin2 - Remote Desktop Connection.png

    We tested the creation of multiple instances for our purpose. Once we have applied the fix to the main proceedings, it is applied to the rest of all. It seems to me that the issue is part of your body - CFUSIONINTRA. Can you delete and recreate.

    Kind regards

    Anit Kumar

  • Can I save to file or print the global contacts in Thunderbird. Not only the contacts but all contacts that indicate when you start to fill out an address to send to.

    There must be a file somewhere in Thunderbird for all of your communications by e-mail that stores the e-mail addresses of everyone. When you start typing an address you will display a list of people with whom you communicated with in the past. Many of these people are not in your contact/address file. I want to somehow extract this file to Thunderbird.

    You have two default address books. The personal book where you add contacts and the collected book which keeps information for messages that you send.
    So you're looking for the collected address book.
    When you open the address book window, you should have your books listed as folders on the left margin in the directory pane. If the pane is not displayed, select View-Layout and click on.

  • e-mail does not appear when you start outlook express/is accessible only when iI click on Inbox in the folder list.

    I use Windows XPO professional and Outlook Express 6.

    Otherwise, how do you mean "emails should display"?  I don't understand the problem then.  What do you expect when you start OE?

    If it is not directly in the Inbox, you can have corruption and you can go to file | Identities and setup a new identity.  Then see if it works.

    Steve

  • Hello. I installed the latest update of Firefox and when I start a new tab page displays not now my entry from google line.please help.tks

    Hello. I installed the latest update of Firefox and when I start a new tab page displays not now my google input line. I use Windows 10. Until the recent update (v4.1.01) each time I started a new tab the new page would show the google search entry line which is my default. Can help you to restore this feature? TKS

    Hi, 41 of Firefox, you must use the add-on tab override (browser.newtab.url replacement), to make changes to the page tab.

    Once installed, open the Add-ons (Ctrl + Shift + A) Manager > Extensions, and then look for the new tab override and click Options to set your preference.

    Notice, if you want only the new tab to be the same as your home page, you can use the Add on new tab homepage instead.

    You will then need to restart Firefox for all changes to take effect.

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you.

  • several programs start when windows starts

    my computer runs very slowly I think I have several programs start when windows start and I did not now how to solve this problem, I got help and they thought that by removing some of my programs, this can help, but it's still the same

    On Saturday, February 25, 2012 21:53:33 + 0000, janetpritchard wrote:

    my computer runs very slowly I think I have several programs start when windows start and I did not now how to solve this problem, I got help and they thought that by removing some of my programs, this can help, but it's still the same

    First of all, note that you should be concerned all the programs
    starts automatically, not only those who enter in the system tray.
    Not all the programs auto-start manifesting by an icon in the
    Status bar.

    On each program, you don't want to automatically start, check its
    Options to see if he has the choice of not start (make sure you)
    Indeed choose not to run, not just a "don't show icon.
    Optional). Many can easily and better be arrested like that. If that is not
    work, run MSCONFIG from the start. Run the line, and then click the Startup tab.
    Uncheck the programs that you do not want to automatically start.

    However, if I were you, I wouldn't do it just for the application of
    the minimum number of running programs. Despite what many people say
    You should be concerned, not with the way that a lot of these programs
    you run, but who. Some of them can degrade performance severely, but
    others have no effect on performance.

    Don't stop all programs to run willy-nilly. What you need to do
    is to determine what each program is, what its value is up to you which
    the performance cost is its running all the time. You can try
    Internet search and ask questions about the details here.

    Once you have this information, you can make a smart informed
    decision on what you want to keep and what you want to get rid of.

    Ken Blake, Microsoft MVP

Maybe you are looking for

  • iPhone 6 error 53 and APPLE DOES NOT REPLACE FIX GOLD!

    I bought my iphone from Apple 6 January 10th, 2015 in Dubai. I dropped my iphone in February and the upper part of the iphone (above the display) got a minute crack. It wasn't any of of replacement in India if I had no choice but to use the iphone an

  • The Find command: why partial words?

    I use Jarte instead of Wordpad and noticed that when I look up a word she also brings this combination of letters in other words.  This seems to be a thing of the OS (I use XP Pro now) and also happens with other programs.  Is it possible to stop thi

  • Unable to paste the screenshots in u MS Paint

    I can't paste the screenshots of the Internet using MS Paint - Version 6 (2007). When I use the PrSc, can't do the editing and paste or Ctrl / P options actually paste the screenshot taken out web in paint.  I was able to use it in the past... and th

  • '' Additional newspapers on the information '' when connecting to my network.

    I can't connect to my home network because of this message "Additional journal information is required to connect to this network." He goes on to say "You need to perhaps select a cirtificate or enter a user name and password to connect to this netwo

  • How can I move the toolbar to the bottom in CD player up by default

    HelloIn MS Reader when you open a PDF file there is a "floating" toolbar in the lower part that contains zoom, full screen and other functions/options display. It is possible to move the toolbar above and merge it with the toolbar main, but this requ