DAQmx Error 89137 When trying to make a high frequency measurement.

I am using a PCI-6602 Timer/Counter for multiple measurements on a serial interface...
I have the clock line connected to Gate0, the enable line to Aux0 because I need to make a two-Edge seperation measurement between the two later...
But I also want to make a "Period/Frequency Measurement (High Frequency with Two Counters)" measurement...
This requires that the signal to be measured is on Source0...
I implimented the following Code:
void meas_FP_Freq(float64 *Freq0, float64 *Freq1)
TaskHandle CLK0_Freq, CLK1_Freq;
DAQmxCreateTask ("FP_CLK0_Freq", &CLK0_Freq);
DAQmxCreateTask ("FP_CLK1_Freq", &CLK1_Freq);
DAQmxConnectTerms ("/Dev3/PFI38", "/Dev3/Ctr0Source", DAQmx_Val_DoNotInvertPolarity); // Gate0 to Source0, No Error....
DAQmxConnectTerms ("/Dev3/80MHzTimebase", "/Dev3/Ctr1Source", DAQmx_Val_DoNotInvertPolarity);
DAQmxCreateCIFreqChan (CLK0_Freq, "Dev3/ctr0", "", 6000000, 6500000, DAQmx_Val_Hz, DAQmx_Val_Rising, DAQmx_Val_HighFreq2Ctr, 0.001, 4, "");  // High freq measurement
DAQmxCreateCIFreqChan (CLK1_Freq, "Dev3/ctr1", "", 6000000, 6500000, DAQmx_Val_Hz, DAQmx_Val_Rising, DAQmx_Val_LowFreq1Ctr, 0.001, 4, "");
DAQmxReadCounterScalarF64 (CLK0_Freq, 3.0, Freq0, 0); // Run-Time Error -89137 Specified Route cannot be satisfied..etc
DAQmxReadCounterScalarF64 (CLK1_Freq, 3.0, Freq1, 0);
DAQmxDisconnectTerms ("/Dev3/80MHzTimebase", "/Dev3/Ctr0Source");
DAQmxDisconnectTerms ("/Dev3/80MHzTimebase", "/Dev3/Ctr1Source");
DAQmxClearTask (CLK0_Freq);
DAQmxClearTask (CLK1_Freq);
The "Low Frequency" method works fine, but the resolution is too low...
Every help file I've read indicates I can use different PFI inputs for measurements... What am I missing?

Hi,
The reason that you are getting the error is the PFI lines are being reserved twice. You don't need the DAQmx Connect Terms functions in your code because the DAQmx driver does this for you automatically. If you still receive an error after doing this, try to changing the low frequency counter number.  I hope this helps you with your application.
Regards,
Hal L.

