How can I use a Counter in a Card 6601 for several times in the same VI

When I try to use a Counter two times for read and for write, I get always a error (no. 50103). What should that mean.

From the menu Help-->Explain Error...
"The specified resource is reserved. The operation was completed by ignoring or overriding the specified resource."
If you are using one particular counter for both read and write operations, you'll need to clear the read task before configuring the write task and vice versa. To clear the task in traditional NI-DAQ, pass in the task id to "Counter Control.vi" with a control code of 'reset'. When using DAQmx wire the task into "DAQmx Clear Task.vi".
Do you really need to use the same counter in both a read and write mode at various times? Are the other three all tied up? Maybe I or someone else can help more if you describe the app and/or post some example code.
-Kevin P.

Similar Messages

  • How do I use a counter to measure frequency and multiple analog signals in the same VI?

    I have a PCI-6071E, an SC-2345 with multiple modules, and a PXI-8184 (with a PXI-1002 Chassis).
    My goal is to monitor pressures, flows, temperatures, and speed in one VI.
    I am using Measurement and Automation Explorer version 3.1.1.3004 to manage my channels.
    My speed is a PWM signal which I recently rewired through the counter 0 of my board.
    I was hoping to configure this to read frequency directly in measurment
    and automation, have this scale the value to RPM, and then feed it
    directly in to my labView program.
    In labView, it will not except this signal though.
    I get error -200300 from the DAQmx Start Task.vi
    Possible reasons(s):
    Invalid timing type for this channel.
    Property: SampTimingType
    You Have Requested: Sample Clock
    You Can Select: Implicit, On Demand
    After doing some research, it seems that the counter wants "Implicit"
    selected for the DAQmx Start Task.vi, but then I cannot use my other
    channels. Also, counter is included in the "Sample Clock" option
    description, so I do not understand why it is not working.
    Does anyone know how to work around this problem or a way to configure the counter so that it will work in this way?
    All my other channels are Analog.
    Thank you.

    I am working on getting just the counter working by using
    the program posted previously, and I am running into issues. Periodically I get
    the error:
    Error -200141
    occurred at DAQmx Read (Counter DBL 1Chan 1Samp).vi
    Possible reason(s):
    Data was overwritten
    before it could be read by the system.
    If Data Transfer
    Mechanism is Interrupts, try using DMA. Otherwise, divide the input signal
    before taking the measurement.
    It seems to work better if I use cascaded counters, but I need timer 0 for
    analog channels when I run this code along with the program for the other
    measurements.
    I have tried averaging, and selecting different values for the millisecond
    timer, and these did not seem to have an effect.
    I tried different DAQms configurations and "Counter DBL 1Samp" seemed
    to work the best.
    The program will work for a while and then it will give me the above error
    message.
    If I use counter 0 as a cascaded counter input, the program runs fine. If I run
    this with other analog channels, it errors out because the analog channels use
    counter 0.
    If I use counter 1 as a cascaded counter input, it seems to work better than a
    single channel, but it will still error out with the above error.
    If I use only counter 1, I get the error above even faster.
    Also, none of the
    configurations give measurements outside the While Loop.
    The only place I can add a speed dial for the front panel is within the While
    Loop.
    Is there someway to get the signal to continuously send out of the while loop?
    I thought if I could get the signal out of the while loop, I could condition it
    anyway I wanted without the program erroring out.
    Any suggestions would be much appreciated.
    Thank you.
    Attachments:
    Counter_error.jpg ‏45 KB

  • How can i use ONE server 2012 to be DC for a domain on the WAN only.. NO LAN. and NO VPN..

    I need to run an active directory that is on a WAN (Utah). a server 2012 standard will be the DC with 60Mbps internet speed both up and downstream.
    approximately 100 clients/member systems will be all over the united states. NO VPN. only via internet. I can use SSL certificate for secure ldap.
    I need this setup to use GPO for different permissions and policies instead of manually doing those on each windows 7 or 8 professional system.
    Ideas??

    Daniel,
    I think since this will be the ONLY system that will be running as a DC providing ADDS and the Direct access server, i should follow this advice from the article you sent:
    For users who never connect directly to the Contoso intranet or through a VPN, they must use the DirectAccess
    Offline Domain Join process to initially join the appropriate domain and configure DirectAccess. When this process
    is complete, the users log on normally and have the same experience as if they were directly connected to the Contoso intranet.
    Because remember, no user will ever connect directly to the subnet where the server is. so do an offline join First and then start managing.. Only thing im worried about is: they keep saying that the direct access function has significantly improved in windows
    8. hmmmmm many systems will be using windows 7 Pro 64Bit. Some windows 8.1 Pro 64bit. should i worry?

  • I have been trying to download ITunes for several times and the same error message appear when I launch ITunes ''program can't start because MSVCR.dll is missing'' any idea what I need to do to correct this?

    I have been trying to install iTunes several times, I keep receiving the same message when I open it:
    iTunes.exe - system error
    The program can't start because MSVCR80.dll is missing from your computer.Try reinstalling the program to fix this problem.
    You bet I have tried, numerous times, it keeps coming back and iTunes won't start.
    Any idea?
    Yevass.

    Hey I finally got an older vesion of itunes to work!!! 10.7  x64 for windows 7
    After uninstalling all apple products even  quicktime
    I had to delete everything from (program files, and program  files x64, program data,)
    And all downloads from apple, and I went in to search deleted  other stuff from apple, and itunes
    But definently not my itunes library and Playlist
    Down loaded 10.7 x64 for windows 7, but checked (do not start  when done)
    Then I emptied my recycling bin and restarted my  PC
    I ran geek tech tool box same as reg cure pro, also PC Tools  registry cleaner, and CC Cleaner
    Then I emptied my recycling bin and restarted my  PC
    And wallah... It finally works, and I Love the older version  anyways.
    Easier to download and transfer  music!!!!!

  • How can I use word count without it counting the words in the end notes by default?

    How can I use word count without it counting the words in the end?
    Now I have to highlight the text to get a count.

    I don't think that is possible, it does what it does.
    Peter

  • How can we use Custom MessageBox in SelectionChangedEvent of LongListSelector for Windows Phone 8

    Dear Sir/Madam,
    How can we use Custom MessageBox in SelectionChangedEvent of LongListSelector for Windows Phone 8.
    Actually my problem is that When i am using Custom  MessageBox in SelectionChangedEvent of LongListSelector,when i am click Open(Left Button) it's working fine and navigated correctly,But when i am Click the No(Right Button) then it stayed in same page
    but all that page is in stuckup i mean that page is not working and not doing any event.
    My C#.net Code
    private async void userPageLongListSelector_SelectionChanged(object sender, SelectionChangedEventArgs e)
    if (e.AddedItems.Count > 0)
    if (userPageLongListSelector.SelectedItem == null)
    return;
    if (dbTenMin == null)
    dbTenMin = new Database(ApplicationData.Current.LocalFolder, "tenMInDBSchema.db");
    await dbTenMin.OpenAsync();
    var res = (sender as LongListSelector).SelectedItem as _10Min._10MinClass.minUserPages;
    var resIndex = (sender as LongListSelector).ItemsSource.IndexOf(userPageLongListSelector.SelectedItem);
    string selectedPageName = res.userPages.ToString();
    string selectedPageDesignUser = res.pageDesignUser.ToString();
    int selectedIndex = resIndex;
    CustomMessageBox messageBox = new CustomMessageBox()
    Caption = "Message...!",
    Message = "This form need offline datalist,Please load now.",
    LeftButtonContent = "Open",
    RightButtonContent = "No"
    messageBox.Dismissed += (s1, e1) =>
    switch (e1.Result)
    case CustomMessageBoxResult.LeftButton:
    string uidAndpwd = _10MinClass._10MinStaticClass.csUidAndPwd.ToString();
    _10MinClass._10MinStaticClass.csDataListPageDetails = selectedPageDataDetailsForSchema.ToString();
    _10MinClass._10MinStaticClass.csAllDataLists = offlineDataBaseDataListNam;
    _10MinClass._10MinStaticClass.csNotCreatedSchemaNameOfDBList = notCreatedDataLists;
    userPageLongListSelector.SelectedItem = null;
    if (dbTenMin != null)
    dbTenMin.Dispose();
    dbTenMin = null;
    NavigationService.Navigate(new Uri("/10MinformDataList.xaml", UriKind.Relative));
    else
    NavigationService.Navigate(new Uri("/10MinformDataList.xaml", UriKind.Relative));
    break;
    case CustomMessageBoxResult.RightButton:
    break;
    case CustomMessageBoxResult.None:
    break;
    default:
    break;
    messageBox.Show();
    Same custom messagebox code working in Phone_BackKeyPress event i am writing the code in Right Button that e.OriginalSource.ToString(); then it is working fine.
    But It is not working in Selection Changed Event in LongListSelector control in Windows Phone 8.
    Please help me,as soon as possible.
    Thanks & Regards,
    SrinivaaS.

    What happens if you leave the implementation for LeftButton empty as well , does the page gets stuck in that case also, if you press left button?
    i.e.
    CustomMessageBox messageBox = new CustomMessageBox()
    Caption = "Message...!",
    Message = "This form need offline datalist,Please load now.",
    LeftButtonContent = "Open",
    RightButtonContent = "No"
    messageBox.Dismissed += (s1, e1) =>
    switch (e1.Result)
    case CustomMessageBoxResult.LeftButton:
    break;
    case CustomMessageBoxResult.RightButton:
    break;
    case CustomMessageBoxResult.None:
    break;
    default:
    break;
    messageBox.Show();
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • HT5622 Why can't I use my Apple ID to iTunes?  How can I use it with out credit card?

    How can I use my Apple ID in iTunes with out credit card?

    For me it's the same, I've just bought an iPad mini two weeks ago but I cannot log in with any Apple account in FaceTime.
    I enter my apple account in faceTime, then I press next the second screen and it shows "validating..." but it never gets validated.
    What's happening? This is really annoying

  • How can I use a downloaded song as an alarm on my timer? Not a ringtone, a song. It is only 30 sec. long.

    How can I use a downloaded song as an alarm on my timer? Not a ringtone, a song. It is only 30 sec. long.

    This is not particularly helpful. I've looked on 3 websites and none of them match my configuration of iTunes. I've gotten as far as creating an AAC file and that is it. Can't find the .m4s designation to change it.

  • Ethiopia doesn't figure on the countries list. How can I use Itunes store in Ethiopia?, Ethiopia doesn't figure on the countries list. How can I use Itunes store in Ethiopia?

    Ethiopia doesn't figure on the countries list. How can I use Itunes store in Ethiopia?, Ethiopia doesn't figure on the countries list. How can I use Itunes store in Ethiopia?

    If there is no iTunes Store in your Country... Then there is no iTunes Store you can use...
    iTunes Store: Which types of items can I buy in my country?

  • TS1292 how can i use my i tunes gift card if i bought it here in saudi arabia? thanks

    how can i use my i tunes gift card if i bought it here in saudi arabia? thanks

    Try Here  >  http://support.apple.com/kb/TS1292
    If no joy...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • How can I use Vibo 3G(Taiwan) SIM card to enable new Ipad internet tethering?

    How can I use Vibo 3G(Taiwan) SIM card to enable new Ipad internet tethering?

    Eric Martens1 wrote:
    What is the reason for Apple to skip this function? In fact, I feel pretty uncomfortable with this decision, it hinders me from using the iPad in a useful way. What is the reason to allow tethering on an iPhone and not on an iPad?
    We are all just your fellow users. No one here is going to be able to answer those questions for you. Bottom line is, for whatever reaons, you cannot use your iPad as a mobile hotspot. If that's the reason why you bought it, you need to either return it or sell it.
    Submit your feedback to Apple here:
    http://www.apple.com/feedback
    Many people find that it's still a useful device even without that feature.

  • I have lost all of my keynote templates now that I have upgraded to yosemite.  How can I use Keynotes and pages etc on my computer and not on the cloud.

    I have lost all of my previously created keynote templates now that I have upgraded to yosemite. How can I use Keynotes and pages etc on my computer and not on the cloud.

    Welcome to Apple Support Communities
    All iWork apps allow you to save your documents on your computer. You will be able to choose the destination when you want to save a document.
    You can also disable iCloud for some apps. To do that, go to System Preferences -> iCloud, press "Options" next to "iCloud Drive" and disable the apps you want to.
    If you have lost your old documents, you should have a backup that you made before upgrading to OS X Yosemite, so you only have to restore it.

  • How can I empty my sandbox on my ipad air for several apps?

    how can I empty my sandbox on my ipad air for several apps?

    I'm not sure what you mean by "sandbox". I presume you're talking about getting extra room on your "hard drive" (it's not a hard drive, but a flash drive, I suppose ... ).
    If so, then just go to Settings --> General --> Usage ... and you have three sections on that page ... "Battery", "Storage", "iCloud" ... look at the second section where it says "Storage" and go to "Manage Storage" ... and you can start deleting apps that you're not using or are too big for your available space.
    Later on (soon), you'll be able to clear off some photos from your flash drive on your iPad and that will help clear off some space, but that's not up and running just yet. It's the "iCloud Photo Storage" service that Apple has announced. It will be coming very soon.

  • I am new to pages and want to know how to link elements together to create one unified element that I can then duplicate several times on the same page?

    I am new to pages and want to know how to link elements together to create one unified element that I can then duplicate several times on the same page?

    I think you are talking about grouping objects.
    1. They must all be floating objects
    2. Command click on each in turn
    Menu > Arrange > Group
    Peter

  • How can I record a guitar and my voice (only voice with mic) at the same time ?, how can I record a guitar and my voice (only voice with mic) at the same time ?

    how can I record a guitar and my voice (only voice with mic) at the same time ? I have one interface with Input 1 mic, Input 2 guitar, everything is working correct, but how can I activate multi recording or something like that... thanks

    Set your inputs on your channel strips and make sure you have one set to input 1 and the other input 2.  Arm the 2 audio tracks(the "R" in the track header. They will turn red and flash), then hit the record button. 

Maybe you are looking for

  • New Nano, Old Computer

    So wife just bought a ipod nano but itunes won't recognize it, even though the computer itself does see it. Any workarounds to make itunes 9 see it and work with it? Can I reformat the nano into something that my OS (10.4.11) recognizes?

  • Intercompany Sales invoice

    We are selling one material from one company code to another company code.  Hence the accounts selected should be selected as the inter-company GL accounts.  I hope this is automatically can be done.  I know there is intercompany GL account setting i

  • Need program to read document properties

    Dear Experts, I have one requirment, I need a program that i have one document in local folder called c:/client/templete.doc i need to get that templete properties such as title ,author.And that properties should be write in to the excel sheet. Pleas

  • /etc/services clobbered in upgrade

    I've encountered this a few times and am finally sick of restoring /etc/services from backup so am posting the question: - what package could be clobbering my /etc/services file?  Every so often after an upgrade all of the local services I have added

  • I need to download FireFox 13.0 to run a internet program. Where can I download FireFox 13.0?

    I am currently running Firefox 15.0 I need to install and run version 13.0. Where can I download this?