How can I get the Task information..? Remedy for error "-200089"

Hello,
I am using PCI-6229 for the application, and VB6 for application development.
We have a policy to create the tasks and associated channels using Measurement and Automation Explorer.
I want to know can I retrieve the information of the tasks those are created ..
When my VB program starts, I use DAQmxLoadTask function to start executing the task, but for this I need to know the TASKNAME. On site if the service engineer accidentally renames the task name, the program stops execution. To avoid this problem, i would like to know how can I get the information about the tasks, such as the tasks those are created, their names, type of channels used (i/ps, o/ps, Analog channels), etc.
This would help my application to execute without hard coding the task names as well as I can close the tasks if they are running before exiting the application. 
Also, while developing the application, it happens that the application crashes, and the tasks remain open and running. After I fix the error and execute the program, the application reports the error, "-200089 Task Name specified conflicts with an existing task name". To recover from this error, I need to restart the PC, which is most frustrating and time consuming. If I could know the tasks and task handles those are already created and running, I can safely delete them or continue using them.
I would appreciate if you could help me in resolving this problem.
Thank and regards,
Kunalb

 Hi Kunalb,
 To read the tasks currently configured on the system you can use this function: DAQmxGetSysTasks.  This will return an array of the tasks on the system. In that same section of the DAQmx C Reference Help they talk about obtaining the other parameters you mention.
 Another solution would be to add security to MAX such that only engineers with proper permissions could launch and/or modify the tasks. This can be done with Windows XP in the properties of a file.
 I hope these suggestions help! Have a great weekend.
 Best regards,
 MatthewW
 Applications Engineer
 National Instruments
Message Edited by Matthew W on 08-10-2007 02:13 PM
Attachments:
DAQmxTasks.JPG ‏97 KB

