DAQMx task does not cleanup properly after execution

I have two VIs which are designed to write to various digital output lines (NI PCI digital output card and NI PCIe DAQ) which will control the DUT/s.
The channels are hard coded and I have one VI to write to DUT#1 and another to write to DUT#2.
Each VI creates a task, starts it, writes to the output lines(twice) then stops and clears the task.
When I run them in LabVIEW....in any order/combination everything behaves as expected.
When I run it in Teststand, the first iteration of the sequence 'PASSES' but anything afterwards 'FAILS' the first time it is called.  
Error Msg:
DAQmx Create task.vi2
Task Name: DIG_OUT_FPP_2_1B
Task name specified conflicts with an existing task name.
I have skipped all other steps in the sequence other than the VIs (attached), but the error still occurs.
Somehow, Teststand is not correctly clearing the tasks.
Any advice would be muchly appreciated. Thanks!!!
Solved!
Go to Solution.
Attachments:
FPP_2_SWITCH_GPIO.vi ‏50 KB
FPP_1_SWITCH_GPIO.vi ‏50 KB

Hi,
It sounds like the device may need to be reset. I have attached some information about this below.
http://digital.ni.com/public.nsf/allkb/124D580AE300335E86256FDD006CE798
I hope this helps!
R. Brill
Applications Engineer
National Instruments

