Data acquisition: task specified does not exist

I am trying to do an analog read.   Apparently in the original code (which I did not write), the data acquisiton is a multithreaded task. (I am not a real programmer, so know next to nothing about multithreading, and not a whole lot about programming)...
When I tried to collect data (by pressing our "Data Collect" button on the GUI, I got an error along the lines of:
"Task specified is invalid or does not exist. Status Code: -200088"
I have figured out that the task the error refers to is called SetCollectData, for which I am not able to find a definition.
It runs fine when I comment that line out, but of course, no data gets collected!
Here is the actual data acquisition portion of the code:
if(DAQInputTask && ) GetCollectData())
                if((AiData = malloc(sampsPerChan*AiNumChannels*sizeof(float64))) == NULL )
                    MessagePopup("Error","Not enough memory");
                    goto Error;
                DAQmxErrChk(DAQmxReadAnalogF64(DAQInputTask,-1,0,DAQmx_Val_GroupByScanNumber,AiData,sampsPerChan*AiNumChannels,&numRead,NULL));
                fwrite (AiData, sizeof(float64), sampsPerChan*AiNumChannels, AiRawData);
       *AiData = NULL;
Any ideas?
I have switched to NIDAQmx drivers, and have had a host of problems since switching to DAQmx functions.  So, this new problem may still be related. 
Thanks!