Similar Messages

  • TS1424 I have received an error message when trying to make a purchase - 5002

    receiving repeated error message when trying to purchase 5002

    AppTrial1 where are you seeing this error exactly?  For information on how to install the Adobe Creative applications included with the Creative Cloud please see Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.

  • Error messages when trying to make selection

    Hi, I am new at Photoshop, I use CS6, and today I followed a tutorial on how to make a robot on a picture and at first everything went ok but when I was almost done and tried to make a selection with the lasso tool I all of a sudden got an error message that says "Warning: No pixels are more than 50% selected. The selection edges will not be visible." And when I press OK my selection is not there. I had no problem when I started the project but now it won't work.
    And now I get this error messages everytime I try to make a selection and it doesn't matter if I use the pen, marque or whatever.
    Anyone here who knows what I'm doing wrong?
    Best regards

    Basically, what that warning message is telling you is that the "marching ants," will not be fully representative of your Selection.
    Now, if you want to make a Selection, that includes 100% of the pixels, check the Lasso Options, to make sure that you do not have something like a large Feather, with a small Selection.
    Good luck,
    Hunt

  • Scanner failure error message when trying to make a copy

    I have a continual scanner failure message on m y 750 xi when I try to make a copy.  Unit prints OK from my computer, but refuses to just make a simple copy.  I have tried shutting of and resetting and unplugging and all that stuff many times.  The light on the scanner does come on.  Thanks.

    I too am having this problem and have had, for about a week now.
    I've found that by logging off itunes (if I can), closing it down, and then restarting it, sometimes allows it to work for one transaction (say downloading an updated app). After that it's back to the same error.
    Really annoying.

  • Keep getting error -45054 when trying to make a purchase from iTunes.

    Whenever I try to make a purchase from iTunes, I get a -45054 error.  On the Mac, this error is tied to disk access rights; my problem is not the same.  Any ideas?  Thanks

    lydia
    we need much more info
    Quoted from  Apple's "How to write a good question"
       To help other members answer your question, give as many details as you can.
    Include your product name and specs such as processor speed, memory, and storage capacity. Please do not include your Serial Number, IMEI, MEID, or other personal information.
    Provide the version numbers of your operating system and relevant applications, for example "iOS 6.0.3" or "iPhoto 9.1.2".
    Describe the problem, and include any details about what seems to cause it.
    List any troubleshooting steps you've already tried, or temporary fixes you've discovered.
    ÇÇÇ

  • Error reading when trying to make in app purchase

    I have the "isingworship" app and it will not let me purchase songs within the app... I made sure my in app purchase is turned on. 2 error messages come up when I try to purchase a song 1. We cannot connect to the iTunes store, and 2. please contact apple.come/support. The only reason I purchased and Ipad was to use this this app at our church and now it wont even work. Someone please help!

    Have you contacted iTunes Support ? If not then you can do so via this link and ask them why the message is appearing (we are fellow users here on these forums, we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Error message when trying to make a purchase in iTunes store

    I can connect to iTunes store fine, browse around etc but as soon as I try to do something eg make a purchase, download an app, log in etc I get an error message saying ;
    "We could not complete your iTunes store request. An unknown error occurred (-9808).
    There was an error in the iTunes store. Please try again later"
    Been like this for days now, no change to PC setup so no idea what to do....
    Any advice?

    I too am having this problem and have had, for about a week now.
    I've found that by logging off itunes (if I can), closing it down, and then restarting it, sometimes allows it to work for one transaction (say downloading an updated app). After that it's back to the same error.
    Really annoying.

  • Error 1320 when trying to make a caption visible in LV 71

    Hi,
    If you try to make a caption visible of a new control via a property node you will get error 1320
    (LabVIEW: In edit mode, LabVIEW cannot return a property for a control part that you have not yet created)
    WHY?? In LV 7 it does work, and in 7.1 it doesn't�.
    Kind regards,

    I discovered this problem not too long ago.
    Follow the discussion here for the whole story.
    The work around is to first manually make the Caption visible by right clicking and navigate to Visible Items >>Caption. It seems in 7.1, the Caption is not created until you first turn it on manually.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • I keep getting input/output error put when trying to make a complet copy of my hard drive, which also has vista using fusion.i have did the permissions and repaired, disk verify.

    error input/output

    Yes. Formatted correctly. It' s new ext HD and I made a the first back up on it a few days ago using time machine while my computer was in safe mode. When I was able to restart my computer normally I quickly set up a time machine backup to my larger 5 TB ext drive. Also new and formatted for my mac. I was in a rush to get it going before I left for work so maybe I did something wrong. IDK. I can't remember but it did ask me about switching drives vs setting up. Although I don't see why the computer wouldn't see the drive.
    I did try another firewire cable and no change. Checked connections again.  The HD turns on and the blue light comes on  (it's a La Cie d2 quadra deskdrive)
    Is the SMC reset where you detach devices and restart?  My printer, keyboard and mouse are all wireless and right now I don't have anything else connected.
    I'll try another PRAM reset too.
    *  Question:
    When I connect the 3 TB drive it starts up but I don't see it on my desktop, finder sidebar or in disk utility. If a hard drive starts up but doesn't show up on your computer how do you safely shut it down before disconnecting?  I've been clicking on the desktop and then pressing the eject button on my keyboard just in case.

  • Canon HF G10 Camcorder - "Cannot Record" error message when trying to make new recordings

    Hi All, 
    I purchased Canon HF G10 camcorder 6 months ago and suddenly I am getting a "Cannot Record" error message each time I press the record button - it simply stopped working and I am puzzled about this - has anyone else faced this problem? if yes, were you able to resolve it? Any insights or torubleshooting guidance will be greatly appreciated. 
    Best regards,
    Rajiv Arora. 

    ra33,
    I am very glad to help you with this. 
    According to the specifications in the user manual, this model records to the internal memory by default in any shooting mode.  You can manually select to record to the SD cards, but only in the Manual or Cinema modes.  If you are shooting in Auto, clearing out some of the internal memory should stop the "Cannot Record" message from appearing.
    If there is anything else I can help you with, please let me know.
    This didn't answer your question or issue? Find more help at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Has anyone gotten the following error message when trying to do in-app purchases? Error purchasing from App Store, then underneith that ,Cannot connect to itunes Store (0)

    I'm getting an error message when trying to make in-app purchases.
    Error purchasing from App Store
    Cannot connect to itunes Store (0)
    I can purchase songs in itunes, but not the in-app purchase for Kingdoms at War. I've checked the parental controls and all the other obvious things in settings. Let me know if anyone knows how to correct this. Thanks.

    Here is an update and more information:  I actually have two MBP's.  One is a mid-2009 model and one is a new, mid-2012.  I transferred files from the mid-2009 to the mid-2012, but I use both computers frequently.  This problem only occurs on the mid-2009 and not on the mid-2012.  I have authorized both computers. 

  • Keep getting error message when trying to sign in to make a Genius Bar Reservation

    Keep getting error message when trying to sign in to make a Genius Bar Reservation

    Make the reservation by phone. 

  • I have received this error message when trying to send a comment to a blog : ERROR: Could not read CAPTCHA cookie. Make sure you have cookies enabled and not blocking in your web browser settings. Or another plugin is conflicting. See plugin FAQ., can any

    I have received this error message when trying to send a comment to a blog : ERROR: Could not read CAPTCHA cookie. Make sure you have cookies enabled and not blocking in your web browser settings. Or another plugin is conflicting. See plugin FAQ., can any...
    Only found one question similar and NO ANSWER to it.

    Same problem here...nothing in my settings have changed since the upgrade and I've checked my cookie settings and they allow 3rd party cookies. What's up Mozilla? I've been faithful to you for years and you let me down now?

  • HT1918 why do I keep getting error code 5002 when trying to make a purchase? Has been almost a week now!

      Why do I keep getting Error Code 5002 when trying to make a purchase from the Itunes store? I am using Vista Home edition> havent had any problems before. This has been going on for a week.

    This alert is often the result of an issue with verifying your billing.
    Quit iTunes.
    Open iTunes.
    Test the issue.
    If it persists, sign in to store.apple.com using your iTunes account
    Click on Change account information
    Modify or remove your credit card information.
    Click Continue.
    Test the issue.

  • I keep getting an error message that I have an invalid security code when trying to make purchased in itunes.  But my security code and billing info are valid.  How do I rectify this problem?

    I keep getting an error message that I have an invalid security code when trying to make purchased in itunes.  But my security code and billing info are valid.  How do I rectify this problem?

    Did you ever get an answer to this? Im having same issue now! So frustrating!

Maybe you are looking for

  • Qosmio F750 - Cannot get some functions to work after Win 8 uprgade

    I own a Qosmio F750-125, PQF75E. Since I upgraded to Win 8, utilizing Toshiba Upgrade Assistant I might add, I had some issues. Most importantly not being able to get my Toshiba Blu-ray player to install. Eventually I managed, still don't exactly how

  • Missing 0CLM_INVOICE Data Source for SAP Collections Management

    I was activating BC for SAP Collections Management for BI, and it states that exist a 0CLM_INVOICE Data source. I Look into ECC (R/3) and try to activate de datasource, but it doesn't exist. Does anyone knows what could be the problem? Best Regards J

  • NI Max automatic update of PXI soft panels?

    I have got four soft panels installed. NI Max is set to ge updtes. But it seems I'm not getting updates for the PXI Soft panels. Now and then I click the Update Service, including "Updates and Service Packs" but it seems Soft panels are not included?

  • Number of actual state of multi-state objects

    Hello, is it possible create automatic number of actual state and automatic total number of states in mulsti-state objects? Thank you for your answer. Martin

  • Trouble syncing iPod with iTunes

    Hello all, I'm having a problem with iTunes, it will not sync with my I have a 4GB iPod nano because of an unknown error. Is there anyway of solving this?