Similar Messages

  • My Iphoto does not work properly, after downloading Mavericks.  How can I fix it ?  loading Mavericks

    My Iphoto does not work properly after downloading Maverick. How can I fix it ?

    With the amount of information you've provided it's impossible to offer a potential solution.  We can't see your computer so we need to know the details of your problem and setup, i.e.:
    what version of iPhoto are you using?
    what system version are you running?
    what do you mean by not working properly? Explain in detail.
    what fixes have you tried?
    where is your library located?
    did you apply any updates or upgrades just prior to the problem occurring?
    are you running a "managed" or "referenced" library?
    what type of Mac?
    how much free space on your boot drive?
    OT

  • IOS 7.1.2 Clock does not move properly after screen blocking

    Please help! Clock on my iphone 5 does not work properly. It does not move or stays behind, every time I am blocking the screen. How can I fix it

    Hello r-engineer,
    Given the iPhone is not getting past the Terms and Conditions prompt I'm wondering if it is having issues connecting to the update servers.
    As suggested in this article, try restarting the iPhone, try a different network, then try with iTunes.
    Resolve issues with an over-the-air iOS update - Apple Support
    Take care,
    Nubz

  • Firefox 6 on Windows XP SP3 does not close properly after checking if plugins are up to date.

    After doing Tools > Add-ons > Plugins > Check if plugins are up to date, Firefox process will not exit after closing Firefox.
    I can close the window, but Firefox process does not exit. New window does open if I click Firefox icon to launch it. After reboot Firefox complains that some tabs could not be opened, as if it had crashed because of reboot.

    i deleted the rdf and now the first window only (and any tabs in it) are maximised. i found this in the rdf
    <RDF:Description RDF:about="chrome://browser/content/browser.xul#main-window"
    screenX="4"
    screenY="4"
    width="1008"
    height="461"
    sizemode="Normal" />
    i tried changing normal to maximised; no effect. either i need also to change the numbers (to match a maximised window) or ff ignores this. i want to be able to open different sites in different windows, and not have to maximise them manually. ff never used to be broken, why break this? what possible security flaw was fixed by screwing up ff to never open maximised unless u hack it or delete certain config files?

  • Ipad2, safari does not work properly after ios6 update. How do I fix it?

    I need help in fixing safari problems after ios6

    With the amount of information you've provided it's impossible to offer a potential solution.  We can't see your computer so we need to know the details of your problem and setup, i.e.:
    what version of iPhoto are you using?
    what system version are you running?
    what do you mean by not working properly? Explain in detail.
    what fixes have you tried?
    where is your library located?
    did you apply any updates or upgrades just prior to the problem occurring?
    are you running a "managed" or "referenced" library?
    what type of Mac?
    how much free space on your boot drive?
    OT

  • Finder does not run properly after starting up [Mountain Lion]

    I've installed MountainLion from Snow Leopard 10.6.8
    My Mac is Macbook7,1 (Macbook White) Intel Core 2 Duo
    When the installation finish, it seems like Finder does not run. I have to click on the Finder icon on the Dock to make it run.
    And then I got some of problem after that
    1. When I Click "About This Mac", nothings happen.
    2. When I Click "Restart...", "Shutdown..." or "Sleep", nothings happen. So, I have to Shutdown or Restart my Macbook from "Login Window..." only.
    3. Some of my settings in "System Preferences" do not be saved. Such as Trackpad settings (I can't "Tap to Click" in every time I start up my Macbook, I have to use physical click instead.) and Spotlight Hotkey settings (When I switch the Language, the Spotlight is popping up.)
    I'm not sure what is the cause of these problem.
    Could anyone help me please.
    Thank You.

    I forgot to mention (and add a new level of strangeness) that Mail is retreiving all of my messages from my personal (AT&T) account without issue.
    And I just discovered an even bigger problem: all of my emails from my Sent and other folders from my work account are completely gone!
    I may have no choice but to revert to my Lion system as of yesteday, before I installed ML.

  • HT1414 Linksys webcam does not view properly after upgrading to ios6

    I upgraded my iPad 2 and iPhone 4 to the new ios 6. Now when I go to view my linksys web cams they do not view properly. I see the camera view for a few second, but then it goes blank.  I have another iPad 2 which I did not upgrade and am still able to view with the old iOS. Seems like the new iOS 6 did something, but not sure why it will not work with the new iOS.
    I access the site through the web browser.

    Same problem. I two nights ago I upgraded to IOS6 on my iPad2 and can no longer call up my LinkSys cams in Safari. My iPod Touch 4 is still on IOS5 and no problem viewing cams in Safari.
    I am still in Lion on my iMac but last month upgraded to Safari 6. I then lost the ability to view my cams in Safari. I went back to Safari 5.1.7 and then no more problems.
    Obviously this is a Safari error. Until this is fixed, I will not upgrade to Mountain Lion.
    I spoke to Apple last night and the tech said he will contact engineering. He took detailed notes so let's hope for the best.
    If you need to view your cams on your devices, investigate iCam by SKJM or LiveCams Pro by Eggman Technologies. Both apps do way more than just viewing your cams. I have been using iCam for about a year for security reasons. Your cams can be set up to record on motion where images will be stored on your devices AND Dropbox.
    iCam, however, is slightly difficult to set up (and sometimes maddening) but lots of info on their site as well as direct response to any problem by email. Some idiosyncrasies but hey it's only $5 and does provide security when you leave your home. Not to mention all your cams on one page if all you want to do is look at them.

  • DAQmx task does not start on RT target

    I cannot programmically start a DAQmx task on an RT target.  The PXI-8140RT controller hangs on either the DAQmx Start Task.vi, DAQmx Read.vi, or the DAQmx Create Timing Source.vi, depending on the level of complexity I try to use.  Any suggestions on what would cause this?
    The vi running on the target is based upon the wizard created target-multi rate-variables-fileIO.vi.  I cannot stop the vi once it hangs; I can only close it.  I have to restart the controller to reestablish communication.    I have tried DAQmx tasks created using MAX, created programmically, and created from a front panel task control.  The tasks test ok using the MAX or the DAQ Assistant.  For now I am trying to measure one RTD channel. 
    The RT system consists of the PXI-8140RT,  a PXI-6259 M-series controlling a SCXI chassis, and the SCXI-1102B and SCXI-1581 pair capable of measuring 32 RTD's.  There are two other modules in the SCXI chassis which aren't being used yet; a SCXI-1162HV and SCXI-1163-R.  The target and host are running LV Real-Time 8.01 and NI-VISA 3.5.  The host has NI-DAQmx 8.0.1f while the target has V8.0.0, apparently the lastest available.

    The VI didn't generate an error message.  Nor was there a message in the RT error log.  I guess it froze before an error could be generated.  I used the DAQ Assistant Express vi in a totally new project.  I have since converted this to code and added features to make it more like my original project.  The new project is working.  I suspect something went wrong with the original project.  I've tried to edit the original project to more closely match the new one and it still dies.  Guess it's time to put it to bed.

  • NI-DAQmx 8.8 does not work properly after upgrade to LabVIEW 8.6

    Hi,
    I just upgraded to LabView 8.6 from version 7.1 and found out that the NI-DAQmx 8.8 drivers do not install correctly, since there is not Measurement I/O tab in the Functions palette (see attached document). The curious thing is that I can see all my NI-DAQmx devices in the MAX, and they all test correctly, i.e., they are working correctly. The sales representative for my area recommended me to uninstall , and reinstall LV8.6 and then reinstall the NI-DAQmx 8.8 drivers, but it did not work. I still do not see the Measurement I/O functions and my application says that it "cannot compile" the NI-DAQmx vi's. Thanks in advance for your help.
    Peter
    PS. Someone reported a similar problem back in 2003, but the final solution was not posted. Thanks again.
    Attachments:
    LV8.6.doc ‏116 KB

    Dear Mallori,
    Thanks for your help. You are right, I uninstalled and reinstalled LabVIEW 8.6 (update from LabVIEW 7.1) and reinstalled DAQmx 8.8. I still continue to have some problem that seem (to me) beyond compatibility issues. Here are the answers to your questions:
    1.  Before you reinstalled DAQmx 8.8, did you
    uninstall it? If not, then I  believe that the installer would see the
    driver already present and not actually make any changes.
    REPLY: No, I did not uninstall DAQmx 8.8. What do you recommend? Should I uninstall BOTH LabVIEW 8.6 and DAQmx 8.8 and then reinstall everything again? 
    2.  When you say that the VIs are not responsive,
    could you describe this a bit better? Perhaps post one of the error
    messages about compiling that you mentioned in your first post?
    REPLY: I am having a lots of "This SubVI is not executable" error messages in many of the library VI's not even mine. See the attached file.
    3.  If you open the NI Example Finder (Help»Find
    Examples) and the expand Hardware Input and Output»DAQmx»Analog
    Measurements»Voltage, are you able to run one of the example programs
    and see the correct values that you see in the Measurement and
    Automation Explorer Test Panels?
    REPLY:  I tried to runa couple of the examples for continuous voltage acquisition (internal clock) and both open with errors (see attachement).
    Thanks again for your help. I am looking forward to your recommendation.
    Regards,
    Peter
    Attachments:
    LV8.6-3.doc ‏43 KB

  • New Exchange Migration Does Not Work Properly After Old Exchange Services Shut Off

    Moved Exchange 2013 SP1 mailboxes, system mailboxes, public folders and OAB to new server with Exchange 2013 SP1. Followed all the suggestions here:
    https://social.technet.microsoft.com/Forums/en-US/1bdf67a1-ad0e-4e96-922f-3778d6bd8e98/move-exchange-2013-to-new-virtual-server-including-settings?forum=exchangesvrdeploy
    Problem is when we shut off the old exchange server services, no mail flows and can not reach OWA. It seems as though the servers are "coexisting". I say coexisting because all the firewall rules point to the new server, all the settings in ECA/ECP
    point to the new server, all the DNS records point to the new server. We need to be able to run exchange on the new server without the old server running. Is there something I left off?

    I would hold up on decomming the old environment until you make sure you have all the dependencies removed from it.  I have done a number of migrations to 2013 and I always shutdown the old environment for atleast a day to make sure I caught everything. 
    When you say you can't reach OWA is that internally or externally?  As for the mail flow thing, I think you might need to check your send connectors and receive connectors. These don't get created/updated
    with  Also, if you have a 3rd party hygiene solution (like a postini or mimecast) you will need to contact them and have them allow the new public IP for the Exchange 2013 environment (or setup a NAT Rule that translates old public IP to new Exchange
    Server. )
    Ok, i turned off the old server and email DOES flow to and from intranet/internet. And i can get to most OWA pages. However, there is at least one that i can not make it to. We host email here and every domain has this syntax:
    https://mail.theirdomainhere.tld
    Like i said, the external DNS records for this particular domain does reflect the public ip of our router. Our router then sends that connection to the new exchange server. 

  • Screensaver does not clear properly after sleep mode

    henever I start my iMac up from sleep mode the screensaver doesn't clear so that I can enter my password. Instead, wherever my mouse is hovering the screensaver is erased in a sort of block by block mode? Then when I hit enter after typing in my password it goes onto the desktop and everything is fine. Anyone know why??

    Where is the screen saver picture saved? If it's on an external HD that could be the  problem, move it to the internal drive in that case. This is explained in http://reviews.cnet.com/8301-13727_7-57354082-263/q-a-macfixit-answers/?tag=mnco l;txt

  • Back up does not reload properly after upgrading f...

    i took a back-up of my e 90 on memory card before upgrading firmware, now after successfully upgrading firmware when i reload back-up from memory card the phone hangs. i have alot of important contacts and lot of calander entries in back-up pls help me recover data from memory card. i have reloaded firmware and my e90 is with no data.

    nikhile90, perform a hard reset on your E90 and try restoring the backup. The procedure is, turn off the phone. Press and hold down the 3, * and Call (green) keys while power on. Releae the three buttons only after you see the language selection menu on the screen.
    If you had made a PC Suite backup, you would've had more options to recover your contacts.
    Good luck
    Cheers,
    DeepestBlue
    5800 XpressMusic (Rock Stable) | N73 Music Edition (Never Say Die) | 1108 (Old and faithful)
    If you find any post useful, click on the Green "Kudos" Button on the left to say Thank You...

  • Why Mail does not work properly after updated to Mountain Lion?

    I updated to ML two days ago and my Mail is not working.  I can read but cannot reply because there is no cursor.  Restarted a few times, no change.  Anybody has the same problem??
    Rudh

    I forgot to mention (and add a new level of strangeness) that Mail is retreiving all of my messages from my personal (AT&T) account without issue.
    And I just discovered an even bigger problem: all of my emails from my Sent and other folders from my work account are completely gone!
    I may have no choice but to revert to my Lion system as of yesteday, before I installed ML.

  • Iphoto does not work properly after accidental power disconnect

    I was working in iPhoto with a flash drive when the power cord became unplugged. When I plugged the cord back in, all the photos in my library vanished. I can still import from a camera/flash drive/disk but I can't put the photos in My Pictures file back in iPhoto, nor can I attach a recently imported photo to an outgoing email (using Safari).

    Hopefully your library is valid - launch iPhoto while depressing the Option (alt) key and use teh select library to point to the location of the library

  • After downloading iTones 10.5.1, the artwork matchs the song that is playing on my iMac but the artwork does not sync properly on my Apple TV. The artwork lags one cover behind. Is anyone else experiencing the same problem.

    After downloading iTones 10.5.1, the artwork matchs the song that is playing on my iMac but the artwork does not sync properly on my Apple TV. The artwork lags one cover behind. Is anyone else experiencing the same problem.

    I think it is just a bug, but it in very frustrating. I was using just now for about an hour and suddenly the correct artwork appeared for what was playing....but then all went wrong again!!
    Apple, please, please issue a patch for this. It surely cannot be too complicated to correct.

Maybe you are looking for

  • Error while creating application

    Hi, I am getting the following error while creating the application. "IHspAppAssistantACM_SaveAppAssistant() Error Unable to Create application FirstApp. Error Number: 2147024891" No other application is existing with this name. I checked the HspEven

  • Sync iDevices with new Mac?

    I have upgraded to a new iMac. The old iMac is still in service, used by another family member. I used Setup Assistant to transfer my account, iTunes library, etc. to the new computer. I have an iPhone 4 and an iPad1, both running iOS 5.0.1. Both wer

  • Album Art Missing in iPhone 16Gb 3G

    When i transfer albums to my iPhone only some of the albums display album art. Every album in my iTunes library has album art, most of it I have manually attached to each album. when i use the iTunes interface to look at the music on my iPhone it dis

  • SAP XI Sizing

    Does someone know how to interpret data regarding to CPU in quicksizer? I got the following result but I can´t find any documentation explaining which CPU configuration I should use: What I need is the number of CPU´s and recommended technical config

  • Type P issue

    Hello gurus, I am dividing 0.7600 by 1000 --- the value shoud be 0.00076 The variable in which this value is calculated is type P decimal 6. Now after dividing i get a value equals 0.000008. I dont know how to go abt it. also when i changed the type