Pre-trigger samples of error parameter

I have problems of acquiring data with pre-trigger samples in the capture of several channels.

If I trigger and capture on the same channel (I tried 1-4) then it works very well, regardless of the number of samples before relaxation together. If I trigger on channel 4 and capture channels 4 and 1 (passed in this order), with no set pre-trigger samples, then it works fine. However, if I trigger on channel 4 and capture channels 4 and 1 (passed in this order), with samples pre-trigger together, then I get the following error:

Error-10621 to AI control. Possible reasons:
NOR-DAQ LV: The specified trigger signal cannot be assigned to the resource for the trigger.

The forum search, I found a few other people who have had the same problem , but they had no solutions. Any ideas?

Thank you Christina, it's a good suggestion. I just discovered that it is a hardware limitation, however.

Tags: NI Software

Similar Questions

  • Pre-trigger samples

    Hello

    I know there are already a lot of messages on pre-trigger samples but I could not understand this problem.

    I have this attached vi measuring through 3 a cards PXI-6133 analog inputs in a PXI-1042 q.

    I want to acquire the pre-trigger and posttrigger signals when I see a rise on the current labeled channel. The VI is executed without error but I don't see no signal pre-trigger waveform graphs. There seems to be no change when I change the pre-trigger input in the VI DAQmx reference trigger samples.

    Thank you!

    Hi pulsed_power,

    It turns out that it is a known bug that has been fixed in new versions shortly DAQmx (must be after DAQmx 9.5). If you do not have the latest version of DAQmx, please upgrade to the latest version compatible with your system. If you still experience this issue, please let me know, because it will have to be updated R & D. The number of report Corrective Action is 332364, for your reference.

    Best,

  • Error in the capture of several channels using pre-trigger

    I have problems of acquiring data with pre-trigger samples during the capture of several channels, using hardware NOR-PXI-6071E and Analog Input VIs in Labview (inheritance OR-DAQ).

    My goal is to trigger a signal, while capturing another. Unfortunately, I can't use the PFI0 for external triggering, as our cables/material have already been built, so I have to use an analog input as the trigger channel. I understand that to do this I must capture the two strings and the string I want to trigger outside must be the first string in the list.

    If I trigger and capture on the same channel (I tried 1-4) then it works very well, regardless of the number of samples before relaxation together. If I capture more than one channel (the channel of the relaxation to a first), with no pre-trigger samples, then trigger and capture both work very well. However, if I do the same thing with pre-trigger > 0 sample I get the following error:

    Error-10621 to AI control. Possible reasons:
    NOR-DAQ LV: The specified trigger signal cannot be assigned to the resource for the trigger.

    I don't have to such limitation explained in the user manual, and the forum search, I found a few other people who have had the same problem but they had no solutions. Any ideas?

    Hi Jackson,

    Unfortunately, this is a hardware limitation when you reference analog trigger via one of the lines to HAVE.

    Please see this knowledge base. Particularly the second paragraph says

    The error-10621 appears immediately when the VI running if you try to assign scans of relaxation before while scanning multiple channels and using one of the entries as your trigger channel.

    Details are explained in the third paragraph:

    Because all the entries are multiplexed before being sent for analog triggering circuit, it is possible that the trigger on the trigger channel conditions might miss while the device is multiplexing by another channel. In this case, the trigger will not be detected.

    It is explained in the E-Series user manual page 10-3.  Specifically the second paragraph of the section entitled "Analog Input Channel".

    Eric S.

  • Pre trigger problems

    Hello

    I'm having some trouble with my project. I can't understand what is wrong. The project involves building a FPGA target that uses a trigger to start sampling data and must also have pre/post trigger functions, but it does not fire when it is supposed to.

    I enclose my program.

    Kind regards

    Tim Jansson

    (It seems that I managed to double post this thread again. I apologize and I hope that it will not cause too many problems)

    Never mind! I solved it!

  • Trigger compiles but error when INSERT

    I wrote this trigger
    --Name: SampleTrigger.sql
    --Version: 0.1
    --Description: This trigger is for Sample Learning Purpose
    --
    CREATE OR REPLACE TRIGGER SampleTrigger
    BEFORE INSERT ON TAB65
    FOR EACH ROW
    DECLARE
    newchar VARCHAR2(1);
    actualissue VARCHAR2(3);
    BEGIN
    IF :new.col7 IS NULL THEN
    :new.col7 := '';
    SELECT ltrim(max(lpad(col7, 3, ' ')),' ') INTO actualissue FROM TAB65 WHERE col1 = :new.col1 AND col2 = :new.col2 AND nvl(col6, 'XXX') = nvl(:new.col6,'XXX');
    IF actualissue IS NULL THEN
    :new.col7 := 'A';
    ELSE
    WHILE LENGTH(actualissue) >= 1 LOOP
    newchar := TRANSLATE(SUBSTR(actualissue, LENGTH(actualissue), 1), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'BCDEFGHIJKLMNOPQRSTUVWXYZA');
    :new.col7 := newchar||:new.col7;
    IF newchar = 'A' THEN
    IF LENGTH(actualissue) = 1 THEN
    :new.col7 := 'A'||:new.col7;
    END IF;
    actualissue := SUBSTR(actualissue, 1, LENGTH(actualissue) - 1);
    ELSE
    :new.col7 := SUBSTR(actualissue, 1, LENGTH(actualissue) - 1)||:new.col7;
    actualissue := '';
    END IF;
    END LOOP;
    END IF;
    END IF;
    END SampleTrigger;
    /
    ALTER TRIGGER SampleTrigger ENABLE;
    I stored this code in the file called trg.sql and then executed as
    sqlplus>@trg.sql
    
    Trigger Created.
    Trigger Altered.
    I even checked the user_triggers tables and my SampleTrigger is there for the table_name TAB65.

    But then, when I try to insert a row into TAB65, it gives the error
    ORA-04088: error during execution of trigger 'SampleTrigger'(ORA-01858: a non-numeric character was found where a numeric was expected
    ORA-06512: at "SampleTrigger", line 8
    ORA-04088: error during execution of trigger 'SampleTrigger')
    No idea what could be the problem? Please help me. Thanks for your time

    EDIT

    If in the case of the TAB65 / / DESC of the table might help you...

    Col1 Number (30)
    Col2 Varchar2(50)
    Col3 Varchar2(30)
    Col4 TIMESTAMP
    Col5 Varchar2 (6) - Not Null
    Col6 Date (DD.MM.YYYY)
    Col7 Varchar2 (5)
    Col8 Number(1)
    Col35 Varchar2(500)
    Col10 Varchar2(3)
    Col11 Varchar2(50)
    Col12 Varchar2(92)
    Col13 Number(4)
    Col14 Varchar2(30) - Not Null
    Col15 Varchar2(100)
    Col16 Varchar2(100)
    Col17 Varchar2(80) - Not Null
    Col18 Varchar2(92) - Not Null
    Col19 Varchar2 (20)
    Col20 Varchar2 (20)
    Col21 Number(5)
    Col22 Number (20)
    Col23 Varchar2 (20)
    Col27 Varchar2 (30)
    Col28 Varchar2(20)
    Col29 Varchar2(20)
    Col31 Number(1)
    Col33 Number(6)
    There are other fields in the TAB65 table as version, PrimaryID, etc.. But I didn't mention them because I have not used these fields in my trigger. So, there must be a problem with the trigger and the table.

    Published by: TuX4EvA on February 1st, 2010 19:38

    Hi TuX4EvA,

    :)

    .... AND nvl(col6, sysdate+1000) = nvl(:new.col6,sysdate+1000);
    

    or

    .... AND decode(col6,NULL,'XXX',to_char(col6,'yyyymmdd')) =  decode(:new.col6,NULL,'XXX',to_char(:new.col6,'yyyymmdd'));
    

    Best regards
    Zhxiang

  • PXI-6254 trigger external start (error-200452)

    Hello

    I have a PXI-6254, I need to start with an external signal, so it is synced with another device, however, regardless of the source, I say to use as a trigger (a PFI, PXI_Trig or PXI_Star line), LabVIEW tells me "error-200452..." The specified property is not supported by the device or is not applicable to the task. "For example, I'm doing a digital output using the example of 'Write dig Chan - Int Clk - Dig Start.vi'.

    Is it really the case that this device cannot be triggered by an external signal? The manual for this device (http://www.ni.com/pdf/manuals/371291h.pdf) implies that it can be triggered externally, and if it is possible, what I am doing wrong?

    See you soon,.

    Simon Coop

    Hello Simon,.

    The error that you are running in as well as the solution is summarized by the following section in the M Series User Manual page 6-3.

    Kind regards

    Izzy O.

    Technical sales engineer

    National Instruments

    www.NI.com/support

  • Message error "parameter is Incorrect" when powering down wide network of password protected sharing

    In the network and sharing Center, when I click on the arrow to option sharing protected by password, select turn off password protected sharing and click on apply, I get an error message saying "the parameter is Incorrect."  In fact, I would keep the Division password protected, but my son is trying to use a printer that is hard, connected to my computer via the wireless network and enter my user name and password.  It also has Vista.  I check the box saying to remember the password on her computer, but it does not work. Whenever he stops his laptop computer and restarts, then try to print, enter my user name and password again!  I need to get Vista to work on one of these computers!

    Hello anderfam,

    Thanks for posting on the Microsoft answers Community Forum.

    (1) make sure that the file and printer sharing is enabled.
    (2) If you are using a computer connected to a "working group", click on the arrow next to password protected sharing to expand this section.  Check if password protected sharing is enabled or disabled.

    If the password sharing is enabled, only people with a user account and password for this computer will be able to access your printer. Disable this option if you want anyone on the network can access the printer you share unless you give then a user account and password.

    Printer sharing:
    ------------------

    To share the printer, configure the printer as a shared printer on the server or the host (the computer connected to the printer).
    Make sure that you install the printer driver on each client or the system remote (computers other than the server).
    It is preferable to obtain the most recent driver of your Web site.
    Also check that the printer is compatible with Windows XP and Windows Vista.

    If Windows XP Professional Edition is the host:

    1. open the Printers window.
    2. click the right button on your printer list, and then select "Sharing" in the menu that appears.
    3. Select 'Share this printer', type a share name for the printer and click on 'OK '. Take note of this name as it will be used later.

    When Windows Vista is the client:
    Install the printer driver
    Use a driver downloaded from the manufacturer's site to install the printer
     
    1. If you use the downloaded driver, double-click the downloaded file, then click on 'run '. The file will then be extracted and start the driver installation.
    2 follow the prompts and continue with the installation until you reach the Setup completed screen appears.
    3. on this screen, check the "Select" printer port box, and then click on the manual button 'Selection '.
    4. Select "" LPT1: port local printer ' and click on 'OK', then click 'Finish'. "
    5. in the Printers window, right-click the printer icon and select 'Properties' (access to the Printers window)
    6. click on the tab "Ports", and then click 'Add Port '.
    7. Select "Local Port" and click "new port" button.
    8. Enter the name of the port using the XP computer name and the name of the printer in the \\ComputerName\PrinterName form and then click 'OK '. Close the Port name window.
    9. click on 'Close' in the Printer Ports window.
    10. the new port poster now as being selected. Click "close".
    11. click on "Install driver" If the following window appears. You are now ready to print.

    Another thing is to make sure that if the firewall windows is that there is an exception specified for sharing files and printing.
    Make sure that all the computers are on the same workgroup. By default, XP machines are set to "MSHOME" while Vista machines are set to "WORKGROUP". They should both say WORKGROUP.

    If please reply back and let us know if these measures have helped to solve your problem or if you need further assistance. We will be happy to help you.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Failed to download twice Win. 10. w 7 home pre. It displays error C1900101-20003.

    * Original title: Windows 10

    Failed to download twice Win. 10. w 7 home pre. on my Dell Inspiron 560.  On the final installation at 19%, it stops and recharge w. 7. (Thanks for that)

    It displays error C1900101-20003

    Wally in Iowa

    Please see the bulletin:

    Retry the upgrade manually:

    Option 1:

    Download the media creation tool

    Click with the right button on the MediaCreationTool.exe file and then click on run as administrator.

    Note: How to check if you are downloaded or installed the update Windows 10 November

    How to create an ISO or USB drive.

    Select upgrade this PC now and then click Next

    Option 2:

    Task of pre-required

    When you make significant changes to your computer for example updated operating system, you must always back up. See the links to resources on the backup by clicking the link for each version of Windows you are using: Windows XP, Windows Vista, Windows 7, Windows 8/8.1

    then

    then

    • Turn off (preferably uninstall) your Antivirus utility before you perform the upgrade.
    • Reboot several times, and then try again.
    • Disable the general USB peripherals (for example - smart card reader).
    • If you are using a SCSI drive, make sure you have the drivers available for your storage on a thumdrive device and it is connected. During the installation of Windows 10, click on the advanced custom Option and use the command load driver to load the driver for the SCSI drive. If this does not work and the installer still fails, consider switching to an IDE based hard drive.
    • Perform a clean boot, restart, and then try again.
    • If you upgrade to the. ISO file, disconnect from the Internet during the installation, if you are connected in LAN (Ethernet) or wireless, disable both, then try to install.
    • If you are updated through Windows Update, when download reaches 100% disconnect from the LAN (Ethernet) Internet or Wi - Fi, then proceed with the installation.
    • If this does not work, try using the. ISO file to upgrade if possible.
    • If you are connected to a domain, go to a local account.
    • If you have an external equipment, attached to the machine, unplug them (example, game controllers, USB sticks, external hard drive, printers, peripherals not essential).
  • Creating UI with sample C++ error

    Hello everyone,

    I'm learn stunts and following the creation of your first sample app.

    https://developer.BlackBerry.com/Cascades/documentation/Getting_started/first_app/lightning_crossfad...

    When you reach this code:

    bool result = connect(opacitySlider,SIGNAL(immediateValueChanged(float)),
            day, SLOT(setOpacity(float)));
    

    There is an error message "Syntax error" appear and the project cannot be generated. I tried the download code sample of git, but he has the same error in this line of code.

    Someone knows how to fix this?

    I tried to create the UI with QML and it works very well.

    Thank you very much.

    Thanks for your time. It can be a strange behavior of the IDE. I just closed it, created a new project and start new and it works.

  • Bad error parameter to insert page number with header and footer.

    Hi I use Adobe Acrobat standard version 7.0.  I am not able to insert page number in the option "header and"footer. "  invited error message like "invalid parameter."  Help, please

    The only available version is DC. You can purchase a permanent license or subscription, which includes future updates. You are at least 7 years too late for a reduced price upgrade.

    I recommend that you use the fi free trial CD on ANOTHER COMPUTER to see if the problem is corrected. Once you uninstall 7 you will be NEVER BE ABLE TO REINSTALL.

  • After insert trigger mutation of error, what is the way to overcome it.

    I have two tables namely profiles_answers and user_profileanswers. Based on the requirement that is: when a user inserts the answer in the table of user_profileanswers I need to calculate the weight-age of this issue with the many options available in the profiles_answers table and update this table user_profileanswers age-weight. So, for that, I wrote the following after trigger insert. But when I try to insert it throws me error mutation. As I update the table, used to insert action in the trigger. Please let me how can know I solve this problem.

    create or replace

    AI_weightageCaluculation TRIGGER AFTER

    FOR EACH row INSERT on user_profileanswers

    BEGIN

    DECLARE

    v_a VARCHAR2 (50);

    YaeUb VARCHAR2 (50);

    V_c VARCHAR2 (50);

    v_d VARCHAR2 (50);

    ve VARCHAR2 (50);

    a_weightage NUMBER;

    b_weightage NUMBER;

    c_weightage NUMBER;

    d_weightage NUMBER;

    e_weightage NUMBER;

    BEGIN

    SELECT option_a, option_b, option_c, option_d, option_e IN

    v_a, YaeUb, v_c, v_d, profiles_answers FROM ve

    WHERE profile_questions_id =: new.profilequestion_id;

    IF (v_a IS NOT NULL AND YaeUb IS NOT NULL AND v_c IS NOT NULL AND v_d IS NOT NULL AND EV IS NOT NULL) THEN

    BEGIN

    a_weightage: = 85;

    b_weightage: = 60;

    c_weightage: = 45;

    d_weightage: = 30;

    e_weightage: = 15;

    END;

    ELSIF (v_a IS NOT NULL AND YaeUb IS NOT NULL AND v_c IS NOT NULL AND v_d IS NOT NULL AND ve IS NULL) THEN

    BEGIN

    a_weightage: = 85;

    b_weightage: = 60;

    c_weightage: = 30;

    d_weightage: = 15;

    END;

    ELSIF (v_a IS NOT NULL AND YaeUb IS NOT NULL AND v_c IS NOT NULL AND v_d IS NULL AND ve IS NULL) THEN

    BEGIN

    a_weightage: = 85;

    b_weightage: = 45;

    c_weightage: = 15;

    END;

    ON THE OTHER

    BEGIN

    a_weightage: = 85;

    b_weightage: = 15;

    END;

    END IF;

    IF: new.answer = 'A' THEN

    BEGIN

    UPDATE user_profileanswers

    SET weightage = a_weightage

    WHERE user_id =: new.user_id

    AND profileanswer_id =: new.profileanswer_id

    AND profilequestion_id =: new.profilequestion_id;

    END;

    ELSIF: new.answer = 'B' THEN

    BEGIN

    UPDATE user_profileanswers

    SET weightage = b_weightage

    WHERE user_id =: new.user_id

    AND profileanswer_id =: new.profileanswer_id

    AND profilequestion_id =: new.profilequestion_id;

    END;

    ELSIF: new.answer = 'C' THEN

    BEGIN

    UPDATE user_profileanswers

    SET weightage = c_weightage

    WHERE user_id =: new.user_id

    AND profileanswer_id =: new.profileanswer_id

    AND profilequestion_id =: new.profilequestion_id;

    END;

    ELSIF: new.answer = ' THEN

    BEGIN

    UPDATE user_profileanswers

    SET weightage = d_weightage

    WHERE user_id =: new.user_id

    AND profileanswer_id =: new.profileanswer_id

    AND profilequestion_id =: new.profilequestion_id;

    END;

    ON THE OTHER

    BEGIN

    UPDATE user_profileanswers

    SET weightage = e_weightage

    WHERE user_id =: new.user_id

    AND profileanswer_id =: new.profileanswer_id

    AND profilequestion_id =: new.profilequestion_id;

    END;

    END IF;

    END;

    END;

    Thanks in advance.

    Hmm... Why do after insertion?

    CREATE OR REPLACE TRIGGER BI_weightageCaluculation

    FRONT INSERT ON user_profileanswers FOR EACH ROW

    BEGIN

    SELECT BOX: NEW. RESPONSE

    WHEN 'A' a_weight THEN

    WHEN 'B' THEN b_weight

    WHEN 'C' THEN c_weight

    When ' THEN d_weight

    Of OTHER e_weight

    END

    in: new.weightage

    (SELECT 85 a_weight

    Case option_result

    WHEN 31 THEN 60

    WHEN 15 THEN 60

    WHEN 7 THEN 45

    another 15

    end b_weight

    Case option_result

    WHEN 31 THEN 45

    WHEN 15, THEN 30

    When 7 then 15

    END c_weight

    Case option_result

    WHEN 31 THEN 30

    When 15 then 15

    END d_weight

    Case option_result

    WHEN 31 THEN 15

    END e_weight

    FROM (SELECT DECODE (option_a, NULL, 0, 1) +)

    Decode (option_b, NULL, 0, 2) +.

    Decode (option_c, NULL, 0, 4) +.

    Decode (option_d, NULL, 0, 8) +.

    Decode(option_e,,0,16) option_result

    OF profiles_answers

    WHERE profile_questions_id =: new.profilequestion_id));

    END;

    /

    HTH

  • OBIEE Sample App Error

    Hello everyone,

    When I want to study on obiee apps url sample;  http://slc02ojr.Oracle.com:7780 / Analytics

    I can't change the analysis and see the contents. In addition, I can't create new analysis etc... It gives an error and lock the page. I can't click on the results, the guests, the Advanced tab.

    So, I see that the results of dashboards

    err.jpg

    err2.jpg

    What can be the problem?

    Please help me.

    Kind regards

    Dilek

    Chrome has not taken in charge very well on an earlier version of OBIEE 11 g it's maybe very well in this case.

    http://slc02ojr.Oracle.com:7780/Analytics/running SampleApp v309 which I think is OBIEE 11.1.1.7.1.

    Try instead Firefox (or IE, but not too modern, not too old).

  • Database checks pre-installation of warning/error

    I need help, find a solution to the question below.

    Details of control system:

    Checks of preinstallation of database

    These controls may take a few minutes...

    command: cmd.exe /c C:\stage122\startCD\Disk1\rapidwiz\bin\checkOS.cmd

    C:\stage122\startCD\Disk1\rapidwiz > ECHO OFF

    File not found

    File not found

    FINDSTR: Cannot open C:\Users\ADMINI~1\AppData\Local\Temp\2\\

    (all was unexpected at this time.

    RW-50011: error:-test version of the fix/operating system returned an error: 255Database pre-installation checks completed.

    This is the only error I get on install. Let me know if any other information is needed for the resolution.

    I would like to redo the installation of the database-level node and the password apps would be 'apps' default.

    You can share the directory of the scene between the nodes.

    Thank you

    Hussein

  • vCO WebView error - parameter value is not defined in the list of the Webview attribute

    Hello

    I tried to create a simple web view for Orchestrator (5.5.1 1617127), who will present a link to launch a single workflow. I followed the instructions in the Guide of VMware and the VCO Team Blog, but both find themselves with similar errors, which seem to have a common root: it seems that the display of web pages can not read the attributes.

    On the web page, I'll see something similar to the following:

    WebView - an exception has occurred.

    Reason: WorkflowLink component error: value of the parameter "attribute" (alias "workflow") ("createVM") is not defined in the list of the Webview attribute

    You may continue by restarting the session.

    In the server.log, I see the following: -.

    11:46:04.717 2014-10-02 + 0100 [http-bio-xxx.xxx.xxx.xxx-8281-exec-2] {} [WebviewExceptionPage] Exception Webview INFO - message:

    org.apache.hivemind.ApplicationRuntimeException: component error WorkflowLink: "attribute" parameter value (alias "workflow") ("createVM") is not defined in the list of the Webview attribute

    The createVM attribute is set in the correct web view as an attribute with a Type of Workflow and value to create simple virtual machine. I get a similar error any attribute type I try to get out of the workflow (the example of getVirtualMachineList does not create an error on the page, but is not fill the window and creates a similar message appears in the log).

    Can someone give me directions on what to watch next? I can't find anyone else with this error, which makes me think it might be something specific to this medium, but I can't work on what it could be.

    Thanks in advance,

    Ben

    I had the time this by restarting the service after each new attribute has been added, which was far from perfect, but looking around the forums, I have seen that WebViews were being obsolete, so I'll have to look at alternatives in any case.

  • Code of the trigger with the error table mutation

    I have 2 tables, cc_call_lists and cc_call_issues. I have a trigger on the table of cc_call_issues so that when the priority is updated I can determine how to set Issue_Priority.

    Basically, the priority update for an Issue_Id I need to update the I want to watch Issue_ids of all the participating on the cc_call_lists table and determine how to update the Issue_Priority column.

    Issue_Priority must always be the first priority of the table cc_call_issues for Issue_id records in the cc_call_lists table. So when I need to watch all changes priority priority values for which the Participant has records in the cc_call_lists table and take the max value priority after the record is updated.

    Unfortunately, I get the following error message when the trigger is activated:

    ORA-04091: table TTMS. CC_CALL_ISSUES is changing, function of triggering/can not see
    ORA-06512: at «TTMS.» UPDATEISSUEPRIORITY', line 30
    ORA-04088: error during execution of trigger ' TTMS. UPDATEISSUEPRIORITY'

    Is there a work around which is not too complicated? Any help would be greatly appreciated.


    Table: cc_call_lists
    Name
    -----------------
    PARTICIPANT_TYPE
    PARTICIPANT_ID
    LAST_ACCESS_DT
    LAST_ACCESS_BY
    CREATE_DT
    CREATE_BY
    MODIFY_DT
    MODIFY_BY
    CALL_STATUS
    CALL_PRIORITY


    Table: cc_call_issues
    Name
    -----------------
    ISSUE_ID
    ISSUE_DESCR
    DEACTIVATION_DT
    PRIORITY
    CREATE_DT
    CREATE_BY
    MODIFY_DT
    MODIFY_BY

    Trigger on cc_call_issues code:
    CREATE OR REPLACE TRIGGER TTMS.UpdateIssuePriority
    BEFORE UPDATE
    OF PRIORITY
    ON TTMS.CC_CALL_ISSUES 
    REFERENCING NEW AS New OLD AS Old
    FOR EACH ROW
    DECLARE
    tmpMaxPriority number:=0;
    
    -- Get list of all participants call queue records, existing priority who also have a participant issue record with this issue code
    cursor c1 is
    select a.participant_id, a.call_priority
    from cc_call_lists a, cc_participant_issues b
    where 
      a.participant_id = b.participant_id
      and b.issue_id = :new.issue_id
      and b.issue_status = '001'
      and a.call_status <> '003';  -- Not closed already
    
    BEGIN
        for thisone in c1 loop
                -- Get the existing highest priority
                select nvl(max(b.priority),0)
                into tmpMaxPriority
                from cc_participant_issues a, cc_call_issues b
                where
                  a.issue_id = b.issue_id and
                  a.participant_id = thisone.participant_id;
                  
                -- Update it if the new priority value is higher than the existing call queue record priority
                if :new.priority > tmpMaxPriority then
                        update cc_call_lists
                        set call_priority = :new.priority
                        where participant_id = thisone.participant_id; 
                elsif :new.priority < tmpMaxPriority then
                        update cc_call_lists
                        set call_priority = tmpMaxPriority
                        where participant_id = thisone.participant_id; 
                end if;
        end loop;
    END UpdateIssuePriority;
    /

    Move the level of LINE at the STATEMENT level triggers, see:
    http://www.Oracle-base.com/articles/9i/mutating-table-exceptions.php
    http://asktom.Oracle.com/pls/asktom/asktom.download_file?p_file=6551198119097816936

Maybe you are looking for

  • I want icon to stay there until I have openedd messages.

    When reinstalled Thunderbird hard drive replaced. Now the tray re icon new messages only very briefly, there rather than to what messages have been opened - which is what I'm used to I want to come back. Why this feature has disappeared? I had it bef

  • What are the options to programmaticaly create new channels of i/o hardware?

    I saw a post that usescustom channels to possibly do what I want to do. I was wondering other options available, for no custom devices? I have a set of AIs, AOs, tell and back. Instead of manually enter, I just want to do it programmatically. It's ok

  • componet 485 communication

    Hello is there an element of 485 communication, both single direction and communication in two ways. or where I can find this model problem of the anther, in multisim library, having a component of communication infrad Red? Thank you!

  • Where can I find driver for MS Wireless MultiMedia Keyboard 1.1 model 1014

    I am running XP Pro 64-bit, 8 GB of Ram.  I recently had to format my HD and everything... to reinstall all the software programs and hardware connected.  This includes the keyboard listed in the title of this message.  Everything works... MS Wireles

  • HP C6380 ink cartridge

    How can I find the amount of ink remaining in the cartridge?