Start a counter with SOURCE, stop with GATE?

I would like to START a DAQ-STC counter using the rising edge of the SOURCE
input, and stop the counter with the rising edge of the GATE input. So I
have two seperate digital lines I want to use to start and stop. Any pointers
on how to do this? (Please respond via email also)
Thanks,
J. Apple

Hi,
Thanks for the reply, GarPar. I think I have solved the triggerring a counter with another with your and Stefan&Kekin's help. Now, I can generate two counter outputs (chip select and clock) as I wanted but I couldn't read the National Semiconductor differential sensor board output at the same time. I have attached the Labview I have written and scope screenshot which shows the chip select(signal 1), clock(sig 2) and output(sig 3). As I told previously, first I generate Chip select signal(1), then at falling edge I generate clock signal(it keeps going on). Finally, I try to read starting the output at falling edge of Chip select counter using clock counter output as the clock source for my read Timing.vi. BTW, Labview  gives an -200560 error after the Read.vi which is an timeout error although I don't need any external connection since I am taking both trigger and clock output internally. And I checked that I connect the output pin to the line 6 of Ni 9401 (many times )
Error -200560 occurred at an unidentified location
Possible reason(s):
Wait Until Done did not indicate that the task was done within the specified timeout.
Increase the timeout, check the program, and make sure connections for external timing and triggering are in place.
Can you see any apparent problems in my labview program? Finally, I am using
o ctr2 as Chip Select counter,
o ctr0 as Clock 
ctr2InternalOutput as clock trigger
o line 6 as digital input
ctr0InternalOutput as read clock
ctr2InternalOuput as read trigger 
which are shown in my Labview program. Thanks for your help in advance.
Regards,
Ouz
National Semiconductor (Intern)
Attachments:
Ni9401_triggeringclockcontinuously.vi ‏33 KB
ni9401_screenshot.pdf ‏61 KB

