Two Edge Seperation / PCI-6238 / Error -200140

Trying to use a PCI-6238 card to measure the time between Digital Inputs rising or falling.  From what I was directed, this should be able to be done via the Two Edge Seperation Task... However, when I configure the task it seems that no matter what the Min. and Max Time I set, I get the error:
<<<<
Error -200140 occured at MyTwoEdgeSeperationTask - DAQ Assistant
Possible Reason(s):
Two consecutive active edges of the input signal occurred without a counter timebase edge. 
Use a faster counter timebase. 
>>>>
I can I change the Counter Timebase?? I thought the system selected the optimum counter timebase based on the Min and Max value entered in..
Thanks for any help.

Not at hw to test, but here are some brief thoughts anyway:
1. Error message sounds a little odd to me, almost like it's only looking at 1 input signal rather than 2.  Could simply be poor choice of error text though...
2. There's a property called "Duplicate Count Prevention" that is frequently relevant to situations where the signals to be timed are faster than the timebase used to time them.  If you search the forums for that term, you'll find more detailed info.  The summary is that it can either be enabled or disabled and the behavior when the inputs are too fast are either to produce an error like yours or to return a measurement of 0.  (I honestly don't know which setting does which -- it's easy enough to experiment and find out though).
3. The timebase can be chosen explicitly, though DAQmx should indeed have picked the appropriate one for your specified Min / Max.  You'd probably want a Min of 0 and a Max that's less than about 50 seconds.  My guess: DAQmx *did* pick the appropriate timebase, and the error text suggesting you use a faster one is just generic advice that doesn't actually apply to your case.
4. Two Edge Separation requires you to know which signal will come first.  If you don't know which one will come first, you may still be able to accomplish your goal by setting up a "change-detection" DI task and then measuring the period of the change detection pulse signal with a counter.  I know this would work on the 5V DIO versions of the M-series, but I'm not so familiar with your particular board.
-Kevin P.

