A task with timer

Hi buddies
I am programming a task as follows..
In the total time I want to realize two small tasks, task A and task B, in which B could run only when it is chosen.
I need three loops I think, one for the total time, if the time is over
the total time, the program supposes to finish immediately.
The other two loops are for task A and task B.
I want to triggle task A in a special period of time Ta, and triggle
task B (if it's chosn) in Tb (normally Ta is larger than Tb).
The problem is I could not set the same time base for this important time comparation.
When I use "read the timevalue", the time inside and outside the loop
would be irrelative since "read the timevalue" offers only random value
which is indepentent of the real time.
...How should I set the timer?
Thank you!
I use LV8.0 full version..(btw German version, it makes language trouble also)....
Attachments:
task trial.vi ‏172 KB

Thanks a lot! Still got some probs.
What I want is as the pic attached.
And just now I made another one...
The bad thing is I could not get the time difference between the processing time and the starting time.
always give the probs...
Attachments:
task0.jpg ‏126 KB
task.vi ‏239 KB

Similar Messages

  • Excel not even open - "cannot complete this task with available resources" and then VBA run-time error randomly appear!

    Has anyone else seen the "Excel cannot complete this task with available resources" error message appear when Excel isn't even open? It keeps happening to me, and it's the strangest thing.
    It seems like interacting with Excel files sometimes prompts it - for example, I just turned on my computer this morning, checked my email, and then opened Google Chrome to upload some Excel files. Excel hasn't been opened at any point since the machine
    booted up, but this Excel error popped up while I was uploading the files.
    Checked the Task Manager because I was baffled (not that this is the first time it's happened), and there's no Excel application running, just that silly error message. Choose OK on that error and a VBA run-time error message appears (not even sure if it's
    Excel VBA or Word/Outlook but I assume it's Excel - it's the good old 1004, application-defined or object-defined error).
    Debug is greyed out, so it won't let me debug to see what the problem is. Choosing End brings the "Excel cannot complete this task with available resources" message back for one final performance.
    This happens on a not-infrequent basis: Excel isn't open, and I randomly get this set of Excel errors: 1) "cannot complete task", 2) VBA run-time, 3) "cannot complete task" again. Then it's done, until the next time it happens. Weird.
    I have 32-bit Windows 7 and Excel 2013/2010/2007/2003/2002 (I know!) but the issue only started after installing 2013. I also get the "cannot complete this task" message regularly when working in Excel (generally with Power Pivot or something legitimately
    memory-hungry though), and restarting the application does the trick. I don't mind a heads-up when I'm gobbling up too many resources, but when Excel's not even open, it's a bit ridiculous. It's like I have a zombie Excel! Does interacting with Excel files
    via upload/moving around Windows Explorer actually trigger some sort of Excel action in the background?
    Any ideas would be most appreciated!! Thank you :)

    Hi,
    As the memory error messages , it can be very generic and don't always identify the real cause of the issue. We may try to use the KB that Mr. KR mentioned above to troubleshoot it.
    On the other hand, if the file is xls format, we may convert to the new file format .XLSM and test.
    http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28339883.html
    Next, try to disable hardware graphics acceleration from File > Options > Advanced > Display section and disable Aero Themes (if you enabled) to check the results.
    For the hangs and crashes issues, we may use ADPlus.vbs to troubleshoot:
    http://support.microsoft.com/kb/286350/en-us
    http://www.networksteve.com/exchange/topic.php/Excel_cannot_complete_this_task_with_available_resources_error,/?TopicId=39411&Posts=1
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Hope it's helpful.
    George Zhao
    TechNet Community Support

  • Can I use any external hard drive with Time Machine?

    I have a 1TB external hard drive and also a 16GB flash drive. Is it possible to use either of these with Time Machine?

    IMO Time Machine should be on its own Dedicated External Drive... one that is twice the size of the drive that it is backing up... the 16 GB Flash Drive is not appropiate for the task.
    See Here
    TM 101
    http://support.apple.com/kb/HT1427
    You may also find this Link of Interest...
    Time Machine vs. Clones and Archives

  • How to write to one channel of a task with multiple channels? (plus other things...)

    So I have a USB-6009 DAQ.  It has 12 digital output lines.  I want one channel that is "Dev0\line0:10" which represents an address bus in my application.  And a second channel "Dev0\line11" which represents a program enable line in my application.
    I have tried creating two different tasks and adding one channel to one task and the other channel to the other task.  The only task that worked was the task with "Dev0\line0:10".  It was always the task containing that channel, regardless of the order of creation.  So then I moved on to a different method.  (I read somewhere that I should only create one task of each type.  like only 1 DO task only 1 AO task etc...  However I am also using the two analog ouputs to and have a task for each AO and they work just fine.)
    I tried add both channels to one task.  But when I needed to control only the address bus, I had to have some information for the other channel as well.  This was a little trying, but I could configure it that way.  But it turned out to be easier for me to just make one channel with all the lines and OR in the data for line11 with each write.
    I just wondered if it was possible to write to one particular channel of a task and not the other channel?  That would really be the ideal solution for me.  especially if I could write multiple samples to the one channel while I left the other channel alone.  Which brings up another complaint... Why does WriteMultiSamplePort only work if I use a DigitalMultiChannelWriter, and not if I use a DigitalSingleChannel writer even though my task only has one channel (and by the way I set up the channel as one channel for all lines)?  A perplexing issue to be sure.
    And no I can't just load all my samples into an array and write them all at once because I also have to manipulate the two analog outputs in between the various digital writes.
    I am using NI DAQmx 7.5 and C#.  I am trying to use the DAQ to program a digital switch, which has proven to be a real challenge.  In push-pull mode there is too much ringing for the switches programming port to tolerate.  But the switches interface is LVTTL, so I needed the 3.3V.  When I changed to open-collector I had to use voltage dividers to drop down to 3.3V.  But the rise time using open-collector is too slow for me the program the switch in serial mode, so I had to change to parallel.  The switch has an 11 bit multi-plexed ADDR/DATA bus.  So the DAQ I had chosen to use which had plenty of lines for the serial programming, now is strained to it's absolute limits by the parrallel interface.   ARGH.  The only output I am not currently using is the counter, and I'm going to need it if I ever want to read back from the switch.  But first I have to seperate the ADDR/DATA bus from the CS line on the DIO lines of the DAQ.  And I don't know for sure what I'm going to do about the voltage level translation when I have to go bi-directional.  Maybe I can filter out the ringing in push-pull mode?  Any thoughts on that?

    Hi Saikey,
    In most cases, you are exactly right: you can only use one task for one type of operation (i.e. only one analog input task in the same program). With the USB 6009, you can have multiple digital output tasks running at the same time. I was able to run a digital output program with two different digital output tasks configured for a USB-6009.
    However, you stated that it would be better if you had everything in a single task for your application and write data to only some of the channels. The easiest way to do this is to modify your array of output data so that only the data to that one channel is changing. So, for example, if you keep writing a 0 to the channels that do not need new data nothing will change.
    If you have to change your analog outputs during this program, you could create an event structure that would stop and restart the analog output tasks without changing the digital output data. I hope that you find this information helpful.
    Regards,
    Hal L.

  • Reboot before sysprep when I want to add an installation task with Office 2013

    Hi all,
    I want to buid a reference computer with a genuine Win7 wim file, correct drivers, uptodate patches, and usefull applications. So I use a “Build and Capture Task Sequence”. The new reference image captured, I can use it with WDS or a media
    to any computers, using a second and different “Build and Capture Task Sequence.”
    All things were right, I could add Acrobat Reader, Java and some others application, but it failed when I tried to add “Add Application Task” with Office 2013. I could import the software, I discovered the new panel to configure config.xml
    and mychoice.msp, but when I run the Tasq sequence, when it begin to sysprep the OS, a few time before the capture, the computer reboots. Sysprep does not run, and the image is not captured.
    I can add any software installation in the Tasq sequence but not one with Office 2013.
    What do you think about this issue?

    Hi,
    Some pieces of advice, since I have managed to create a Windows 7 WIM file with Office 2013 embedded without any problems:
    Build your reference image in a virtual machine, not on physical hardware, to prevent a gigantic driverstore with drivers for one or more models, and having to rebuild your image every single time you use a new model. This is not how MDT works, MDT works
    hardware agnostic, since it inject's drivers of hardware for each model before the WIM file is applied to your target computer.
    Do you really want to embed applications like Adobe Reader and Java in the image? They have a release every month. Do you want to (or is there room for) updating your image every single month? Put them in the deployment phase of your task sequence. This
    way these applications are left out the WIM file, but are installed after the WIM file is applied to your system. Yes this takes a little bit more time when deploying a machine, but that's time you'll save on not managing your WIM file every single month
    Check your
    log files, make sure your machine is not Domain Joined, since that is the biggest mistake people make when sysprepping a machine. And check
    Setuperr.log for any sysprep errors. Guaranteed it has noting to do with Office 2013
    Good luck!
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • A simple team task with a single team resource; yet in reality many actual team contributions - can it be done?

    What people would like to be able to do is to plan for a task in MSP to be done by a team. We plan how much work is involved and the duration.
    Any number of team members can be involved in the task. As things delay and get put on hold we may have entire teams jumping in to complete tasks so utilisation is maximised. PMs do not want to open an plan every half hour to add extra resources to
    plans
    Can this be done in MSP in an elegant way?
    What I am currently doing is asking PMs to assign all 20 generic team resources to a task; so any of the 20 team members can assign themselves to the task in the TimeSheet. (In fact they get templates with this setup: there is a join project team task with
    every generic team resource added so they can swap themselves into the plan)
    Obviously the PMs are aghast that Project server will not let you assign a single team resource and then allow anyone in the team to join in. Am I correct in thinking Project Server will not allow this.
    (Project server 2010 - on premise)
    Trying to stop the swap to Salesforce - but the errors keep a coming

    Yeah the capacity planning is mathematically fine if I know the cumulative total of work across a duration - project just flattens it across however many resources are assigned.
    To max utilisation resources can and will be shunted onto projects; in a week they can be put onto 20 projects to fill out the utilisation if a big project suffers a major delay. The PMs cannot spend the time rescheduling 10 plans. The resource want
    to easily record time sheeted data against the projects they worked on in the past days.
    Whilst "add to task" works and they all know how to use it; it only lists the projects they are a Published resource on. Even being reassigned onto a team task will not help. i.e. if I set up tasks on each and every template with the 20 spare generic
    team resources on; if a team resource grabs that 1 task to be assigned - the PM must
    1. accept the reassignment;
    2. Open and Publish the plan; only then can that resource add themselves to a task in the plan - PMs can't spend time doing this 20 times per project!
    I don't really want every resource seeing every project in the "add to task" list - but it looks like this is what I will have to do as the team tasks seems broken in many, many places.
    However we already do it for support projects; everyone (who may contribute at any point to a support item) is assigned to an initial task - this makes the project list unwieldy in Add task or new task and adds clutter for the user
    Trying to stop the swap to Salesforce - but the errors keep a coming

  • Error Message: "Excel cannot complete this task with available resources" when creating pivot table with Excel 2013

    Hi, 
    One of our users encountered this problem with Excel 2013 while creating pivot tables, particularly with large files. We tried to modify Virtual Memory
    of the pc but error still persist. Why does this happen and how can we resolve this? Thanks.
    Another error message encountered by the user, this time when opening large files. The files she tried to open are working fine in 2010. But when opened in 2013, it prompted : "There
    isn't enough memory to complete this action. Try using less data or closing other applications."

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Did your user using the Excel 2013 and Excel 2010 with same PC? If not, please let me know the both of the 2 PCs' hardware list/Windows operation system info.
    Did you using Excel 2013 32bit version and Excel 2010 64bit version?
    General speaking, this issue usually occurs with Office 2013 32 bit version. It has a limitation of 2Gb of memory that can be used by its process. And the 64-bit Excel can handle larger workbooks.
    Thus, if your user using 32bit Excel, I recommend try 64bit Excel instead.
    Here is a similar issue, we also could try it:
    http://answers.microsoft.com/en-us/office/forum/office_2007-excel/excel-cannot-complete-the-task-with-available/d31b1822-ebde-4c9b-8d11-e54bb652847d
    If you have any update, please feel free let us know.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to assign project specific task with the newly created projects ?

    Hi All,
    I need help. I need to assign project specific tasks (which i will be taking from staging table) other than the default task which are assigned during project creation. How do I proceed with this within same package. I am attaching the code of my package below...
    CREATE OR REPLACE PACKAGE body xxpa_proj_conv_pkg as
    PROCEDURE xxpa_create_project_proc(O_ERRBUF OUT VARCHAR2,O_RETCODE OUT VARCHAR2)
    is
    variables need to derive global parameters
    v_responsibility_id NUMBER; --- PA Supervisor responsibility id
    v_user_id NUMBER;
    deriving global parameters-
    -- Variables needed for API standard parameters
    v_api_version_number NUMBER := 1.0;
    v_commit VARCHAR2(1) := 'F';
    v_return_status VARCHAR2(1);
    v_init_msg_list VARCHAR2(1) := 'F';
    v_msg_count NUMBER;
    v_msg_index_out NUMBER;
    v_msg_data VARCHAR2(2000);
    v_data VARCHAR2(2000);
    v_workflow_started VARCHAR2(1) := 'Y';
    v_pm_product_code VARCHAR2(10);
    ---variables for catching errors---
    v_error_flag number:=0;
    -- Predefined Composite data types
    v_project_in PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
    v_project_out PA_PROJECT_PUB.PROJECT_OUT_REC_TYPE;
    v_key_members PA_PROJECT_PUB.PROJECT_ROLE_TBL_TYPE;
    v_class_categories PA_PROJECT_PUB.CLASS_CATEGORY_TBL_TYPE;
    v_tasks_in_rec PA_PROJECT_PUB.TASK_IN_REC_TYPE;
    v_tasks_in PA_PROJECT_PUB.TASK_IN_TBL_TYPE;
    v_tasks_out_rec PA_PROJECT_PUB.TASK_OUT_REC_TYPE;
    v_tasks_out PA_PROJECT_PUB.TASK_OUT_TBL_TYPE;
    v_CREATED_FROM_PROJECT_ID varchar2(20);
    v_CARRYING_OUT_ORGANIZATION_ID varchar2(20);
    v_person_id NUMBER;
    v_project_role_type VARCHAR2(20);
    API_ERROR EXCEPTION;
    v_a NUMBER;
    cursor for project in data
    CURSOR cur_project_in_data IS SELECT * FROM XXPA_PROJECT_IN_STG;
    cursor for task data
    CURSOR cur_task_in_data IS SELECT * FROM XXPA_TASK_IN_STG;
    ------------------------Cursors used for validations----------------------------------
    cursor for product code used for validation
    cursor cprc is select distinct PROJECT_RELATIONSHIP_CODE from PA_PROJECT_CUSTOMERS;
    cursor for distribution rule-
    cursor cdr is select DISTRIBUTION_RULE from PA_DISTRIBUTION_RULES;
    cursor for project status code
    cursor cpsc is SELECT PROJECT_STATUS_CODE, PROJECT_STATUS_NAME FROM PA_PROJECT_STATUSES WHERE STATUS_TYPE = 'PROJECT';
    cursor for template/created from project id
    cursor ccpid is select project_id from pa_projects where template_flag='Y';
    BEGIN
    select user_id, responsibility_id into v_user_id, v_responsibility_id
    from PA_USER_RESP_V
    where user_name like 'amit_kumar%'
    and responsibility_name like'PA SupervisorS';
    -- --Fnd_global.apps_initialize(user_id,resp_id, resp_appl_id);
    -- Fnd_global.apps_initialize(v_user_id,v_responsibility_id,275);
    -- -------calling global parameters---
    pa_interface_utils_pub.set_global_info
    p_api_version_number =>v_api_version_number,
    p_responsibility_id =>v_responsibility_id,
    p_user_id =>v_user_id,
    p_msg_count =>v_msg_count,
    p_msg_data =>v_msg_data,
    p_return_status =>v_return_status
    dbms_output.put_line ('Set Global status ->' || v_return_status);
    ----Cursor for PRODUCT RELATED DATA-----------
    FOR REC IN cur_project_in_data LOOP
    -----PASSING VALUES TO THE COMPOSITE DATA TYPE(PROJECT_IN_REC_TYPE)-------
    ----retrieving product code-----
    select lookup_code into v_pm_product_code
    from pa_lookups
    where lookup_type = 'PM_PRODUCT_CODE'
    and meaning = 'Oracle Project Manufacturing';
    -----retrieving and validating created from project id----
    BEGIN
    select project_id
    into v_CREATED_FROM_PROJECT_ID
    from pa_projects_all
    where name=rec.created_from_project_name;
    EXCEPTION
    when others then
    O_Retcode := '1';
    O_Errbuf :='Incorrent CREATED_FROM_PROJECT_NAME';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where created_from_project_name = rec.CREATED_FROM_PROJECT_NAME;
    END;
    -----retrieving & validating carrying out organization id-----
    BEGIN
    select distinct(CARRYING_OUT_ORGANIZATION_ID)
    into v_CARRYING_OUT_ORGANIZATION_ID
    from pa_projects_prm_v
    where CARRYING_OUT_ORGANIZATION_NAME=rec.carrying_out_organization_name;
    EXCEPTION
    when others then
    O_Retcode := '1';
    O_Errbuf :='Incorrent Carrying Out Organization name';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where carrying_out_organization_name = rec.carrying_out_organization_name;
    END ;
    v_project_in.pm_project_reference := rec.segment1;
    v_project_in.project_name := rec.PROJECT_NAME;
    v_project_in.created_from_project_id := v_CREATED_FROM_PROJECT_ID;
    v_project_in.carrying_out_organization_id := v_CARRYING_OUT_ORGANIZATION_ID;
    v_project_in.project_status_code := rec.PROJECT_STATUS_CODE;
    v_project_in.description := rec.PROJECT_DESCRIPTION;
    v_project_in.start_date := rec.PROJECT_START_DATE;
    v_project_in.completion_date := rec.PROJECT_COMPLETION_DATE;
    v_project_in.distribution_rule := rec.DISTRIBUTION_RULE;
    v_project_in.project_relationship_code := rec.PROJECT_RELATIONSHIP_CODE;
    -------------------------Validation of incoming project data--------------------------------
    v_error_flag := 1;
    project relationship code validation
    BEGIN
    for prc in cprc
    loop
    if (rec.PROJECT_RELATIONSHIP_CODE=prc.PROJECT_RELATIONSHIP_CODE) or (rec.PROJECT_RELATIONSHIP_CODE is null)--can be overridden from template
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    project distribution rule validation
    BEGIN
    for dr in cdr
    loop
    if (rec.DISTRIBUTION_RULE=dr.DISTRIBUTION_RULE) or (rec.DISTRIBUTION_RULE is null) null since the value can be taken from template too
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    project status code validation
    BEGIN
    for sc in cpsc
    loop
    if (rec.PROJECT_STATUS_CODE=sc.PROJECT_STATUS_CODE) or (rec.PROJECT_STATUS_CODE is null) null since the value can be taken from template too
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    dbms_output.put_line ('Error at PROJECT_STATUS_CODE>' ||v_error_flag);
    validation logic for project start date
    BEGIN
    if TRUNC(rec.PROJECT_START_DATE) >= TRUNC(rec.PROJECT_COMPLETION_DATE)
    THEN
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='Project start date cannnot be greater than completion date';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    END IF;
    END;
    validation logic for project completion date
    BEGIN
    if (TRUNC(rec.PROJECT_COMPLETION_DATE)<=TRUNC(rec.PROJECT_START_DATE))
    then
    if ( rec.PROJECT_STATUS_CODE='CLOSED' and rec.PROJECT_COMPLETION_DATE>sysdate)
    THEN
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='completion date cannot be greater than sysdate for closed projects';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    END IF;
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='Project closed date cannot be less than start date';
    end if;
    END;
    --------Update staging table for the error records--------
    BEGIN
    if v_error_flag =1
    then
    O_Retcode := '1';
    O_Errbuf :='Incorrect project relationship code';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where PROJECT_RELATIONSHIP_CODE = rec.PROJECT_RELATIONSHIP_CODE;
    end if;
    END;
    -----------------------End of validation of incoming project data----------------------------------
    ---------------Project Task DATA-----------------
    v_a:=0;
    FOR tsk IN cur_task_in_data LOOP
    v_tasks_in_rec.pm_task_reference :=tsk.task_reference ;
    v_tasks_in_rec.task_name :=tsk.task_name;
    v_tasks_in_rec.pm_parent_task_reference :=tsk.parent_task_reference ;
    v_tasks_in_rec.task_start_date :=tsk.task_start_date ;
    v_tasks_in_rec.task_completion_date :=tsk.task_completion_date ;
    v_tasks_in(v_a) := v_tasks_in_rec;
    v_a:=v_a+1;
    end loop;
    ---------------end of task details------------------
    --INIT_CREATE_PROJECT
    pa_project_pub.init_project;
    ---------------------CREATE_PROJECT--------------------------
    pa_project_pub.create_project(
    p_api_version_number=> v_api_version_number,
    p_commit => v_commit,
    p_init_msg_list => v_init_msg_list,
    p_msg_count => v_msg_count,
    p_msg_data => v_msg_data,
    p_return_status => v_return_status,
    p_workflow_started => v_workflow_started,
    p_pm_product_code => v_pm_product_code,
    p_project_in => v_project_in,
    p_project_out => v_project_out,
    p_key_members => v_key_members,
    p_class_categories => v_class_categories,
    p_tasks_in => v_tasks_in,
    p_tasks_out => v_tasks_out);
    if v_return_status = 'S'
    then
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET INTERFACE_STATUS ='Success' where segment1 = v_project_out.pa_project_number; ---P->pending & S-> Success
    dbms_output.put_line('New Project Id: ' || v_project_out.pa_project_id);
    dbms_output.put_line('New Project Number: ' || v_project_out.pa_project_number);
    else
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET INTERFACE_STATUS ='Pending' where segment1 = v_project_out.pa_project_number;
    raise API_ERROR;
    end if;
    END LOOP;
    Commit;
    ------Handling Exception--------
    EXCEPTION
    WHEN api_error THEN
    dbms_output.put_line('An error occured during project creation');
    IF (v_msg_count > 0 ) THEN
    FOR i IN 1..v_msg_count LOOP
    apps.PA_INTERFACE_UTILS_PUB.get_messages(
    p_msg_count => v_msg_count,
    p_encoded => 'F',
    p_msg_index => i,
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index_out => v_msg_index_out);
    dbms_output.put_line('Error message v_data ->'||v_data);
    dbms_output.put_line('Error message v_msg_data ->'||v_msg_data);
    dbms_output.put_line('Error message v_msg_index_out ->'||v_msg_index_out);
    dbms_output.put_line('Error message p_msg_index ->'||i);
    APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
    END LOOP;
    END IF;
    WHEN OTHERS THEN
    dbms_output.put_line('An error occured during conversion, SQLCODE ->'|| SQLERRM);
    IF (v_msg_count >=1 ) THEN
    FOR i IN 1..v_msg_count LOOP
    PA_INTERFACE_UTILS_PUB.get_messages(
    p_msg_count => v_msg_count,
    p_msg_index => i,
    p_encoded => 'F',
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index_out => v_msg_index_out);
    dbms_output.put_line('Error message ->'||v_data);
    APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
    END LOOP;
    END IF;
    end; --end procedure
    END xxpa_proj_conv_pkg;
    * Please tell me how to assign project specific task with the newly created projects??? *
    Also please tell me how to assign multiple * Project_Relationship_Code * (ex: END CLIENT, GENERAL CONTRACTOR, PRIMARY) for a particular project during project creation?

    Are you not storing the project number in the staging table designed for storing the task data? You can use create_project API to create the project and tasks at the same time with one single call. You may want to try that option

  • Excel cannot complete this task with available resources

    Hello all,
    I am having a puzzling problem with some Excel 2010 users. 
    One person in Finance is having problems with excel in general, the others are having problems with a specific spreadsheet.
    The specific spreadsheet is very large, 250mb, and contains a lot of data. They're trying to update a specific pivot table within this sheet but every time they try to refresh the data they get the message "Excel cannot complete this task with available
    resources". I have also replicated the problem on my PC.
    All PC's have 4GB of RAM available. I closed all programs, opened the sheet again, refreshed the pivot table and still received the same error. 
    Now, one person in the department was able to open the sheet, refresh the pivot table and save it with no problems. They have the same spec machine as the others in the Finance department.
    All users have rebooted their machines, I've checked the server where the saved files sit to make sure there are no problems, I've asked them to check all data sources within the spreadsheet, watched RAM usage during the operation and while it is high, it
    doesn't max out. Before finding out that one person can open it, I thought it could be that the file had become corrupted in some way. 
    It's very puzzling as I cannot see any logical reason why four people cannot use this sheet but one can. Any help or suggestions would be greatly appreciated. 

    Hi
    MrBeardyDrummer,
    Since you got the error message "Excel cannot complete this task with available resources. Choose less data or close other applications."
    when opened the Excel, please try the follow this KB to fix the issue.
    http://support.microsoft.com/kb/2655178
    You can also refer to these.
    http://support.microsoft.com/kb/2779852
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/22/quot-excel-cannot-complete-this-task-with-available-resources-quot-after-installing-ms12-030.aspx
    If there is anything I can do for you regarding this issue, feel free to post back.
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • BlackBerry Link and syncing Contacts, Calendar and Tasks with stand-alon​e desktop installati​on of Outlook 2010?

    I have used Blackberries in business since the beginning. Fantastic products!
    Sadly after spending the better part of Feb 6th transitioning from Torch to Z10 I have had to abandon the effort and request an RMA number to return the Z10.
    Here is why:
    "Link" appears to be focussed on syncing documents and media like content such as music and movies but does not, from what I can tell, sync Outlook Contacts, Calendar entries or Tasks. I have never bothered putting music or movies on a BB... never had the time to fuss with such... however, I use, edit and sync my Contacts, Calendar and Tasks between my Torch and my desktop PC every day... as in EVERY day!
    From a review of postings on various forums there does not appear to be a solution in the works to this problem and the trend appears to be to use a Cloud based email or service to host such "PIM" information and then sync the handheld to the Cloud repository. This method MAY be suitable for some forms of info but it is not suitable to post such personal info on the cloud... it needs to stay on the desktop and in the handheld device, both of which are password protected and looked after carefully.
    This is an odd situation, BB (RIM) cut their teeth on pages, emails, BBM and great cell calls, mainly in a business environment. Many small business users live and die on their BB. They do not run Exchange Server... they run Outlook stand alone on a desktop. To remove this functionality from the Z10 (BB10 overall perhaps) seems at best to be a serious oversight.
    I wish BB the best with the Z10 and hope to see it do well. For me, I had to make a choice between the efficiency and effectiveness of syncing Outlook Contacts, Calendar and Tasks with the Torch, or hand feeding and maintaining thousands of constantly changing entries into what is undoubtedly a more powerful and wonderful looking Z10. Efficiency and effectiveness won over brawn and beauty. The Torch is back on line... It's a tool... a really great tool! Tomorrow it will process a hundred emails,  numerous SMS messages, a few BBM's, keep me on time and feed me a bunch of useful phone numbers and addresses as it has for a couple of years now. It will also spend an hour or so teathered to my laptop at a remote location where there is cell coverage but no internet. It will NOT display any movies, tweats, twits, or facebook stuff that I won't have time to look at anyway. The fast, powerful, shiny Z10 is heading in an RMA bag back to Telus. 
    I have a sort of sick feeling in my gut and hope to be able to sync again in the future!

    my feelings and my situation excatly

  • Get a process variable's value to set a task's time constraints

    Hi,
    I want to have my task expiration times determined by a process variable (Data Object Artifact) that defines a task's "time to live".
    The problem is that I don't have visibility of the process variables inside the Time Constraint's Expression editor.
    Is there a way to get a value of a process variable inside a task without modifying the Web Dynpro associated with the task?
    Thank you,
    Pietro

    Hi Pietro,
    As the task is associated with the WD mapped to it, we will be able to access only the WD Interface controller context associated with it and also few other Task attributes.
    Regards,
    Unni

  • How to run tasks with priority?

    Hello everyone,
    I want to run tasks with priority, i.e. among several simultaneous running tasks, the task with the higher priority will have more chances to occupy CPU time. I have the following 2 issues dealing with the implementation of such feature.
    - To define each task as a thread or as a method? How to change the priority of each task dynamically when they are running?
    - The priority feature of Java thread does not meet my requirement, since I can not define priority precisely. For example, I want to define that a task with priority A will occupy CPU time 3 times than a task with priority B.
    I am wondering whether I can find similar open source projects or tutorials?
    Thanks in advance,
    George

    how to run autoconfig with out effecting database
    or
    which mode i have to run What do you mean by not affecting the database?
    The database and the database listener should be up and running when you run AutoConfig on the Application/Database tier nodes.
    Please see (Autoconfig FAQ [ID 218089.1]) -- Which files / profile options get changed when I run AutoConfig?
    Thanks,
    Hussein

  • Error when starting an analog read task with DAQmx 8.5 while 8.0 works

    I am programing a measurement application with Borland C++ Builder 6.
    Problem: Every time when I try to start an analog input task with the DAQmxStartTask() command of DAQmx 8.5 the program execution is interrupted and the error message "Invalid floating point operation" is given out. This problem does not occur with DAQmx 8.0 !

    Hello Johannes,
    the error occurs every time, when I try to start an analog voltage input task either with a simulated or a real device (PXI-4472). Changing any of the measurement parameters did not have any effect. I also tried one of the C-source code examples, which came with the original NI-documentation of the DAQmx 8.5 driver, resulting also in the same error.
    However, starting a counter task with a simulated PXI-6601 device worked without any problems !
    Do you have any ideas ?
    Regards,
    Thomas

  • Excel 2013 - Cannot complete this task with available resources

    We were getting this error message when we first updated to Excel 2010. A user would select all of the cells in a workbook, try to do something with them (sort, copy/paste, etc), and Excel would crash or give the above error message about available resources.
    I quickly found and applied a hotfix that addressed the issue, and that was that.
    Now we're having the same issue in Excel 2013 (specifically, Office 365 ProPlus click-to-run installation). Only this time, there are not hotfixes available (because it is click-to-run?) and I'm not sure where to go from here. I have a user who is selecting
    all of the cells in a workbook choosing the option to "Merge and Center", and Excel either freezes at that point or gives the above error message. This is a task he has done daily with these particular workbooks for the last several years without
    issue, that is until moving to Excel 2013.
    Excel was crashing on him regularly after updating to 2013 version, so I replaced his machine with a brand new one and brand new Office installation. He has plenty of memory (machine has 6GB of RAM) and the workbook is not particularly large (a few hundred
    rows and few dozen columns). I do notice that when the error occurs, the memory in use by excel immediately balloons from 80MB to 1.5GB. However the machine is still using less than 50% of its available 6GB at that point.
    I've disabled all add-ins, made sure we're on the latest Excel build (15.0.4517.1005). Not sure what else I can do. Any thoughts?
    Shaun

    Hi, 
    Does it happen with a particular file or with all the files? 
    Is this a shared file? If yes, have you set any password? 
    Create a new file and check if it works. If it helps, then copy the contents of the file to a new file and check if it helps.
    Also, here's a similar case for you to refer:
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-excel/excel-cannot-complete-this-task-with-available/4861a69a-6ce0-4c74-ad45-9012d5edf9f1?msgId=95b69652-0902-4564-9884-952e0ba54e15
    Jaynet Zhang
    TechNet Community Support

  • E75 Synchronizing task with outlook

    I´m using task a lot i outlook but the problem is that when you synchronizing (Using Mail for Exchange) task with E75 then the time is set to 00.00 insted of, example 09:00 that was set in outlook. So when the task "come back" after the synchronizing the task in outlook is set to 00:00. Not good at all. I get the reminder from E75 i the middle of the night.
    Any have the same problem and find any solutions?

    Hi manta, thanks for your reply.
    -do you have contacts both in Outlook and phone ?
    Yes I do.
    - why you don't want your Outlook contacts to phone ?
    I tried that at first, but ended up flooding my phone with a whole lot of contacts that were (1) a duplicate of the ones on my phone and/or (2) were contacts with just emails and no phone numbers (as is the case for many of my outlook contacts).
    My primary objective is to backup my mobile phone addressbook, so that if I lose the phone, I don't lose my important contacts. I was hoping to import mobile -> outlook first, clean up everything, then sync both.
    But it seems even when I sync both ways, the Outlook updates my mobile, but not the other way around.
    - could you create a new contacts folder in outlook and sync the contacts from phone to that empty folder ?
    How do I do that? PC Suite only gives me an option "Microsoft Outlook" or "Outlook Express". It doesn't point to any particular folder.
    Thanks for the help.

Maybe you are looking for