Similar Messages

  • Multi-authoring with source control with RH10 and RH11

    Situation:
    Writer A is running RH10. Writer A opens Project A, from Visual Studio Source Control, which is connected to a Team Foundation Server.
    A new employee, Writer B, has been given RH11.
    Writer A can't install RH11 until after mid-June because of tight schedules (can't afford any upgrade problems).
    Writer B is supposed to work on the same Help project. (We know that RoboHelp does not support checking out the same file at the same time.)
    If Writer B configures her version of RH11 to work with TFS and Source Control, can she open Project A and work on it (from Source Control) without causing problems for Writer A?
    Thanks.
    Carol Levine

    If Writer B is not using Source Control or it is competely separate from Writer A, possibly but I still would not be comfortable.
    I think I would rather upgrade Writer A and I note your reservations. It's your call but it's like being between the devil and the deep blue sea. Neither is ideal.
    So far it looks like Rh11 upgrades have been OK.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Why sync with outlook stops with "waiting for changes to be applied" msg @itunes and Outlook msg. of not properly closed file?

    After a new installation of Win7 64 bit, Office 2007 and iTunes 11.4.1.62  I am not able to sync 2 of iPhone 4s with Outlook.
    In addition to the msgs in my question I should mention the following:
    1) In the device window in iTunes there is a message "iTune is not paired with any device" BUT the iPhone communicates well with iTunes
    2) the upgrade to latest iOS 7.1 didn't help
    3) The same iPhones dont have sync or pairing problems on another PC whis Win7 32bit but the same outlook and iTunes
    Hope somebody can help

    Is the hang happening when you're syncing calendars? If so, by any chance, do you have Eset security software (like Nod32) installed on the PC?

  • How can one counter be sources (or gated) with the output of the other?

    I'm trying to use the counters to generate a square pulse train that contains a certain number of pulses (on 6036E). For that I need to gate counter0 with the output of counter1. The manual seems to indicate that I need to use
    GPCTR_Change_Parameter (deviceNumber, ND_COUNTER_0, ND_GATE, ND_COUNTER_1) ,
    however it makes no difference to the output; I see no gating. What am I doing wrong? Am I missing something?
    I would also like to source counter1 with the output of counter0. There's a similar function call to choose the source signal, but so far I've been unable to source a counter with anything but the internal timer.  I guess the reason for it might be the same as the gating problem.
    Petro

    Hi Petro-
    This example shows how to output a finite gated pulse train on an E Series board.  It mentions that it is a CVI example, but the main .c file does not include any CVI-specific functionality so it should work if you're using ANSI C.
    Equivalent functionality is available in NI-DAQmx for your board and is considerably more intuitive.  An example of pause-triggered pulse train generation is available in the "C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Counter\Generate Pulse\Dig Pulse Train Cont-Pause Trig" directory of your local drive.  One method to generate the "pause trigger" pulse train is shown in "C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Counter\Generate Pulse\Dig Pulse Train-Cont" .
    I'm not sure what you mean when you say "I would also like to source counter1 with the output of counter0."  What do you need to perform this operation for?  The reliance of counter 1 on counter 0 and counter 0 on counter 1 creates a type of circular reference that is almost guaranteed to be problematic.
    Hopefully this helps-
    Tom W
    National Instruments

  • I am trying to download iTunes on my new desktop computer (Windows 7, 64 bit).  It starts installing, and then stops with the message- "The System Administrator has set policies to prevent this installation."  I am the sole user- please help.

    I am trying to download iTunes on my new desktop computer (Windows 7, 64 bit).  It starts installing, and then stops with the message- "The System Administrator has set policies to prevent this installation." This is a stand alone computer and I am the sole user.   Please help.

    This is a Microsoft Windows Issue.
    From a MS Support Engineer:
    "Hi,
    ·        Is the computer on a domain?
    ·        Is the issue isolated to only this software or you get the same error message with other software’s as well?
    Try the steps below and check if it helps.
    Step 1:
    Run the software setup file as an administrator and check if it helps.
    a. Right click on the setup file of the software that you are trying to install.
    b. Select “Run as administrator”.
    Step 2:
    Temporarily disable the antivirus software running on the computer and check if you are able to install the software.
    Disable antivirus software
    Warning:
    Antivirus software can help protect your computer against viruses and other security threats. In most cases, you shouldn't disable your antivirus software. If you have to temporarily disable it to install other software, you should re-enable it as soon as you're done. If you're connected to the Internet or a network while your antivirus software is disabled, your computer is vulnerable to attacks.
    Step 3:
    a. Click Start, type "Local Security Policy" (without quotes) and press enter.
    b. Click on Software Restriction Policies.
    c. In the right pane, double click on the "enforcement".
    d. Select “All users except local administrators”.
    e. Click Ok and restart the computer and check if the issue is fixed."

  • Hi, when ever I'm using 3G, on my Iphone4 sim stops working and Network is lost, this started after I updated my phone with  6.0.1(10A523)version. Please help how to solve this problem.

    Hi, when ever I'm using 3G, on my Iphone4 sim stops working and network is lost, this started after I updated my phone with  6.0.1(10A523)version. Please help how to solve this problem. Thanks.

    Photos/videos in the Camera Roll are not synced. Photos/videos in the Camera Roll are not touched with the iTunes sync process. Photos/videos in the Camera Roll can be imported by your computer which is not handled by iTunes. Most importing software includes an option to delete the photos/videos from the Camera Roll after the import process is complete. If is my understanding that some Windows import software supports importing photos from the Camera Roll, but not videos. Regardless, the import software should not delete the photos/videos from the Camera Roll unless you set the app to do so.
    Photos/videos in the Camera Roll are included with your iPhone's backup. If you synced your iPhone with iTunes before the videos on the Camera Roll went missing and you haven't synced your iPhone with iTunes since they went missing, you can try restoring the iPhone with iTunes from the iPhone's backup. Don't sync the iPhone with iTunes again and decline the prompt to update the iPhone's backup after selecting Restore.

  • HT1923 I was trying to update itunes on my computer received an error message so I uninstalled and reinstalled itunes. the download stopped with this message "Service 'Apple Mobile Device' failed to start. I have an ipad 2 purchased in 2011.

    I was trying to update itunes on my computer that has windows vista. during the update I received an error message; so I uninstalled itunes and reinstalled it. the instatlation process stopped with this message: "Service 'Apple Mobile Device' failed to start. Verify thta you have sufficient priviledges to start system services." I have used an ipad 2 since 2011 and have never had a problem with my itunes account or my ipad until now.
    What steps do I need to complete to get my itunes account up and running again?

    Hi Kayleenfromwi,
    Thanks for using Apple Support Communities.  You may need to restart the Apple Mobile Device Service.  This article has instructions for doing this:
    How to restart the Apple Mobile Device Service (AMDS) on Windows
    http://support.apple.com/kb/ts1567
    If that doesn't resolve the issue, I would recommend trying the steps in this article:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Ari

  • "Accounting-Start" and "Accounting-Stop" with same "user name" and "session Id" recorded in different RADIUS servers.

    Hi,
    I have questions about "Accounting-Start" and "Accounting-Stop".
    1.If a NAS configured to have a primary and a backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the primary server goes down (Primary server won’t tell the NAS?). When sessions stop, the NAS sends the “Accounting-Stop” to the secondary. I understand the “Start-Stop” record with the same “user name” and “session-id” ideally should be recorded in the same server. If this situation happens what should both the NAS and RADIUS server do?
    2.A NAS configured to have a primary and backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the administrator decided to change the primary server (as there are problems with the previous primary). sessions stop, the NAS sends the “Accounting-Stop” to the new primary. This ends up the “Accounting-Start” and “Accounting-Stop” with the same “user name” and “session Id” in two RADIUS servers.
    To summarize, how to avoid the ”start-stop” pair ends up in different servers ? If it does, is it  an issue for RADIUS application ?
    Cheers,
    1.If a NAS configured to have a primary and a backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the primary server goes down (Primary server won’t tell the NAS?). When sessions stop, the NAS sends the “Accounting-Stop” to the secondary. I understand the “Start-Stop” record with the same “user name” and “session-id” ideally should be recorded in the same server. If this situation happens what should both the NAS and RADIUS server do?
    2.A NAS configured to have a primary and backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the administrator decided to change the primary server (as there are problems with the previous primary). sessions stop, the NAS sends the “Accounting-Stop” to the new primary. This ends up the “Accounting-Start” and “Accounting-Stop” with the same “user name” and “session Id” in two RADIUS servers.
    To summarize, how to avoid the ”start-stop” pair ends up in different servers ? If it does, is it  an issue for RADIUS application ?
    Cheers,

    vignesh and BalusC,
    following is the code in front controller's doFilter method. is this not thread safe?
            HttpServletRequest req = (HttpServletRequest) request;
            HttpServletResponse res = (HttpServletResponse) response;
            HttpSession session = req.getSession();
            somepackage.User user;
            if(session.getAttribute("user") == null){
                user = new somepackage.User();
                session.setAttribute("user", user);
            }else{           
                user = (somepackage.User) session.getAttribute("user");
            }user object maintains all information about a user. if it is in session scope, everything should work fine.
    another observation is after some time of usage, both people in different systems are getting same session.getId()
    in my logout page i am using
    session.invalidate();
    thanks,
    moses

  • Problem with 6700 6.1 in counter strike source with msi mobo

    hi,
    i've just baught a 6700 6.1 set and they work fine in windows, dvds and the msi speaker set up test. but in counter strike sources speaker test and in game only the centre and sub work. i've changed the speaker settings in windows and source with no luck.
    my msi mobo (k8n neo2) has 7.1 built in but only offers 2channel 4channel 5.1 or 7.1 options so i am using my speakers in 5.1 when i run the speaker set up test provided with my mobo the right speaker is highlighted and then plays a sound but in the source speeker test only the centre and sub actually make a sound when they are iluminated i have tryed all combinations off the msi set up and source set up and the problem does not change.
    i was wondering what i could do or if this problem has been heard of before.
    if i have missed any information out that u need 2 know just ask and il let u know
    thanks a lot

    If I dun remember wrongly, there's a switch at the woofer. Try changing that to direct mode.

  • When starting up, Apple logo is present with loading bar underneath. No spinning wheel. After aprox 1 min the loading bar stops half way

    When starting up, Apple logo is present with loading bar underneath. No spinning wheel. After aprox 1 min the loading bar stops half way and shuts down completely. Any advice appreciated.

    Which model MacBook Pro do you have (e.g., "15-inch Late 2011") and which version of OS X are you running?
    You may want to try resetting your SMC -> Intel-based Macs: Resetting the System Management Controller (SMC).
    If no joy there, call back with th requested information.
    Clinton
    MacBook Pro (15-inch Late 2011), OS Mavericks 10.9.4, 16GB RAM, 960GB SSD, 27” Apple Thunderbolt Display

  • I use Adobe Premiere Elements 11. I want to make a Credit Roll and start off screen and stop with the credit remaining still in the middle of the screen. I know this can be done with CS6. Can this be done in Elements 11? Does Elements 12 or 13 have these

    I use Adobe Premiere Elements 11. I want to make a Credit Roll and start off screen and stop with the credit remaining still in the middle of the screen. I know this can be done with CS6. Can this be done in Elements 11? Does Elements 12 or 13 have these options for Credit Roll.

    stevel
    Please read my work on this topic which involves Premiere Elements Preroll and Postroll settings.
    ATR Premiere Elements Troubleshooting: PE: Preroll and Postroll Options Interpreted
    Especially the section relating to Titler, Roll and Crawl Titles.
    Please let us know if that worked for you.
    Thank you.
    ATR

  • HT202159 I started download of OS X Mountain Lion and it stopped with "An error has occurred" with no option to resume download. When I go to appstore it shows but again.

    I started download of OS X Mountain Lion and it stopped with "An error has occurred" with no option to resume download. When I go to appstore it shows but again.

    Try this Discussion...
    https://discussions.apple.com/message/19032230#19032230

  • Unable to download program. It initially started then stopped with a message to email some one which I did, no response

    I am unable to download the premier elements 13 program. After putting in  the required code it gave a serial number and started to download but has stopped 20 % way through and wont restart. Instead it comes up with a message to contact [email protected] I sent an email, no response, what can I do?

    Colin Geraghty
    Thanks for the follow up with the additional details.
    I have seen "Arvato bertelsman" described online as a "3rd party vendor". The only two program's that I have seen for extraction of the file with the actual program have been
    Adobe Application Manager and Akami. So, I have no idea how Arvato bertelsman factors in your purchase at your local Australian retain shop. And, I have not seen that email
    address either.
    I am not sure this will work but try to contact Adobe Chat and determine if its representative can help you or direct you to a department who can. These days Adobe Chat support
    seems limited for Premiere Elements, and it seems to be referring users to Ask the Community which is us (user to user). Let us give this a try...click on the following link
    Contact Customer Care
    Premiere Elements
    Adobe ID, Signing In
    Adobe ID, Signing In, Account Help
    Chat Panel
    If the link does not hold its set, then you will need to navigate to the Chat Panel using the above titles as guides.
    Another possibility....if you have a purchased serial number...download and install the Premiere Elements 13 tryout from the following web site and then insert you purchased
    serial number in them at installation. See if that works.
    Adobe Photoshop Elements 13 Direct Download Links, Premiere too | ProDesignTools
    Major consideration - be sure to carry out carefully the web page's "Note: Very Important Instructions" in order to avoid an Access Denied message.
    In the absence of further input from other users here, you might consider posting your thread in the Adobe Downloading and Installing Forum.
    Downloading, Installing, Setting Up
    In all of this and considering all factors as you try to make things work for you, please do not lose track of time and the opportunity for a return/refund which can come only from your seller
    Best wishes
    ATR

  • When starting the computer I get the dong but then it stops with three loud beeps as the light in the front flashes in line with the beeps. The beeps repeat till switching off

    When starting the computer I get the dong but then it stops with three loud beeps as the light in the front flashes in line with the beeps. The beeps repeat till switching off

    Check out this Apple support article https://support.apple.com/kb/HT1547

  • How can i stop the Action Wizard from putting the original file into the Source folder with my changed documents?

    How can i stop the Action Wizard from putting the original file into the Source folder with my changed documents?

    [discussion moved to Creating, Editing & Exporting PDFs forum]

Maybe you are looking for