Similar Messages

  • Two edge seperation counter

    Hi,
    I'm struggling to use the counter on a USB 6251 to count edges - can anyone advise?
    I need to count edges on the source input between aux and gate inputs, using Two-Signal Edge Seperation Measurement as described on page 7-18 of the M series manual (April 06 371022F-01 release of this document). The device should be capable of this, it was sold to me specifically to perform this task.
    My problem is that I can get seconds or ticks between edges on the Aux and Gate signals (on PFI 10 and 9 for counter 0), but not a count from the source input.
    I have verified both in MAX and my own code that the source input works - level changes can be detected there.
    Is there a setting I have missed that forces the device to read from the Source input (PFI8 for counter 0), instead of using it's own clock?
    See attachment for code.
    Bandit
    Attachments:
    Test Harness - Test counter.vi ‏23 KB

    Hi Jon, thanks for the reply.
    I'm measuring dynamic wear on a rotating drive nut. The nut is driven up and down a fixed threaded rod. Start trigger (edge one) is from a fixed position the nut passes. Pulses are counted from regular spaced lines around the nut. An index mark against one of these lines provides the stop trigger (edge 2). As the nut wears, the pulse count between edges will change and so wear in the thread can be measured. For this application a time isn't what I need - it's the fraction of a turn the nut makes between the start and stop trigger that I need to measure.
    The USB 6251 was chosen for this task in conjunction with my local NI field engineer. We selected it after reading the M series manual section on Two-Edge Seperation, which describes measuring the seperation of 2 signals either in time, or as a count of source events (as per my original, not very detailed post). I have posted after spending a day trawling help files, product manual, vi libraries, user forum and knowledge base.
    Two edge measurement should work from rising or falling edge of aux to rising or falling edge of gate (and it does). You get to choose rising or falling edge for each with the DAQmx Create Channel.vi in it's (CI Two Edge Seperation) variation.
    The only problem I have is getting a timing input from the source connection.
    I will check the DAQmx Count Edges task as you suggest, though at the moment I don't know how I use both start and stop triggers.
    Watch this space for an update, or post any further info you come up with.
    Regards,
    Bandit. 

  • Windows 7 - Pci-to-Pci Bridge (Error: Code 10) - PCI Video Card

    Before I state my issues I will list what I'm running and what I'm trying to accomplish.
    I'm running Windows 7 Enterprise 64-bit edition, not the Beta or RC. I have 3 video cards in my possession (listed below).
    - (PCIe) Evga GTX260
    - (PCI) Evga 9400GT
    - (PCI) Evga Fx5500
    Out of those 3 cards I only use the GTX260 and the 9400GT. I had to 'retire' the Fx5500 because the latest WHQL (certified) drivers only provide support as far down as the "6 series" Nvidia cards. Unfortunately the Fx5500 is a "5 series" and falls below that line. I have already tried to use the GTX260 and Fx5500 in previous versions of Windows (XP and Vista), but there is no way to download and install two separate drivers for two of the same make of video card - you'll get nothing but errors. There is the option of going to a place like guru3d.com and downloading a custom supported driver that covers both the GTX260 and Fx5500, but the drivers are not certified and lack support. Therefore, I purchased and now use the 9400GT which is covered under the drivers for the GTX260 and eliminates the need for messing around with custom drivers. Also, the 9400GT has a better graphics processor and more memory than the Fx5500, so it was time to upgrade anyway.
    Now that you have some background info here is my issue Whenever I install the 9400GT I get a second 'pci-to-pci bridge' entry (the other entry has no errors) that shows up under 'System Devices' in the Device Manager. The second pci-to-pci bridge entry has a yellow triangle with an exclamation mark on it that refers to a problem. When you check the properties of this device it more or less says that Windows has detected a problem (Error Code 10). The GTX260 still works and even shows up under the 'Display Adapters' as a GTX260, but no entry for the 9400GT exists. I have tried the 9400GT in both PCI slots and each time it does the same thing. If I pull out the GTX260 and ONLY run the 9400GT, I still get the pci-to-pci bridge issue, BUT I do get a picture and can boot into Windows 7 without a hitch. When I do this there is still nothing listed under the 'Display Adapters' as a 9400GT or even a VGA compatible device.
    After messing around with this for 10 hours (yes, I said 10 hours) I decided to dig out my retired PCI video card (the Fx5500). When I installed this card I had no 2nd pci-to-pci bridge entry appear under 'System Devices', and the one that was listed had no yellow triangle or error codes. I then checked under 'Display Adapters' and Windows 7 had recognized it as a VGA compatible device and was asking for drivers.
    I have now concluded that there is definitely no issue with the motherboard or any of my hardware (including video cards). At first EVGA Support and I had suspected that the motherboard may be bad because of all of the pre-diagnostic steps I had taken during my 10 hour ordeal. I'm not going to list everything I did because it would literally take 3 hours to type it all in. Just believe me when I say that I have tried most things including but not limited to the latest bios updates (flashed 4 times and completely reset to ensure accuracy), custom IRQ management, entire OS re-installation X2, multiple/latest chipset drivers installed, multiple/latest video drivers installed, memtest testing, complete hardware teardown and re-build (adding one device at a time), and MUCH more. The only thing I did not try was installing a different OS other than Windows 7 64-bit to see if I could replicate the issue. This is a waste of time though because lets say that I install Windows XP Pro and the 9400GT doesn't have this issue... Well, that's great, but who gives a damn about XP Pro when I have been using it for the last 9 years and when I have a full version of Windows 7 that I want to use? I'm certainly not going to run XP Pro over Windows 7 just to use this PCI video card. Second, if I install XP Pro and it still gives me the same pci-to-pci bridge error then again, I've only wasted more time because if its not going to work in either OS then Im sure as hell not going to leave XP Pro installed when I can use Windows 7.
    Thanks,
    piyush

    Maybe stupid question now but has your posting anything to do with Toshiba and Toshiba notebooks?

  • How to modify the VB examples in ni-scope to sample data simultaneously from two channels in PCI 5922?

     Dear all:
    I want to write VB programs to sample data simultaneously from two channels in PCI 5922. The niscope driver has some example VB programs to sample data from one channel, for example, the "save to file ", the program works well to sample the data from one channel.  When I modify it to sample data simultaneously from two channels, I always get error so I seek your help on how to write the program to sample two channels simulatenously. Thanks.  I attached the sample program here and what I tried to modify is the "channel name" and "waveform()"
    Regards
    Andy
    Attachments:
    savetofile.doc ‏42 KB

    Hi Bajaf, regarding the FFT of the four channels, the next link might be what your looking for:
    http://digital.ni.com/public.nsf/allkb/862567530005f09c8625671b00739970
    Respect the phase issue how are you doing the acquisition of the signals, are you doing two independent acquisitions? if you are controlling them as independent acquisitions try to synchronize them with triggers and the clock.
    How much are they out of phase?
    By the way we know have forums in Spanish
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.

    In the DAQmx 9.4 Readme the following is stated:
    Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.
    Could anyone elaborate on this? I am particularly interested in knowing under what circumstances this problem arises for the 6602 PCI devices.
    How should I understand 'NI 660x and NI 6624 on counters 0 and 1'. Is it only a problem on counter 0 and 1 for the 660x or does this only apply for the 6624 devices.
    /mola 

    Are there any NI Product Support Engineers out there who has an answer to this question and who are willing to share it with me?

  • Error 200140 and 200278 in Finite Retriggerable Encoder Triggered Sampling

    Hello,
    I have been using a rotary encoder to trigger a retriggerable sampling task. The encoder will give a pulse once per revolution and this will cause Labview to generate a finite pulse train which will be used to sample an analogue channel. The program will also return the pulse width of the encoder signal once per rev.
    A problem arises if the encoder is run at speed, I receive error 200140. But if I run the program at a lower speed I eventually receive error 200278.
    I am not sure why this is occuring as I am sampling continuously.
    Thanks,
    Ingram
    Attachments:
    Retriggerable_Finite_AI.vi ‏55 KB

    Hi Ingram,
    Thanks for your response regarding this issue. 
    Just to clarify, you are using the PCI 6250 to measure pulses from an encoder which is generating one pulse per revolution and turning at 1000 rpm and you are sampling this at 50kHz.
    You are then taking these pulses and using them to trigger an input on the PCI 6220 which then reads the temperature. Does this mean you are taking 1000 temperature reading per minute?
    Without seeing how you are implementing this in your code it is very hard for me to tell if the crash is as a result of this. Just to confirm, are you still getting the same error message?
    Both the cards you are using don’t have simultaneous sampling; this means that the sampling speed is shared between your tasks.
    If you believe the issue is with your code then please do attach this to your next post.
    Many thanks,
    Aaron. E
    Applications Engineer Team Lead
    National Instruments
    ni.com/support

  • Product: BusinessObjects Edge Series 3.0 -- Error 2902. Operation ixfAssemb

    Good Afternoon.
    I want to upgrade XIR3 to XIR3.1 for enabling IIS+SSO with Active Directory.
    But when I want to upgrade my system, I have the Following error:
    Product: BusinessObjects Edge Series 3.0 -- Error 2902. Operation ixfAssemblyCopy called out of sequence.
    Windows Server 2003 SP2 (Fully Patched)
    BusinessObjects Edge Standard XI 3.0 Windows (working)
    Patch I want to Install: 51036069.exe ,BusinessObjects Enterprise XI 3.1 FixPack 1.1 - WIN - INTL
    Thanks in advance for your help

    Hi All,
    Please clarify my following doubt,
    We are migrating from BO 6.5 to BO XI 3.1 intergrating with our application.
    I want to use the COM XI 3.1 SDK for the Desktop Intelligence. I did some code changes in the previous 6.5 SDK which we already used.
    Say, I changed the LoginAs() method to Logon() in the C++ file.When I tried to create the .dll file using Visual Studio 6.0, I got the following error,
    'Logon' is not the member of Application class.
    From this message, I understood that, still Application class of BO 6.5 was used and not BO xi and some libraries were also missing.
    Please correct me, if my understanding is wrong.
    Where can I get the BO xi 3.1 com SDK for DESKI? When searched in SAP portal, I get only the API reference and Developer guides.
    Thanks.

  • I have two faults! 1, an error comes up in Ps CC 2014 "could not apply the saved panel configuration, restring to default and my tools have disappeared completely and anything ive tried I cannot get them back not even the drop down menu in 'window' helps

    I have two faults! 1, an error comes up in Ps CC 2014 "could not apply the saved panel configuration, restring to default and my tools have disappeared completely and anything ive tried I cannot get them back not even the drop down menu in 'window' helps at all. And 2, Lr everytime I load it up it gives me the option to retry or switch to and it takes a while for me to even get anywhere with it I think it has something to do with the catalogs? I've been using these programs for a few years now on a Mac...no problem but when I use a PC when I'm away coz it's the (only) comp available these happen PC's are so useless! Please can anyone help??...

    I can give a few suggestions on Photoshop CC 2014, but Lightroom is a separate forum and you should ask Lr questions there.
    First close Photoshop.
    Then start Photoshop by double-clicking on it's icon and very quickly after that, hold down the ctrl-alt-shift keys until you see the reset dialog. answer "Yes" to delete settings, and let Photoshop continue to load.
    It's tricky to do and may take a few tries, but at least it should reset Photoshop CC 2014 to defaults.
    Gene

  • I have been paying for two edge agreements for the past 3-4 months AND i have not gotten a reimbursment for anything...

      10/11/2013                      
    Debit Card Transaction
    VERIZON WRLS 08253-01 800-9220204 CA         10/09
    $92.30 
    On October 11th I started an EDGE agreement for the NOTE 3. I make a $92.30 payment over the phone (which is listed above). The lady said it would arrive two days after the phone comes out. It didn't show up two days after it came out and my little Droid X went dead on me. I called customer service and asked if the phone has been shipped yet. They said it has not. I asked if I could pick it up in the store instead. They said yes. They said they would cancel the shipment so I can pick it up in the store. I end up going to the store at Torrance Crossroads and I was just about to get the phone. Then sales rep was trying to force me into buying the case and charger package that was a deal with the phone for $100.I said no and he got hurt and quiet over it. 5 minutes later he comes up to me saying the edge agreement is not cancelled and they can not give me the phone. I asked if there is anything he can do or call customer service and verify because customer service told me it could be done. He said no and walked away.
    I call customer service and they say that they stopped the order and told me to go back to the store and try again. I did not wanna see the sales rep at Torrance Crossroads so I go to another Verizon store on hawthorne blvd in Torrance. I try the same process and the same thing happens. I tell them to call customer service and verify what is going on. I wait for 2 hours while they talk to customer service and the financial department. They tell me they will start another edge agreement on my girlfriends line and give me the note 3 so I can use it on my line. They said they waved the fee through some promotion since I went through a lot of trouble getting the phone and I should be getting a check in the mail for the $92.30 I paid on 10/11/13.
    Ever since then I have been paying for two edge agreements at $29.16 a piece. I have also been paying an extra $8 for insurance on a note 3 that I do not have. I have not gotten reimbursed the $92.30 I paid on 10/11/13. I have been calling customer service since December and have not gotten any where. Today was the last straw when the guy put me on hold and I ended up getting transferred to the sales department... What should I do? Is there anyone that can actually help my situation out. I already suspended my line and will do so for the next 5 months until this is fixed.

    @Dakotaep
    I am so sorry to hear of your experience with purchasing your new Samsung Galaxy Note 3!  This definitely should have been resolved in your first call to us.  I would be glad to review your account and ensure the Edge Agreement is corrected.  Please accept my "Follow" request and send me a direct message so I can further assist.  Thanks!
    AnthonyTa_VZW
    Follow us on Twitter VZWSupport on Twitter.

  • Tecra M9 - PCI Express Error at start-up

    Hello Everybody ..
    I own a Toshiba Tecra M9 (PTM91E-04R03TEN)
    http://www.toshiba.ie/innovation/jsp/supportMyProduct.do?service=IE#tab0;
    On switching on,- Its Showing the Toshiba splach screen and then "PCI Express error." on a black screen
    I can't get beyond this Black Screen
    and I can't get into BIOS ??..
    One time it did manage to boot up fully, I left it running for a while as I save information from the HDD. but then the problem started again .
    I believe this is a problem with the nvidia GPU ( Fatigue cracking on the BGA )
    I have the Laptop stripted down .. and have purchased ArctiClean , Thermal Pad, & Arctic Silver for the "repair"
    Should I have somebody scan the hardware and to find the troublemaker ? ..OR.. should I just reflow the GPU .
    I'm technically minded .. but not a PC / Laptop technican :(..
    any Instruction on how to proceed would be greatfully received ..
    Should i just " bung it in the oven" and see how it goes ? :) :) .
    Regards,
    Peter

    Hi
    I found and read your other post regarding this issue and in my opinion the PCI Express error is related to an PCI device (i.e miniPCI module like WLan / Bluetooth, etc ) connected to the motherboard.
    Of course I cannot say for sure that this issue isnt related to a GPU malfunction.
    Usually such details can be provided only by an service engineer who checked the notebooks hardware.
    Generally I dont recommend to disassemble the notebook. Its very tricky to perform such procedure and of course there is always a risk of part damage doing such procedure without any instructions.

  • Solaris 10 on Sun Ultra 40 --PCI system error on /bus/device/function 0048h

    Everytime I boot to Solaris 10 (08/07) I get the following message at the top of my screen:
    PCI system error on /bus/device/function 0048h
    The system boots up successfully, but I find this error to be particularly annoying. I have no third-party cards plugged into any PCI slot.
    Why am I getting this error. Is the BIOS just giving me a bogus error?
    Any help would be appreciated.
    Thanks.
    Robert

    Hello,
    I even got the same Problem with an Ultra 40. After powering off and on the system during the last 3 days, now i got an error mesage, "CPU3 can not be started"
    cleared the CMOS and now i am back on "PCI System Error on Bus/Device/Function 0048h" the system is running with the latest 1.7 Bios update.
    First of all I tried to flash the system back to an lower version but the flashsoftware seems not to support this operation have to make own boot media with the flashprogramme and flash by forced the 1.0 or 1.2 version.
    regards
    Monchichi

  • Why I can't connect two edge to origin ?

    Hi,
    I have two edge server and I config Vhost.xml as same but I
    can request streaming one edge.
    :::This my config
    <RouteEntry>*:* ; 192.168.1.10:1935</RouteEntry>
    -> Edge#1 = 192.168.1.11
    -> Edge#2 = 192.168.1.12
    -> Origin = 192.168.1.10
    If I start edge#1 before edge#2 I can request stream from
    edge#1 but edge#2 it not work.
    If I start edge#2 before edge#1 I can request stream from
    edge#2 but edge#1 it not work.
    I try to check about max connection for edge server in
    vhost.xml at origin server but config is
    <MaxEdgeConnections>-1</MaxEdgeConnections>
    I don't know why about this ploblem.
    Thanks.

    Please help me. I try to set others way but it same
    problem.

  • Adobe XI Pro trial verison, when compared two pdf files it gives error  "Expected a Name Object"..Can some one say how to fix this?

    Installed Adobe XI Pro trial verison, when compared two pdf files it gives error  "Expected a Name Object"..Can some one say how to fix this?

    Installed Adobe XI Pro trial verison, when compared two pdf files it gives error  "Expected a Name Object"..Can some one say how to fix this?

  • Two edge separation only on first 2 channels?

    Hello,
    I have encountered a strange behaviour of the NI6602 Counter/Timer.
    When I use the C# Meas2EdgeSeparation example as provided by NI, I am only able to have correct time measurement on channels 1 and 2. For the other remaining 6 channels the time will always be measured immediately when I only have a start signal, the stop signal is not required. This results in a measurement of 1.25 e-8 s, being the minimum value of this counter. It seems that the start signal is also seen as stop signal, but Two Edge Separation should not have this.
    I have tried:
    - using the wires of the other channels on channel 1 or 2: no problem
    - disconnecting all other wires apart from the start signal for a channel: still a measurement of time, stop signal not necessary.
    I have no idea what to do next, channels 1 and 2 are OK, which is bugging me the most.
    Any suggestions are more than appreciated!
    Best regards,
    Rob

    One simple idea is to parallel wire the opto signals to 2 different counters.  Let one measure the forward time and the other one measure the rebound time.
    If the edge sequence goes 1-2-2-1 (with two discrete pass-through events on opto2), you may need to set up the 2nd counter to use the trailing edge of the
    opto2 pulse as an "Arm Start" trigger.
    If you're using an M-series multifunction board, it may be easier to create a hardware-timed digital task and then figure out the timing with some post-processing.
    -Kevin P.

  • Edge Animate CC – Exception Error

    I recently installed the test version of Edge Animate CC – but it doesn't work.
    It starts up with a white screen and a popup showing the remaining days of the trail version, as expected.
    After assigning the button continue trail, I may create a new document but can't adjust size or anything else without the error code:
    "Edge Animate – Exception: An error occurred. Please save your work and restart Edge Animate" Any ideas? Running on mac osx 10.8.
    I already deleted the preference folder – without effect.
    Thank you for your help.
    <moved from downloading,installing,setting up - kglad>

    Hi Elaine.
    Ok, when the update will be ready?, I will try to optimize all to use just 2 symbols with gradients.
    Thanks a lot .
    P.D: Do you know if video.js works well on EA3?, or any .js script you recommend me. In video.js I can change the CSS easily but style not shown in Android/iOS tablets, only PC.

Maybe you are looking for

  • Incoming orders in COPA not working if Sales Order blocked for Credit Check

    Hi all, We need to build a report showing all incoming sales order by entry date and/or change date (change of values or quantities later on). COPA allows to do this, but the problem is that COPA line item table is only updated if the sales order is

  • How to create a hierarchy

    Hi I have a table like this 12933     Contracting Process                     12958     Owner Scope Process       12934     Licensing and Permissions Process     13036     Construction Licence Process 12935     Technical Process                      

  • Changes in EJB when deployed in JBoss

    Hi, We Created the Enterprise Application (EJB Project and WebProject) in the JDeveloper11g preview 1. It is Sucessfully working when it deployed in OC4J application server. I want to deploy the same application in the JBoss. what are the changes i s

  • Command Pattern Issue

    Hello. I started learning about command pattern and so I tried taking the data I learned and applying it to what I have been doing. I put together an image gallery using command pattern but the images are not appearing on the stage and I can't figure

  • Open an Explorer from Java

    How i can open the default explorer from Java and redirect it to an especific URL?