Tasks in CVI are the basic of data acquisition: every operation is run under a task which groups channel definition, triggers, acquisition rate and almost every other element which constitues an acquisition process.
You should try to find informations about the tasks used in your project, possibly asking the original programmer; on the same time, you should learn some infos about how daqmx treats data acquisition process. Here you can find the help page related to tasks: I suggest you read that page and use it as a starting point for your search. Keep in mind that a task can be defined either inside the program or within MAX. One possible cause for not finding the task while running the program is that is has been defined in MAX on one machine and you have moved the project to another one without moving MAX informations too from the original PC, but this is only a guess.
It's not clear from your words whether you are modifying an existing project developed in DAQMx from the beginning or you are moving an old NI-DAQ project to DAQMx. These are very different scenarios. In every case you should see the exact line where the error arises, look for the task handle used in that line (e.g. 'DAQInputTask' in the code you posted) and find the line where the task is loaded/created (ultimately try a search for that variable name in all your source files and examine each line where it si used).
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Similar Messages

  • Why do I receive Error 200378 "Custom scale specified does not exist"?

    I am trying to perform offset nulling using an NI-9237.  I receive and error in regards to the custom scale even though I programmatically create the scale prior to the task.  I am experiencing the erro whne using LV8.2.1 but with LV8.6 the problem disappears (same code, just open in LV8.6 and run)
    The error is the following:
    Error 200378 "Custom scale specified does not exist" 
    Possible reason(s):
     Measurements: Custom scale specified does not exist.  Custom Scale: test
    Channel Name: LoadCell_StrainGage_Sim/ai0
    Task Name: _unnamedTask<F>
    I have attached the code in LV8.2.1
    Thanks
    Dan
    Attachments:
    test.vi ‏38 KB

    Dan,
    I tried your VI and it worked for me after I changed the channel from "LoadCell_StrainGage_Sim/ai0" to something that was on my system.  Before that, I got the same error.  So...are you sure that there is LoadCell_StrainGage_Sim/ai0 configured in MAX?  Stupid question, I know, but it was the only thing I changed.
    -Matt
    -Matt Bradley
    ************ kudos always appreciated, but only when deserved **************************

  • I uninstalled Flash Builder 4.7 using the uninstall app.  I'd like to re-install the app, but Creative Cloud says it's up-to-date, even though it does not exist anymore on my computer.  How can I re-dowload it?

    I uninstalled Flash Builder 4.7 using the uninstall app.  I'd like to re-install the app, but Creative Cloud says it's up-to-date, even though it does not exist anymore on my computer.  How can I re-dowload it?

    CC desktop lists applications as "Up to Date" when not installed
    http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html

  • Error: ORA-16532: Data Guard broker configuration does not exist

    Hi there folks. Hope everyone is having a nice weekend.
    Anyways, we have a 10.2.0.4 rac primary and a 10.2.0.4 standby physical standby. We recently did a switchover and the dgbroker files automatically got created in the Oracle_home/dbs location of the primary. Now need to move these files to the common ASM DG. For this, I followd the steps from this doc:
    How To Move Dataguard Broker Configuration File On ASM Filesystem (Doc ID 839794.1)
    The only exception to this case is that I have to do this on a Primary and not a standby so I am disabling and enabling the Primary(and not standby as mentioned in below steps)
    To rename the broker configuration files in STANDBY to FRA/MYSTD/broker1.dat and FRA/MYSTD/broker2.dat, Follow the below steps
    1. Disable the standby database from within the broker configuration
    DGMGRL> disable database MYSTD;
    2. Stop the broker on the standby
    SQL> alter system set dg_broker_start = FALSE;
    3. Set the dg_broker_config_file1 & 2 parameters on the standby to the appropriate location required.
    SQL> alter system set dg_broker_config_file1 = '+FRA/MYSTD/broker1.dat';
    SQL> alter system set dg_broker_config_file2 = '+FRA/MYSTD/broker2.dat'
    4. Restart the broker on the standby
    SQL> alter system set dg_broker_start = TRUE
    5. From the primary, enable the standby
    DGMGRL> enable database MYSTD;
    6. Broker configuration files will be created in the new ASM location.
    I did so but when I try to enable the Primary back I get this:
    Error: ORA-16532: Data Guard broker configuration does not exist
    Configuration details cannot be determined by DGMGRL
    Form this link,(Errors setting up DataGuard Broker it would seem that I would need to recreate the configuration....Is that correct ? If yes then how come Metalink is missing this info of recreating the configuration... OR is it that that scenario wouldnt be applicable in my case ?
    Thanks for your help.

    Yes I can confirm from the gv$spparameter view that the changes are effective for all 3 instances. From the alert log the alter system didnt throw u pany errros. I didnt restart the instances though since I dont have the approvals yet. But I dont think thats required.

  • The collection you specified does not exists or is not registered with the ColdFusion Search Service.

    While upgrading to CF7 from CF5, I am creating the new collections from Cf Admin. After creating, I indexed it from cf admin and then trying to search for the documents in that collection, and i am getting the following error. This was working yesterday. I have cheched the logs etc and nothing seems helpful in discovering what the issue is.
    Document count is 11,745 and the size is 25,948 kb, which is not too much for a collection. I have tried to restart Cold Fusion Search Services and then ColdFusion Application services, but all in vain.
    Any help on this would be greatly appreciated.
    Detail
    The collection you specified does not exists or is not registered with the ColdFusion Search Service.
    Message
    The collection rc_collectiom does not exist.
    StackTrace
    coldfusion.tagext.search.CollectionDoesNotExistException: The collection rc_collectiom does not exist. at coldfusion.tagext.search.SearchTag.verifyLocale(SearchTag.java:819) at coldfusion.tagext.search.SearchTag.doSearch(SearchTag.java:200) at coldfusion.tagext.search.SearchTag.doStartTag(SearchTag.java:159) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cfeFull2dText2dReDirect2ecfm511389924.runPage(C:\Inetpub\wwwroot\External\FullText\eFull- Text-ReDirect.cfm:43) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cfApplication2ecfc179940445$funcONREQUEST.runFunction(C:\Inetpub\wwwroot\External\Applica tion.cfc:114) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:290) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:254) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:194) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:146) at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:72) at coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:178) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:215) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115) at coldfusion.CfmServlet.service(CfmServlet.java:107) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    So at last I figured this out myself and found a temporary resolution for this kind of problem. Majority of the times try creating the Collection through Cfcollection tag and then index it using cfindex tag, rather than performing these operations from the Cold Fusion 7 administrator.
    The only reason I can think of which might have caused the issue is – I have thousands of documents in the collection which I indexed. So while indexing the page gets expired. So I tried again to index it. This time the collection got indexed fairly quickly and I got the response that the collection has been indexed successfully. So for the first time when I tried to index the collection, there might be some piece of code, which did not register the collection properly and hence giving this error.
    When I did the same function using the code, with exactly same set of documents, it did not throw any error, even when I executed it for the first time. So the collection indexed properly.
    I am not claiming that technically this theory is correct, but this seems to be the problem.
    If someone knows technically what has happened at the back, please share it. For the time being, this is the fix – if you experience any problem in creating/indexing collections through cfadmin in CF7, do it thorough code.

  • Data load buffer [1] does not exist error when loading cube

    Hello
    I'm trying to load data using Essbase Studio. Everything was working fine, the load used to occur very quickly.
    After updating the SQL query to load a larger period ( 5 years instead of 2 ), the load fails after exactly 10 minutes ! I'm wondering if there's a timeout configuration or something similar in Essbase because I have other cubes that has large queries that are stopping after exactly 10 minutes.
    The environment is:
    Essbase 11.1.2.1 on Linux 64 bits
    Data source: Oracle 10r2 database
    This is Essbase Studio Log
    Failed to deploy Essbase cube
    Caused By: Failed to load data on database: CartTst.
    Caused By: driver.DriverException.GetDatabaseInfoFailed
    Caused By: IO Error: Socket read timed out
    Caused By: Socket read timed out
    This is the Cube Application Log
    [Thu Jul 19 18:34:38 2012]Local/CartTst///1136855360/Info(1013210)
    User [ERS0411@AD_Directory] set active on database [CartTst]
    [Thu Jul 19 18:34:38 2012]Local/CartTst/CartTst/ERS0411@AD_Directory/1114749248/Info(1013091)
    Received Command [LoadBufferTerm] from user [ERS0411@AD_Directory]
    [Thu Jul 19 18:34:38 2012]Local/CartTst/CartTst/ERS0411@AD_Directory/1114749248/Error(1270040)
    Data load buffer [1] does not exist

    I am getting the same error: Data load buffer [2] does not exist
    When I changed the load rule it works fine.
    Thanks Glenn

  • Essbase Error - 1270040 Data load buffer [2] does not exist

    When building dimension for ASO cube, it keeps giving me this error message. Do I need to activate or increase the Data Load Buffer when building dimenions manually (not using MaxL)? It allows me to build part of the dimensions using about 100 records from the load file, but once the record number increases it gives out this error and shows the dimension build error. Appreciate any help!!!

    I am getting the same error: Data load buffer [2] does not exist
    When I changed the load rule it works fine.
    Thanks Glenn

  • CF8 Verity "The collection you specified does not exist or is not registered with the ColdFusion Search Service."

    I'm running ColdFusion 8 Enterprise on linux. I'm able to
    create collections and index them through cfadmin as well as in cfm
    application pages, but when trying to search I get the error
    &quot;The collection you specified does not exist or is not
    registered with the ColdFusion Search Service.&quot;
    I'm using the collection name in cfsearch and not the full
    path.

    Would I have been better off posting this in the General
    Discussion section? Could the moderators move it if so,
    please?

  • Can Somebody Help - Database specified does not exist

    Hi,
    Error 1065 The database specified does not exist
    Thanks
    --Anil                                                                                                                                                                                           

    It's discussing in other forum
    Error 1065 The database specified does not exist

  • Help me soon please: error:1065 the database specified does not exist.

    hello every one,
    when i start the computer the concurrent manager service not started , when i try to start it i have this problem:
    "could not start the oracle concmgrvis_orabac service on local computer error:1065 the database specified does not exist."
    i restarted computer and tried to stop and start all services more times but no change.
    i hope if you can help meplease soon.

    check note How to Recreate the Concurrent Manager Service for Oracle Applications 11i on Windows NT
    Note:152887.1
    maybe recreting the CM will solve your issue
    Follow these steps to recreate the concurrent manager service on Windows NT:
    1. cd $APPL_TOP
    2. dos> envshell.cmd (this opens up a new DOS window. Go to that window and
    do the following).
    3. cd $COMMON_TOP/admin/install
    4. dos> adsvcm.cmd -deinstall (deinstalls the ccm service)
    should exit with status '0'
    5. dos> adsvcm.cmd
    should exit with status '0'
    Should see "Successfully installed concurrent manager"
    6. Reboot
    fadi
    .

  • Error 1065 The database specified does not exist

    Hi All,
    When I am trying the start the Concurrent Manager [[From Services.msc]] I am getting this error.
    Error 1065 The database specified does not exist
    I am also not able to connect through SQL* Plus.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    Thanks to both of you. I don't have metalink access right now.
    Hussein
    It's my Desktop. For quite sometime I have not run it and Now when I am opening the Apps I am not able to login.
    Also I don't have much idea where to check the CM log file????
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • The access edge server you specified does not exist

    Hi,
    I am trying to enable federation with Skype. I have Skype4B (Lync) 2013. unfortunately when I go to prvisioning site at https://pic.lync.com and try to enter my access edge server, it says: "The
    Access Edge service FQDN you specified does not exist."
    Does anyone have any idea why? searched online but apparently there are not answers.
    Thanks,

    Hi Atif7865,
    The SIP domain and the Access Edge server must be active, functioning, and reachable on the network.
    Please double check the DNS records and network , make sure they are functioning properly.
    If the error message persists, please contact Microsoft Customer Support Services to get help. For a complete list of Microsoft Customer Support Services telephone numbers and information,
    visit the following Microsoft website:
    https://www.microsoft.com/licensing/servicecenter/Help/Contact.aspx
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Error in WF Customizing, Standard task TS00008267 does not exist

    Hi Experts,
    I need your help with the Workflow Customizing (SWU3). After doing the automatic customizing, I am getting an error "Workflow: No workflow definition found" when I try to start the Verification Workflow. So I decided to execute each component in SWU3 and I found out that when I execute "Classify Decision Task as General", (though it is checked/green), it says that "Object TS 00008267 does not exist".
    I checked in tcode PFTC that the task is really missing in our Development server, though they exist in QA and production.
    What should I do to get this fixed? I really don't have any idea. Should I apply a patch, install something, or create TS00008267? I can't find anything on the net that solves this problem.
    Thanks in advance.
    Regards,
    DN

    Hello Dexter,
    I see you loked at the other tread which I just responded to. I have copied my reply below.
    If you find that all tasks are missing and not just TS00008267 then it is most likely an authorisation issue. Run transaction
    SU53 to see what authorisation objects your user is missing. It is related to Org Management authorisations.
    If you have to transport it try transaction SE01 (Transport Organiser) it is possible to transport from system to system. Just click on Create button and then select 'Transport of copies'. Then just enter you target system and save. You can then add the
    objects you wish to transport to your Target system.
    Example:=============================
    R3TR PDTS 00008267
    In SE01, click Create => Transport of copies
    => Name the request and save
    => Click 'Include Objects' button and choose 'Freely selected
    objects'.
    =>Enter the Development class SWD and click 'Selected
    Objects'. F4 at the bottom of the list (Under the DTEL
    entry) and select the entry "R3TR PDTS" and click OK.
    Now enter the task ID 00008267 in the dialog box
    opposite it and click the checkbox (See attached screen
    shot) and then click the Execute button.
    => Expland the list and goto the task
    => Select 00008267 and click the "Save In Request"
    button.
    You can do this with any standard tasks you want to transport to your system.
    Hope this helps.
    Regards,
    Eddie

  • Mailman - bounced "data format error" - Mailbox does not exist

    Hi gurus,
    All my mailing lists works great, except one of then...
    Its said: a lot of messages like this, several times:
    Mar 6 07:08:33 rossellimac postfix/pipe[2931]: 3F55D15F892: to=<[email protected]>, orig_to=<[email protected]>, relay=cyrus, delay=0.11, delays=0.04/0/0/0.07, dsn=5.6.0, status=bounced (data format error. Command output: alejandro: Mailbox does not exist )
    Also this error:
    3/6/09 8:18:20 AM lmtpunix[4844] AOD: user opts: get attributes for user: alejandro failed with error: -14479
    3/6/09 8:18:20 AM lmtpunix[4844] warning: unable to post message for user: alejandro, mail is not enabled for this user
    The computers halt for a minute... when I send an email to this list (general@) where "alejandro is a user"
    Please, some advice... I surf the web... and not always produce error...
    Thanks in advance.
    Message was edited by: alopezruiz

    ok

  • WLST Ant Task Definiton does not exist for 8.1 ?

    Hi,
    I am trying to use Maven's ant plugin to run some WLST script to create some artifcats on my server. We are using platform 8.1 and so i downloaded the WLST 6.4 zip file from dev2dev and it contains wlst.jar and jython.jar but I cant find the following (which comes as std with 9.0):-
    weblogic.ant.taskdefs.management.WLSTTask
    Its not with the WLST distribution so how can I use it with my 8.1 infra (I am using the maven ant:ant plug in here) so have added the taskdef to my build.xml but I cant find it in any of the weblogic or wlst jar files....or the 8.1 wls ant distribution. Am I missing something ? Or I am forced to use this in my build file:-
    <property name="propertiesFile" location="c:/eworld"/>
    <target name="createServers">
    <java classname="weblogic.WLST" fork="yes">
    <arg line="-loadProperties ${propertiesFile}/connect.properties antExample.py" />
    </java>
    </target>
    I wanted to (as in the 9.0 docs) use:-
    <taskdef name="wlst" classname="weblogic.ant.taskdefs.management.WLSTTask" />
    <target name="runwlst">
    <wlst fileName="./myscript.py" executeScriptBeforeFile="true"
    debug="false" failOnError="false" />
    </target>
    Your help much appreciated !.
    TIA
    Martin

    I have found out that the WSLTTask does not exist for 8.1 and only for 9.X.
    Martin

Maybe you are looking for

  • Unable to print from HP Deskjet 1510

    Scan and photocopy are working fine.HP print and scan doctor shows everthing is fine but I am unable to print test document. 

  • Pop up window saying Memory is too low to continue in Logic.Why?Way to Fix?

    I recently purchased my IMac OSX 10.6.3 as well as Logic. I have about a half dozen projects on my hard drive now, which is also being backed up to a "time machine" external drive. The projects are pretty small( just piano, or piano and string quarte

  • What are the normal settings to connect to wifi?

    I visited my friend over the weekend and her school required me to change my airport settings in order to connect to the internet. Ever since I got back, I have been unable to connect to my usual wifi source. If I can, it drops off after a few minute

  • External Hard Drives and Check Disk

    I have an external NTFS hard drive that for some reason when I go to do an Error-Check with Window's Check Disk feature it says it can't check the disk while it is in use and I then proceed to schedule a scan at start up. This is an External USB devi

  • How long does the install take?

    How long does the Maverick install take?