How do I implement a stop trigger for my 6602 counters?

I currently have the start of data acquistion for two channels syncrhonized with a start trigger. I am doing simple event counting using two seperate counters.
For my start trigger, I use a third counter to generate a single pulse and put the output on the trigger line that the two counters are watching.
Works great! But, I also want to synchronize the stopping of data acquisition for the two channels. I thought this would be simple as configuring a ND_STOP_TRIGGER like I did a ND_START_TRIGGER. But, this is giving me errors.
Does the 6602 not support stop triggering? Am I just out of luck?

Hi there,
this thread is quite old but I'm facing the same problems.
I'm using a PXI-6602 and a PXI-6521 in a PXI-1033 chassis. On the 6521 I create a continuous sample pulse as a counter output. This I route to the PXI_Trig0.
On the 6602 I have two counters set up to continuous edge counting with the external clock configured to PXI_Trig0.
I start counting by setting a internal trigger channel to high which is routed to PXI_Trig1, and this is configured as the start trigger signal for both counters on the 6602 so that they count simultaneously based on their common sample clock.
This works quite good...but I have some problems to stop the counting.
I have to stop counting as soon as I have reached 1024 increments (one revolution of a wheel, signal duty cycle 50 %) on one counter and then I have to check if the other counter have reached at least 48 (duty cycle 50%) or 96 pulses (duty cycle 20% or 80%, depending on the revolution direction).
So far I read the counter value of ctr1 in a loop and if the value is equal to or greater 1024 I stop. Sometimes I miss the value 1024 (how can this happen as I count buffered + continuously?) I make a retry. But I get the impression that even I configured both counters with the same start trigger and sample clock, the counting isn't synchronous. When I try it with two function generators, I works quite good but not perfect. If I connect real life signals, in the lower frequency range (up to 500 1/min of the wheel), I almost always have fewer pulses then necessary, e.g. 88-94 pulses instead of 96. In the upper frequency range (up to 3000 1/min of the wheel), I have way too much pulses, e.g. 122-125 pulses instead of 96.
I use the digital filters of the counter board for both TTL signals.
Does anybody have an idea what I can do on this subject?
Thanks in advance for any help
Regards
Achim