Similar Messages

  • How can I get the disk information in Solaris 9

    I am new to Solairs9. I use the format utility to list my partitions, but there are many unassigned partitions. I pasted the format response below:
    # format
    AVAILABLE DISK SELECTIONS:
    0. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000011c6413e10,0
    Specify disk (enter its number): 0
    format> partition
    partition> print
    Current partition table (original):
    Total disk cylinders available: 14087 + 2 (reserved cylinders)
    Part Tag Flag Cylinders Size Blocks
    0 root wm 302 - 13482 63.96GB (13181/0/0) 134129856
    1 swap wu 0 - 301 1.47GB (302/0/0) 3073152
    2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
    3 unassigned wm 0 0 (0/0/0) 0
    4 unassigned wm 0 0 (0/0/0) 0
    5 unassigned wm 0 0 (0/0/0) 0
    6 unassigned wm 0 0 (0/0/0) 0
    7 home wm 13483 - 14086 2.93GB (604/0/0) 6146304
    The part number from 3 to 6 are unassigned. What does this mean? How much space of these unassigned partitions? How can I mount these unassigned partitions to my local directories?
    Thanks.

    "+How can I get the disk information in Solaris 9+ "
    This was cross-posted to the Solaris 9 forum as well.
    http://forum.java.sun.com/thread.jspa?threadID=5223643

  • HT2589 Could you show me the full account information (account information)? How can I get the detail information that who charge me?

    Could you show me the full account information (account information)? How can I get the detail information that who charge me?

    I'm not entirely sure what you are asking, but you can view the purchase history on your account (and view your payment method) on your computer's iTunes : if you log into your account on your computer's iTunes via the Store > View Account menu option, you should then see a Purchase History section with a 'see all' link to the right of it. Click on that and you should then see a list of your purchases. On your iPad you can only see a cut-down version via this page (which also allows you to contact iTunes Support if you have a problem with a purchase) : http://reportaproblem.apple.com
    There are instructions on this page for managing and stopping auto-renewing subscriptions : http://support.apple.com/kb/HT4098
    Or do you mean something else ?

  • How can I get the AirPlay information box to stop floating around my screen while looking at photos?

    How can I get the AirPlay information box to stop floating around my screen while looking at photos?

    Thanks for answering
    Well, the CS2 was my 1st full program that now my son is using in his new Laptop...
    The CS4 Master Collection is my full program that I bought when I was in College course and now I use for my own works...
    Both came in their own serial numbers and discs ... I install both completely to each computer but at the end on the registration asked for this "Validation code" and the message says that I can't do it on-line nor by mail; so to call to this phone 1-800-833-6687 and in there have the message to come to the "support " Adobe website and do all this going around.
    Now I saw previously that page you send me... I really don't understand it ... I got CS2 installed but I just need the validation code to get rid of that 30 days message...
    Why I have to uninstall it??? Could you explain me please..

  • HT203200 how can I get the songs I paid for when I paid for a whole album and only got part of it

    Today I purchased Rick Dankos album but some songs were left out how can I get the music I paid for ?

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • How can I get the iCloud/iTunes password for my (now) deceased Father-in-Law's Imac?  I have a list of his passwords, but nothing works!

    How can I get the iCloud/iTunes password for my (now) deceased Father-in-Law's iMac?  I have a list of his passwords, but nothing works!  I know his email, but that account has been cancelled for security purposes, so we can't just request a new one.  I tried his security questions to no avail.
    Thanks

    Since that password is tied to his Apple ID, you will need to contact Apple; as far as I know, it will be a somewhat lengthy procedure and you will  need to furnish necessary paperwork (including a death certificate as far as I know). Best to either stop at an Apple store or call them to find out exactly what it is you need to do.

  • How can I get the template( word rtf )  for PO – Printed Purchase Order ?

    I want to convert the “PO - Printed Purchase Order” report from Oracle rdf format to BI Publisher. I am looking for the template but could not find in UNIX.
    As per the Oracle blog, the template is available. Please see the URL : https://blogs.oracle.com/xmlpublisher/resource/121BIPReports.pdf
    The template code is POXPRPOL_XML.rtf
    when I look at the $PO_TOP/patch/115/publisher/templates/US directory, I cannot find POXPRPOL_XML.rtf
    How can I get the template( word rtf ) for PO – Printed Purchase Order ?
    Thank you,
    Biju Varghese.

    How can I get the template( word rtf ) for PO – Printed Purchase Order ? XML Publisher Administrator -> Templates
    find by code or name
    open it and you can downloadtemplate by "download" button

  • HT201272 I downloaded an album but one of the songs is corrupted, it only plays for about 4 seconds. When I try to re-download using the iTunes Store and "Purchased", it won't give me the option to download it again. How can I get the song I PAID for!!??

    I downloaded an album but one of the songs is corrupted, it only plays for about 4 seconds. When I try to re-download using the iTunes Store and "Purchased", it won't give me the option to download it again. How can I get the song I PAID for!!??

    Depending upon what country that you are in (music can't be re-downloaded in all countries) then try deleting that track from your iTunes library and redownload it via the Purchased link under Quicklinks on the right-hand side of the iTunes store home page on your computer's iTunes.
    If you aren't in a country where you can re-download music or if it re-downloads in the same state then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : 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

  • How can i get the SMTP IP address for gmail

    Hello,
    sapian,
              I want to schedule a webi document through BI Launch Pad to users email address gmail.So while configuring the AdaptiveJobServer in CMC i need to give SMTP details such as
    Domain name:
    Host:
    Port:
    So for scheduling a webi document to a gmail user i need the above details for gmail SMTP server.Can any one suggest me how can i get the above details for gmail SMTP server.
    Thanks in advance.
    Regards,
    Kishor Kumar S

    Hi Hrishikesh,
    i have configured the 'stunnel.conf' file with the following details
    accept  =static ip address of the machine colon port number where the stunnel is installed
    connect = smtp.gmail.com:465
    and i saved the file.
    when i go to
    Start->Stunnel->service install
    it is giving error as follows
    Error binding ssmtp to (ip address and port number which i have given in stunnel.conf file 'accept')
    bind: No error (0)
    Can you suggest me the solution for the above error.
    Thanks in advance,
    Regards,
    Kishor

  • How can I get the directory.xml file for WL6.0?

    I have installed the ALBPM Enterprise WL6.01 and started it in my server.But I get the error message when I login.
    directory configuration runtime fails to initilize with
    resource:/Aqualogic/j2eewl/tomcate/webapps/../../webapps/webconsole/WEB-INF/directory.xml
    How can I get the XML file?

    aaa, ok i misunderstood your first post, i thought you are talking about unable to use the directory.xml from your application.
    Ok, well the directory.xml file that ALBPM uses is allways in /albpm6.0/j2eewl/conf/directory.xml if we are not talking about Standalone. And when you start your albpm server it picks up the directory.xml file from there. But it picks him up only when you start it...so if you made any changes to it, you have to restart the server.
    You should check the instalation folder of your ALBPM.
    If you want to change the user/pass in the directory.xml change it in that folder and restart ALBPM.
    If you don't know how to enter new password you have to use this sintax:
    <encrypt>newPassword</encrypt>
    Because if you open the xml file you have only <encrypted> tags, and you can't change those.
    I don't know what the xml file is doing in that tomcat folder though...maybe it get's copied to that location when you start the albpm WL
    Hope this helps
    Edited by Lex_ at 12/13/2007 10:27 PM

  • How can i get the driver and software for q1342a laser printer 1000

    How can i get a driver and software Cd for HP Laserjet 1000 S/N#CNBJ242828
    Product ID# Q1342A

    The product you have seems to be a commercial printer. For the best chance at finding a solution I would suggest posting in the forum for HP Business Support!
    You may find the Commercial Laserjet board here.
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    Hope this helps!
    Help the community by marking this post as a solution if it solved your issue!.
    If my post helped you in any way, please click the blue KUDOS star under my name! It would mean a great deal.

  • How can I get the rotation information of my wrists in Kinect for Windows v2 ?

    Hi,all
    Assuming we make human wrist as the coordinate origin point of a three-dimensional space Cartesian coordinate, then when moving the wrist freely, what is the wrist rotation information in the coordinate system? Can kinect V2 describe it just like the degree
    of roll, pitch and yaw in Face Basics demo given in the V2 SDK Browser?
    Based on Kinect Studio 2.0 on 3D View model, it gives a vector arrow at each joint in real time, when I move, the direction of arrows changes correspondingly. So I think this may help me to get the information I want.  
    Here are my questions:
    1. Could I use Kinect V2 SDK to detect and output this information directly? If not, any suggestion to use the data which SDK output to get rotation information?    
    2. If the Q1 answer is yes, what is the accuracy of the sensor about the degree of roll, pitch and yaw on wrist?
    3. I have read Kinect V2 SDK documentation about the body class, the JointOrientations property description says that "the joint orientations of the body", what I want to know is the joint orientation based on
    what frame of reference? The specific value of body.JointOrientations looks what kind of data?
    Any advise or guidance would be greatly
    appreciated. 

    Thanks Carmine. It's really helps. But I still have some questions to ask.
    As you said "a quaternion value, where the
    Y component rotation is around the direction vector from the parent",and you also said "The
    orientation value is ...not the rotation from the parent",my English is poor so I am a little bit confused. 
    About the accuracy, What is the level of accuracy under ideal conditions?
    And in what circumstance
    that "value could be 180 rotated" thing could happen?
    Thank you for your time

  • Hi, How can I get the tasks I added to show up in Ical?

    Ive been trying get my tasks to show up in my calendar either on ical or outlook but am unable to, any ideas?

    You have to sync your calendar with some type of service like Google or iCloud or the MS one, is it Outlook.com now, and whatever calendar system/program you are using has to support the sync with that serivce for those tasks to propagate to all your devices.
    I use Thunderbird as an email program on both Mac and PC. My Android phone syncs to Google Calendar along with TBird add-on for a calendar on my PCs and the Mac calendar program in both Lion and Mt Lion sync to google as well. I can add a task on any of them and it shows up on all other devices.

  • How can i get the 4.01 upgrade for Final Cut Express 4.01

    I have problems importing movieclips from my Sony HD camcorder (Sony HDR-CX350VE) in Final Cut Express. Surfing some Mac forums I jumped to the conclusion that I am not the only one. FCE sees the clips, but when I try to import them I get an error (idle). On one of the Mac forums I read that al lot of the AVCHD problems have been solved in the 4.0.1. update of FCE. I have 4.0 but I don't get the 4.01 update offered on Software update (although I have registered the software) and I can't find the 4.0.1 update on the Apple support or downloadsite. Does anywhone how I can get this update. It must exist because I found the releasenotes.

    The Application is called Final Cut Express, but it wasn't at the top level. I put it there and tried Software-update again. And Yes it found the 4.01 update. Stupid of me and very clever of you, Tom!
    Thanks a lot

  • HT5787 How can you get the pin # you set for as your "Restrictions" reset if you can't even remember it ?

    For the children we turned on the restrictions on certain apps/features for iTunes and restricted all access to App Store (kids playing with phone, never know what they might do) but now want it off but can't remember pin? How can I find out about resetting the pin and turning off restrictions?

    You can not recover the pin.
    You will have to wipe the device and restore as new.
    http://support.apple.com/kb/HT1414

Maybe you are looking for