Similar Messages

  • Since ios 6 update hotmail fetches or push on its own. I have hotmail set to manual. Best I can tell its only hotmail and not yahoo. Is this a known problem? How do I make hotmail stop checking for mail when I have it set to manual?

    Since ios 6 update hotmail fetches or push on its own. I have hotmail set to manual. Best I can tell its only hotmail and not yahoo. Is this a known problem? How do I make hotmail stop checking for mail when I have it set to manual?

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Does anyone know how to get Adobe to stop charging for a subscription that is no longer being used?

    Does anyone know how to get Adobe to stop charging for a subscription that is no longer being used?

    For full details on cancelling a membership and subscription see the following page:
    Cancel your membership or subscription | Creative Cloud
    Depending on where you are in your subscription cycle / membership and the type of membership
    If you have an individual membership, and opted for the annual membership (lower monthly fee). If you are cancelling in the middle of your membership, then you would be billed 50% of what's left of your membership for the remainder of the year, basically that would then in $$s become more like having taken out a month-by-month membership (higher monthly membership fee).
    If you are in the last month of your annual membership or your are on a month-by-month membership, you can log into your creative cloud account, cancel the plan yourself (no additional charges apply), by logging in with your Adobe ID and password, click your name in top left of screen and click on Manage Account.

  • How can I implement 'WaitCommEvent' in VISA for RS232?

    I am trying to use VISA to control my RS232 device as a beginner.
    I would like to know how I can implement a fuction 'WaitCommEvent' of VC++ in VISA. The usage is as follow(You can check it in MSDN):
    WaitCommEvent(hFile, lpEvtMask, NULL);
    The function waits until any event happens in RS232. For example, if a character is available in buffer, the function stop.
    If I open RS232 connection with CNiVisaSession, what corresponds to 'hFile?.' Or, how I can implement the function in VISA?
    Thank you very much.

    Hi,
    One option for you here that could be very easy is to set the timeout for a very large value, then just make a read call to the serial port. The function will not return until the timeout completes or when you receive the data. You may need to play with the termination character and the number of bytes you read depending on the data that you expect to read.
    Make sure that you take a look at the examples that ship with MStudio.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.

  • Using the same wire for positive edge start trigger and negative edge stop trigger for 6533

    I would produce a start trigger for an external data source to start them.
    Emediatly after this starttrigger this source produces a trigger Signal.
    I would like to use this trigger Signal as an extern trigger which should provide some functions:
    1. on the positive edge of the Signal some pattern should read in with an external clock.
    2. on the negative edge of the trigger signal this process should stop.
    I would do this with CVI

    Hey Schicki,
    I have included two links below that should help you with your application. The first one is setup to perform digital pattern I/O with an external clock in CVI. The second shows how to incorporate start/stop triggers in digital pattern I/O operations. You should be able to combine parts of these two programs to complete your application.
    NI 6534 Double-Buffered Pattern Generation, External Clock -- CVI
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E7FD56A4E034080020E74861&p_node=DZ52321&p_source=External
    Output Digital Data from a Buffer to a Group of Two Digital Ports Upon a Digital Start Trigger
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EA4556A4E034080020E74861&p_node=DZ52321&p_s
    ource=External
    I hope this helps.
    Regards,
    Todd D.
    NI Applications Engineer

  • How to Get Safari to STOP asking for Password

    Whenever I start up Safari for the first time, it annoyingly asks for a password, and I've dismissed this prompt without typing in any passwords, and I've been able to continue doing what I'm doing. But how do I get Safari to stop asking for a password? I've read similar posts but nothing has been asked in exactly this way, as far as I can tell. What I've done:
    - Gone into Keychain Access and deleted the only Safari-related item I find there, called "Safari Forms Autofill." This works temporarily but the password prompt comes back again, and this item appears again in Keychain Access.
    - Gone into Safari Prefs Autofill and made sure Passwords was unchecked; it was.
    Any ideas?

    Aha, I've answered my own question: You have to uncheck the "Other Forms" option in Safari Auto-Fill Prefs as well. Ho ho ho all.

  • How can i implement the default value for this variable?

    In one of our Stored procs,we have a variable RECS_TO_DELETE, which determines the number of records to delete from various DELETEs that happen within this proc.
    The value for RECS_TO_DELETE variable should be obtained from a configuration table sys_config
    select
    rec_num into RECS_TO_DELETE
    from sys_config
    where
    sys_code=55;
    But if something goes wrong with sys_config table or the above SELECT INTO, our client wants to makes sure that RECS_TO_DELETE should have a default value of 1000.
    In the code, how will i implement having this default value of 1000 for RECS_TO_DELETE variable  in case the above SELECT INTO fails for some reason.

    Hi,
    You have to assign a value before the execution...
    DECLARE
        RECS_TO_DELETE NUMBER(9) := 1000;
    BEGIN
        SELECT rec_num
        INTO   RECS_TO_DELETE
        FROM   sys_config
        WHERE  sys_code = 55;
        DBMS_OUTPUT.put_line(RECS_TO_DELETE);
    EXCEPTION
        WHEN NO_DATA_FOUND THEN
           DBMS_OUTPUT.put_line(RECS_TO_DELETE);
    END;
    /Regards,

  • How to make my iphone stop asking for my friend's Apple ID?

    First question: why does apple website logs me out every minute saying "session time out" or something(i'm using chrome on iPad)..!
    Second Question: why after i typed such a big question and when i switch tab and come back to this tab, the tex disappears (both chrome and safari for iPad)?
    Before going to my actual question:
    I(from USA) have an iPhone 5 and iPad 4, and bought the same for my dad(India), He has his own apple account and mine is separate.
    I've recently send the iPhone 5 (factory unlocking it for 10$ before sending it to him- I have proof of purchase for all 4 devices)  after the 5s is released.
    Third question: Why can't I add my dad's(Indian) phone number for iMessage?
    Since I used that phone with my USA SIM card for 1 day before sending it to him, it remembered my phone number, but even after trying everything except complete reset on my dad's iPhone( since he can't manage to download all apps from scratch again) and didn't get a new sim yet, we tried everything but I couldn't make the Apple ID remember my dad's phone number..!
    Fourth question: As my laptop broke, I used my friend's Mac to check the unlock is successful or not! Now when my dad tries to install an app from AppStore from his iPhone, it asks for password of my friend's Apple ID ,
    My question is how to add his phone number and how to make it forget my friend's Apple ID
    In Apple.com> manage Id> it doesn't show my friend's id anywhere. Do I need to de-authorize from his Mac?

    Hi, I've tried a reset all, and restored from another backup(iCloud) and it stopped asking my friend's Apple ID(its been two days i've restored, and my didn't complain yet).
    next, i've already tried all the steps you said.
    my dad uses his gmail account for apple devices(same id for his iPad too), and i already checked "My Phone" number is set to my dad's phone number.
    i asked my dad to turn off iMessage and Facetime, removed the sim, reset network settings and when he inserted the sim back, it shows his number, when he turns on the iMessage and  logs in using his email, it shows my phone number..!
    i went to view account, and it redirected to appleid.apple.com and i can see his phone number in the account.
    checked the location, set to India, time zone and everything looks fine.
    But the Apple ID is remembering my number instead of registering his number..!
    BTW, can you elaborate your reply for my 3rd Question.
    I've created a contact record with his name, phone number(with country code) and email addresses.
    Now what is the next step..?
    "setup phone to register with iMessage" can you explain this.
    I'm planning to remove sim in my phone, restore it to new device, setup the required softwares etc, take an iCloud back-up and ask him to restore from that backup. Since, the Apple ID doesn't know any phone number, when he inserts sim and turns on iMessage it should register the new number..!

  • How do i make Keychain stop asking for my PW when I launch Entourage?

    I have really never had to do anything with Keychain, ever since I started using OSX back in the 10.2.x days.
    I just used my computer. No problem; it's a Mac!   I kind of had a vague idea what Keychain was, but i really never interacted with it.
    Same was true when I upgraded my non-Intel Powerbook from 10.3.9 to 10.5.8.  Things went fine, for over a year.
    But I recently had occasion to wipe my HD and reinstall 10.5.8.
    Now, keychain asks for my login admin password every time I launch Entourage.
    And no matter how many times i type it in, it never remembers.
    That's a pain, and I have no clue how to make it stop doing that.
    When I open the Keychain access utility and click on Help to try and learn what Keychain is all about, nothing happens.  That's no help!
    When I run Keychain Repair, it says everything is verified, and repair says there's nothing to repair.
    Within the keychain access utility, i see a list of references to many of the passwords that I entered over the past several years and the sites I used them on.
    Are all those passwords with their matching URLs stored somewhere on my Mac?  I have always religiously NOT done this, for obvious reasons. 
    Makes me kind of uneasy, 'encrypted' or not.  I'm always skeptical of the "trust me..." approach to computer security.
    (If hackers can hack into the Defense Dept., the average Mac would seem to be a piece of cake.)
    ...Altho I suppose that could be a good argument for having DoD switch over to Macs....:-)
    Anyway, keychain for me is a mystery wrapped in an enigma, and it has now become a bit of an annoyance and an inconvenience.
    Whenever I need annoyances and inconveniences, I can always get those at work...on my Windows PC.
    So how do I get Keychain to stop asking me for my Admin username/password every time I launch Entourage?

    Hello,
    >Are all those passwords with their matching URLs stored somewhere on my Mac?
    Yes, that IS the Keychain.
    Mac OS X 10.4: Keychain Access asks for keychain "login" after changing login password...
    http://support.apple.com/kb/HT1631
    Resetting your keychain in Mac OS X...
    If Keychain First Aid finds an issue that it cannot repair, or if you do not know your keychain password, you may need to reset your keychain.
    http://support.apple.com/kb/TS1544
    And finally...
    Keychain is no longer able to update itself when I upgrade an application...
    http://unsanity.org/archives/2007_01.php
    >Makes me kind of uneasy, 'encrypted' or not.  I'm always skeptical of the "trust me..." approach to computer security.
    But if it didn't you be bothered to put in hundrefds of usernames & Passwords a day most likely.

  • How to get Leopard to stop asking for password after waking from sleep mode

    My regular userid does not have a password. When I boot the system, it goes directly in without asking for password. However, when Mac wakes from sleep, it asks for password. I just press enter.
    Can I do something to make Mac skip over request for password when waking from sleep?
    Thanks.
    (The Mac is sleeping, not me.)

    Open the Security pane of System Preferences and turn that option off.
    (33177)

  • How do you implement basic text markup for content? H1, H2, ul, ol etc?

    Title says it all really - am I missing something?

    Thanks for that, I think I've misunderstood who the software is for?
    I'll post to the features area but if nobody was thinking about content markup during development and testing of the software, I'm not sure anyone is going to appreciate it!
    Even print designers (I have 20+ years in print and 8+ years coding) understand the importance of styles in InDesign so I'm not sure what's gained by hiding such a fundamental aspect to the internet. We're finding that our role is more about content design and less about "Website Design" per se.
    e.g. if you hid all the content on the Apple site, all you'd left with would be a bunch of lines, and light gradients - and that's true for most sites. Content truly is king.

  • How to get mac to stop asking for keychain password

    I recently reset my keychain password but did not create a new one. Every time I open any application, like Safari for example, I am asked to enter my keychain password. I don't have one so I hit cancel. The box disappears, but 2.5 seconds later it reappears! I then have to keep clicking cancel as the box continues to reappear. Please somebody help! It's really annoying. iOS 10.9.5

    Try:
    My mac keeps on asking me for keychain passwords ...which I have either forgotten or never used
    Frequently asked questions about iCloud Keychain

  • How to make Outlook stop asking for a password when you no longer have a valid password?

    Many people have asked how to get Outlook to stop prompting for a password, but the answers given are for people who have a valid password. My question is different. You've graduated from school or left your job. You no longer have access to an Exchange
    server. Within Outlook, you have an historical archive of your emails messages and you need to keep them. You can't send email because you no longer have access to that Exchange server, but you have a local cache of the address book in Outlook, which is valuable
    to you and you want to continue to be able to use.
    How do you keep the account in Outlook but have it stop prompting you for a password in this specific case? Remember, you never will have a valid password to this Exchange server again.

    Well you can manually recover your lost PST password with the command Pst19upg.exe -i filename.psx then press enter. After using this
    command your pst files will be free from password and you can easily again use your outlook files. You can also recover pst password with the assist of pst password recovery tool.
    http://www.outlookpassword.recoverytoolbox.com/
    It's Recovery Toolbox for Outlook
    Password.

  • Time trigger for refreshing the screen

    Hi all,
    How to implement the time trigger for refreshing the screen after some time interval .
    Thanks in advance .

    hello Naval ,
    set the delay propert Eg : 10
    in the on action of the Time trigger Ui
    invalidate the node of table .
    write the select query for retrivig the PO from table into Itab .
    bind the internal table to the node ...
    But for your requirement it will efficient if you implement POWL query .
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f1d5ee-84ab-2c10-ce97-97dfd89bc238?quicklink=index&overridelayout=true]
    Regards
    Chinnaiya  P

  • Create a trigger for to prevent  duplicate

    Hi
    How can I to build a trigger for insert , to prevent duplicate register when I use SQLLOADER ?

    The user guide is your friend.
    As for an unique index:
    CREATE UNIQUE INDEX <name> ON <table>(<column1>, <column2>);Again, refer to the user guide.
    C.

Maybe you are looking for