Cabrio VTR trigger with v2

I made the v2 firmware on my F5 and VTR switch still does not work on my Cabrio 19-90mm

I did a 'reset all' on the camera.

The interface of the lens is on Type C.

The dipswitches on the lens are in the right position.

Can anyone help?

Thxs

I have it
Thxs Jiri

Tags: Large Sensor Cameras

Similar Questions

  • trigger with: new and: old to compare the values

    Jin
    I want to use the trigger with: new: old to compare the old values with new ones.
    I have an employee of the table

    Name Null? Type
    ENO NOT NULL NUMBER 4
    ENAME VARCHAR2 (20)
    SALARY NUMBER (10.2)

    now I want to set up a trigger so that it checks everything by inserting the values as part of if
    the insertion of salary value is greater than the last salary (line) table. If it fails, then it will be
    raises an application error.
    I can't write this code as is return errors.
    Thank you

    Published by: user13371438 on Sep 6, 2010 03:00

    Please share the code you have written to achieve so far.

  • Clock and hw external trigger with USB-6210 on Linux with NOR-DAQmx Base?

    I have two devices USB-6210 I need to synchronize so that they both collect data exactly at the same time. I was told by support OR I can send the clock off Dev1/PFI4 and have the two USB-6210 s read the clock in through their own PFI0. I also want to trigger data collected for each device by sending a trigger off Dev1/PFI6 and have two devices to receive the signal on PFI2.

    All my attempts to try this are filled with error messages and my research online seem to say that's not possible with USB devices on NOR-DAQmx Base 3.4.0f2 on Linux.

    I "ve tried using example AI programs and those who do not seem to work either for external clocks. Here is the code I tried:

    #include "NIDAQmxBase.h"#include 
    
    #define DAQmxErrChk(functionCall) { if( DAQmxFailed(error=(functionCall)) ) { goto Error; } }
    
    int main(void){    // Task parameters    int32       error = 0;    TaskHandle  taskHandle = 0;    char        errBuff[2048]={'\0'};    int32       i;
    
        // Channel parameters    char        chan[] = "Dev1/ai0";    float64     min = -10.0;    float64     max = 10.0;
    
        // Timing parameters    char        clockSource[] = "/Dev1/PFI7";    uInt64      samplesPerChan = 1000;    float64     sampleRate = 10000.0;
    
        // Data read parameters    #define     bufferSize (uInt32)1000    float64     data[bufferSize];    int32       pointsToRead = bufferSize;    int32       pointsRead;    float64     timeout = 10.0;
    
    printf("Calling CreateTask...\n");    DAQmxErrChk (DAQmxBaseCreateTask("",&taskHandle));printf("Calling CreateAIVoltageChan...\n");    DAQmxErrChk (DAQmxBaseCreateAIVoltageChan(taskHandle,chan,"",DAQmx_Val_Cfg_Default,min,max,DAQmx_Val_Volts,NULL));printf("Calling CfgSampleClkTiming...\n");    DAQmxErrChk (DAQmxBaseCfgSampClkTiming(taskHandle,clockSource,sampleRate,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,samplesPerChan));printf("Calling StartTask...\n");    DAQmxErrChk (DAQmxBaseStartTask(taskHandle));printf("Calling ReadAnalogF64\n");    DAQmxErrChk (DAQmxBaseReadAnalogF64(taskHandle,pointsToRead,timeout,DAQmx_Val_GroupByChannel,data,bufferSize,&pointsRead,NULL));
    
        printf ("Acquired %d samples\n", pointsRead);
    
        // Just print out the first 10 points    for (i = 0; i < 10; ++i)        printf ("data[%d] = %f\n", i, data[i]);
    
    Error:    if( DAQmxFailed(error) )        DAQmxBaseGetExtendedErrorInfo(errBuff,2048);    if(taskHandle != 0) {        DAQmxBaseStopTask (taskHandle);        DAQmxBaseClearTask (taskHandle);    }    if( DAQmxFailed(error) )       printf ("DAQmxBase Error %d: %s\n", error, errBuff);    return 0;}
    

    When I run the resulting program, I see this:

    $. / acquireNScans-ExtClk
    The CreateTask call...
    Call for CreateAIVoltageChan...
    Call for CfgSampleClkTiming...
    Error-89136 DAQmxBase: route specified cannot be satisfied, because the hardware does not support it.

    For example, a clock and a trigger can be imported via one of the PFI lines by using a USB-6210 on Linux with NOR-DAQmx Base? A clock and a trigger exportable via one of the PFI lines?

    If so, does anyone have the code example illustrating how to do this, or can you at least tell me the names of the lines ("PFI0/Dev1" or other) so I can try again?

    Clues or suggestions would be helpful.

    Thank you

    -Tom

    The clockSource in the example specifies an output rather than an input channel channel. Change source "/ Dev1 / PFI0" solved the problem.

    Please close this post.

  • Repeating the trigger with Start.Retriggerable

    I have a DAQ PCI-6259 (M-series card) card I am programming with DAQmx. I would like to know if there is a limit in terms of how close together you can use Extensible triggers. I intend to use a frequency of internal clock to 1us. An asynchronous external TTL signal will be used to trigger a finite sequence of digital output of the 6259. The finished digital sequence is 4 samples of long, so it will take 4us. The edges of the asynchronous trigger will happen on every 100us. I intend to use the property Start.Retriggerable = TRUE trigger so that I can repeat this generation 4 sample every time the external TTL signal is received.

    Is 100us too close together? Is there a limit to how closely together, you can repeat a hardware trigger when using Start.Retriggerable = TRUE?

    Is it possible to know if my card PCI-6259 even supports the property trigger Start.Retriggerable?

    100 US will be very well (time to rearm is the order of a tick or two, 10 timebase s ~ ns).

    However, the M series supports digital output directly redeclenchables not.  Instead, configure a redeclenchables counter finished output to generate impulses 4 to 1 MHz (this example uses two counters embedded M-series).  Use the output of the internal counter as the sample for a task of digital output clock continuous who will repeat your 4 sample sequence.

    Best regards

  • before trigger with four cards PXI-6115

    Hello

    I have a PXI-1010 chassis with four cards PXI-6115, labeled boards 3, 4, 5, 6, installed in it.  Each of these cards has 4 analog inputs (BNC inputs).  In my current system, all four boards fire off the coast of the entrance on first 3 analog.  I'm using an analog trigger mounted on Board 3, which then triggers a trigger digital beginning on the boards, 4, 5 and 6.

    Now, I would be able to take samples before firing.  I worked on this for a while and that seems to happen is that 3rd Chess Board properly triggers and takes samples of relaxation before, but plates 4, 5 and 6 are somehow trigger too late or early or something - they never record my test signal input of.

    Can someone help me understand where I'm going wrong here?  I enclose my VI and also a picture of the important part of my block diagram.

    Thank you!

    It could be that you connect the number of samples per channel in the clocks of the sample for tables 4, 5 and 6. This will ensure that the task creates a buffer on your PC that is large enough to accommodate all the samples you want to read.

    Also, why did you remove the structure of sequence? You need to ensure that the advice of slaves were armed in front of the master bedroom.

    Here is a link to an example similar to what you're trying to do. This example acquires the data at different speeds on different boards, but it seems that everything is identical to what you are doing. I think it might be useful for you: https://decibel.ni.com/content/docs/DOC-11698

    Jeremy P.

  • redeclenchables out initial varaible on each trigger with delay

    I'm trying to implement a redeclenchables generation digital pulses of the train on 6363 PCIe with LabVIEW with the additional feature of an initial delay variable.

    For example:

    -J' have a fixed pulse train

    -After the 1st trigger, it is generated without delay

    -2nd after trigger, there is a delay of 10µs

    -Each subsequent trigger increases the delay of 10µs

    I tried to do by writing new samples to the digital output, which include an initial delay. Since it merely controls how the buffering is managed this does not seem to work reliable with reboot and redeclenchables ouput.

    Is there another way to do this using a perhaps additional internal counter for the generation of delay?

    Thank you

    Christoph

    I would look at using an additional counter that your delay generator.  There is a counter property called

    Delay 'auto increment Count', which lets specify you such a regularly increasing.  Here is one

    DevZone article and example that should help get you started.

    The idea is that the extra meter comes between your initial trigger signal and the

    pulse train finish that you want to generate.  The additional counter made its own triggered impulse

    with time growing after the initial trigger and your finite pulse train gets triggered by

    This additional counter output.

    -Kevin P

  • How can I send a GET command (Group execute Trigger) with the "VISA write VI"?

    I have an old Type of Yokogawa (1981) 2553 (DC voltage current Standard) with a GPIB and an Agilent converter USB to GPIB interface. So I write my orders using the "VISA write VI. According to the manual, I send the GET command after the other commands. How can I do this?  I tried to use the GPIB VI, instead of VISAS, but I always got the error 7: "NOR-488: Interface GPIB not found '...

    You cannot use the low-level GPIB functions because you are an Agilent controller. The low-level functions are only for the OR.

    Visa application, use the trigger to make visa.

  • 600ex trigger with an another ST - E3 with a ST - E3

    Hello

    I am two 600ex-rt and two st - e3.

    with 2 st - e3, I know that I can trigger the 3 5 to take the picture wireless using a st - e3 on the 5 d 3 and hand holding the other st - e3. with this configuration in mind, can I also trigger a 600ex-rt to trigger too with the click of the shutter on the 5 d 3?

    Thank you

    Scott

    I just did a quick test... I do not have a ST-E3-RT so I had to do so because of a couple of 600EX-RTs.

    BUT... I used one on the camera of the RT-600EX as the master.  Then, I used a 2nd 600EX-RT as a slave and used the trigger on the slave.

    The slave said the captain to the fire, the master then tells the camera to take the picture and all plays as if I had used the shutter of the camera the camera makes all the stuff of E - TTL II (count & pre flash metering, power levels of all on the strobes and then takes the hit).  The two flashes of fire.

    If its allure for me than the distant light can do the same thing by pressing the shutter button on the camera.

    The camera will usually need to focus before in this case, so I have previously focused on the 5 d III and then put the lens in manual focus mode so that the focus would not be a problem.

    BTW, in the case where any who which _not_ own a 5 D III (or a camera made in 2012 or after) reads this... it will not work with any Canon camera.  The new cameras has the ability to communicate with these new radio-triggered flashes through the hot-shote.  I have a 5 d II, for example and it will work _not_ via the hoof on a 5 d II, but Canon made an accessory cable.  The flashes 600EX-RT actually have a record on them which connects to the output port wired remote shutter release on the older cameras camera body.  I tested the ability of remote shooting with my 5 d II (using the cable) and it works.

  • Digital start and stop trigger with restart HW

    Hello

    I am trying to write a program that reads continually samples based on the rise and fall of a digital triggering.  I want the measure to start on the front of the trigger and stop on the falling edge of the trigger.  I want the data that are read to be preserved and then added with the next set of data that the trigger rises again.  I have read the tutorial "Digital start and stop trigger" and can use the reference to stop the measurement process and I looked at the example "Acq & chart voltage - Int Clk - HW Trig restarts ' that comes with LabVIEW and I can get the two of them working separately with my request.  I'm quite confused however try to put the two together (see attachment).

    If I put a "Start.vi" icon inside the while loop then I get an error "you can do this while the measure is still ongoing".  If I put it out of the loop and then the process only runs once.  I tried to put a loop structure case for restart only if necessary, but this has produced another error which the source escapes me.  Is there a standard way to do this and if so someone can point me in the direction of an example?

    See you soon,.

    Glen

    I think that in this situation, it would be preferable to use a Pause trigger.  You can use the break to stop the acquisition when the trigger was low and start when the trigger is high.  In this way, served only for the duration of your trigger pulse.  I've attached a screenshot of a VI that illustrates this principle in action.

  • 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

  • Trigger with a transfer error

    I had a problem in class that to define a trigger that would update a sales table when an order has been placed (this information is stored in another table). Thanks for any help.

    The Question in the gist:

    A trigger is needed so that every time an order is confirmed (when ORDERPLACED is set to 1 in the table bb_basket) the bb_sale_sum table is updated accorddingly.

    This is my code so far:

    CREATE OR REPLACE TRIGGER bb_salesum_trg
    After the UPDATE of orderplaced WE bb_basket
    for each line
    When (old.orderplaced <>1 and new.orderplaced = 1).
    declare
    Number of lv_tot_num (7.2);
    Number of lv_qty_num (7.2);
    number of lv_id_num (3,0);
    Start
    Select b, b.quantity, bi.idproduct
    in lv_tot_num, lv_qty_num, lv_id_num
    of bb_basket b, bb_basketitem bi
    where bi.idbasket = b.idbasket;
    Update bb_sales_sum
    Set tot_qty = tot_qty + lv_qty_num
    where idproduct = lv_id_num;
    Update bb_sales_sum
    Set tot_sales = tot_sales + lv_tot_num
    where idproduct = lv_id_num;
    END;
    /

    Update bb_basket
    Set orderplaced = 1
    where idbasket = 3;


    And then my mistake:

    Error from the 281 in command line:
    Update bb_basket
    Set orderplaced = 1
    where idbasket = 3
    Error report:
    SQL error: ORA-04091: table SYSTEM. BB_BASKET is changing, function of triggering/can not see
    ORA-06512: at "SYSTEM. BB_SALESUM_TRG', line 6
    ORA-04088: error during execution of trigger ' SYSTEM. BB_SALESUM_TRG'
    04091 00000 - "table %s.%s is changing, function of triggering/can not see.
    * Cause: A trigger (or plsql user-defined function that is referenced in)
    This statement) attempted to watch (or modify) a table that has been
    in the Middle being modified by the statement that shot.
    * Action: Rewrite the trigger (or function) so it does not read this table.


    * I guess I get this error because I try to use TOT_QTY & TOT_SALE of my most while I'm updateing as column.* *.


    Here are three tables I think I need for this problem:

    CREATE TABLE bb_Basket)
    idBasket number (5),
    Quantity number (2),
    idShopper number 4,
    OrderPlaced number (1).
    Total part number (7.2).
    The number total (7.2).
    Number (5.2) of the expedition.
    Number (5.2) tax.
    date of dtCreated by DEFAULT SYSDATE,
    Promo number (2),
    ShipFirstName varchar2 (10),
    ShipLastName varchar2 (20).
    ShipAddress varchar2 (40),
    ShipCity varchar2 (20).
    ShipState varchar2 (2),
    ShipZipCode varchar2 (15).
    ShipPhone varchar2 (10),
    ShipFax varchar2 (10),
    ShipEmail varchar2 (25).
    BillFirstName varchar2 (10),
    BillLastName varchar2 (20).
    BillAddress varchar2 (40),
    BillCity varchar2 (20).
    BillState varchar2 (2),
    BillZipCode varchar2 (15).
    BillPhone varchar2 (10),
    BillFax varchar2 (10),
    BillEmail varchar2 (25).
    date of dtOrdered by DEFAULT SYSDATE,
    ShipProvince varchar2 (20).
    ShipCountry varchar2 (20).
    BillProvince varchar2 (20).
    BillCountry varchar2 (20).
    CardType char(1),
    CardNumber varchar2 (20).
    ExpMonth tank (2),
    ExpYear char (4),
    CardName varchar2 (25).
    char (1) default 'n' shipbill,
    Default char (1) ShipFlag 'n',
    Bskt_id_pk KEY (idBasket) PRIMARY, the CONSTRAINT
    CONSTRAINT bskt_idshopper_fk FOREIGN KEY (idShopper)
    REFERENCES bb_Shopper (idShopper));
    Create sequences bb_idBasket_seq
    start with 25;
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (3, 3, 21, 1, 26.60, 32.40, 5.00,.80, 23 January 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (4, 1, 21, 1, 28.50, 34.36, 5.00,.86, 12 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (5, 4, 22, 1, 41,60, 48,47, 5.00, 1.87, 19 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (6, 3, 22, 1, 149.99, 161,74, 5.00, 6.75, 1 March 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (7, 2, 23, 1, 21.60, 27.25, 5.00,.65, 26 January 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (8, 2, 23, 1, 21.60, 27.25, 5.00,.65, 16 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (9, 2, 23, 1, 21.60, 27.25, 5.00,.65, 2 March 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (10, 3, 24, 1, 38.90, 45,65, 5.00, 1.75, 7 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (11, 1, 24, 1, 10: 00 am, 3:45 pm, 5.00,.45, 27 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (12, 7, 25, 1, 72,40, 83,66, 8.00, 3.26, 19 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (13, 2, 26, 0, 20 h 00, 0, 0, 0, 9 February 07 ', 0);
    insert into bb_basket (idbasket, quantity, idshopper, orderplaced, partial, total, shipping, tax, dtcreated, promo)
    values (14, 0, 26, 0, 0, 0, 0, 0, 10 February 07 ', 0);
    Update bb_basket
    Set dtordered = dtcreated;
    Update bb_basket
    Set dtordered = NOTHING
    where orderplaced = 0;

    CREATE TABLE bb_basketItem)
    idBasketItem number (2),
    idProduct number (2),
    Price number (6.2),
    Quantity number (2),
    idBasket number (5),
    option 1 number (2),
    option2 number (2),
    CONSTRAINT bsktitem_id_pk PRIMARY KEY (idBasketItem).
    CONSTRAINT bsktitem_bsktid_fk FOREIGN KEY (idBasket)
    REFERENCES bb_Basket (idBasket),
    CONSTRAINT bsktitem_idprod_fk FOREIGN KEY (idproduct)
    REFERENCES bb_Product (idproduct));
    Create sequences bb_idBasketitem_seq
    start with 50;
    insert into bb_basketItem
    values (15, 6, 5.00, 1, 3, 1, 4);
    insert into bb_basketItem
    values (16, 8, 10.80, 2, 3, 2, 4);
    insert into bb_basketItem
    values (17, 4, 28.50, 1, 4, NULL, NULL);
    insert into bb_basketItem
    values (18, 7, 10.80, 1, 5, 2, 3);
    insert into bb_basketItem
    values (19, 8, 10.80, 1, 5, 2, 3);
    insert into bb_basketItem
    values (20, 9, 10 h 00, 1, 5, 2, 3);
    insert into bb_basketItem
    values (10, 21, 10 h 00, 1, 5, 2, 3);
    insert into bb_basketItem
    values (22, 10, 10: 00, 2, 6, 2, 4);
    insert into bb_basketItem
    values (23, 2, 129.99, 1, 6, NULL, NULL);
    insert into bb_basketItem
    values (24, 7, 10.80, 1, 7, 2, 3);
    insert into bb_basketItem
    values (25, 8, 10.80, 1, 7, 2, 3);
    insert into bb_basketItem
    values (26, 7, 10.80, 1, 8, 2, 3);
    insert into bb_basketItem
    values (27, 8, 10.80, 1, 8, 2, 3);
    insert into bb_basketItem
    values (28, 7, 10.80, 1, 9, 2, 3);
    insert into bb_basketItem
    values (29, 8, 10.80, 1, 9, 2, 3);
    insert into bb_basketItem
    values (30, 6, 5.00, 1, 10, 1, 3);
    insert into bb_basketItem
    values (31, 8, 5.40, 1, 10, 1, 3);
    insert into bb_basketItem
    values (32, 4, 28.50, 1, 10, NULL, NULL);
    insert into bb_basketItem
    values (33, 9, 10 h 00, 1, 11, 2, 3);
    insert into bb_basketItem
    values (34, 8, 10.80, 2, 12, 2, 3);
    insert into bb_basketItem
    values (35, 9, 10 h 00, 2, 12, 2, 3);
    insert into bb_basketItem
    values (36, 6, 10 h 00, 2, 12, 2, 3);
    insert into bb_basketItem
    values (37, 7, 10.80, 1, 12, 2, 3);
    insert into bb_basketItem
    values (38, 9, 10 h 00, 2, 13, 2, 3);
    CREATE TABLE bb_sales_sum
    (idProduct NUMBER (2),)
    tot_sales NUMBER (7.2).
    tot_qty, NUMBER (5.2));
    INSERT INTO bb_sales_sum (idProduct, tot_sales, tot_qty)
    VALUES (6, 100, 10);
    INSERT INTO bb_sales_sum (idProduct, tot_sales, tot_qty)
    VALUES (8, 100, 10);

    >
    Well, I didn't belive that's what I do.
    >
    Well that's exactly what you do

    select b.total, b.quantity, bi.idproduct
    into lv_tot_num, lv_qty_num, lv_id_num
    from bb_basket b, bb_basketitem bi
    where bi.idbasket = b.idbasket;
    

    you query the table bb_basket ('from bb_basket') inside the trigger that updates the bb_baske table. This will give the error table mutation as just pointed out.

  • SimpleButton trigger with typing animation

    I have a virtual keyboard on the screen, with SimpleButtons for each of the keys on the keyboard.  In addition to using the on-screen keyboard, I want to allow both a physical keyboard input.

    Everything works, but I'm looking for a way to trigger the top/bottom/reversal of the SimpleButton animation if the user uses the keyboard.  Is this possible?  I'm already capturing the strike news and comparison with the SimpleButton control, but I don't know how to get the button play.

    Thank you!

    You can have a little chance to play with the States. This is a simplistic example:

    import flash.display. *;
    import flash.events. *;

    function getRectShape(width:Number,_height:Number,_color:uint):Shape
    {
    var result: Shape = new Shape()
    with (result.graphics)
    {
    beginFill (color, 1);
    drawRect (0,0,width,height);
    endFill()
    }
    return the result;
    }

    var b1:SimpleButton = new SimpleButton (getRectShape (25,25,0xff0000),
    getRectShape (25,25,0xffff00),
    getRectShape (25,25,0xff00ff),
    getRectShape (25,25,0xffffff)
    );
    B1.x is B1.y = 25;.
    addChild (b1)
    var b2:SimpleButton = new SimpleButton (getRectShape (25,25,0xff0000),
    getRectShape (25,25,0xffff00),
    getRectShape (25,25,0xff00ff),
    getRectShape (25,25,0xffffff)
    );
    B2.x = 60; B2.y = 25;
    addChild (b2)

    B1.addEventListener (MouseEvent.MOUSE_DOWN, h);
    B1.addEventListener (MouseEvent.MOUSE_UP, h);
    B1.addEventListener (MouseEvent.MOUSE_OVER, h);
    B1.addEventListener (MouseEvent.MOUSE_OUT, h);

    var saveUpState:DisplayObject = null;

    function h(event:MouseEvent)
    {
    if(!saveUpState) {saveUpState = b2.upState ;}
    Switch (Event.type)
    {
    case MouseEvent.MOUSE_DOWN:
    B2.upState = b2.downState; break;
    case MouseEvent.MOUSE_OUT:
    B2.upState = saveUpState; break;
    case MouseEvent.MOUSE_UP:
    case MouseEvent.MOUSE_OVER:
    B2.upState = b2.overState; break;

    }
    }

  • Email not sent by INSERT trigger with utl_mail

    Hello
    I have a trigger that is sending an e-mail whenever a particular column (ATTRIBUTE11) is inserted with the value or updated.
    E-mail should be sent when the table (ATTRIBUTES) is inserted with a value of ATTRIBUTE11 (IE, ATTRIBUTE11 is not null)
    An email must not be sent on the update of the same value in this column (former. ATTRIBUTE11 = new. ATTRIBUTE11) and also an email must not be sent if the table is inserted without value in ATTRIBUTE11

    ATTRIBUTES of table has a structure:
    Account varchar2 (20);
    Attribute11 varchar2 (20);
    user_name varchar2 (20);

    Triggering factor:
    CREATE OR REPLACE TRIGGER "TPP_SND_EMAIL".
    AFTER INSERTION OR UPDATE OF ATTRIBUTE11
    ON GENEVA_ADMIN ATTRIBUTES.
    REFERRING AGAIN AS NINE OLD AND OLD
    FOR EACH LINE
    WHEN)
    OLD. ATTRIBUTE11 <>NEW. ATTRIBUTE11
    )
    DECLARE
    MSGBODY varchar2 (50);
    BEGIN
    () UTL_MAIL. Send
    sender = > "hemanth11"yahoo.co.in"
    recipients = > "[email protected]"
    subject = > "Test mail through utl_mail.send."
    message = > msgbody,.
    mime_type = > ' text/plain '.
    );
    EXCEPTION
    WHILE OTHERS THEN
    dbms_output.put_line (' error: ' |) SQLERRM);
    END TPP_SND_EMAIL;
    /

    * One Email is not sent whenever a new row is inserted in this table whose value ATTRIBUTE11 (this happens). *
    The trigger is activated an email successfully each time an update happens on the column.

    Do we not have an option to manage the when clause differently for INSERT and UPDATE differently or is theer a way to manage the same in the trigger above.

    Please help me in this regard.

    Published by: user13321434 on July 7, 2010 06:19

    user13321434 wrote:

    I need to send an email, even if the transaction rolls back, makes my job easier it

    It is always wrong.

    What happens if this code UTL_MAIL ends up with slow network response or an SMTP server overloaded? What happens if the SMTP server is down and the mail cannot be sent? What happens to the transaction then?

    Your code is involved not only with the execution of the transaction, but also the integrity of the transaction. It is absolutely not a single justification for this approach to coding a ULT_MAIL delivery within a trigger. Is bad.

    The right approach creates a notification or an event to create and deliver an e-mail message. Where the process that will make this event or act on this notification
    (a) may have retry mechanisms for mail failures
    (b) has no impact in any way shape or form on the transaction that created the event or notification

    Violate this fundamental principle to your own (and the base of data and transaction) risk.

  • Trigger with a problem - insert only situation where not exists

    Hello experts!

    I have a problem with a trigger, that I am creating. It compiles, but I get an error message when the trigger is activated.

    The scenario is as follows:

    I have a TBL_PUNKTDATEN table. Whenever the State of a record in this table is passed to 3 or 4 I need the trigger to insert a dataset object in my target (TBL_ARBEIT_ZU_GEBIET) table.
    However, the trigger must insert data only when there is no existing record in the target table. The condition that specifies whether or not, there is a group of data is the LNG_GEBIET field, which exist in the source as well as in the target table. Therefore, for every LNG_GEBIET there may be only one set of data in the table target!

    I created a trigger using the following code. However, it does not work.

    Maybe you'll see what I want to achieve at a glance to my code.

    Can you please help me on this one?

    Thank you very much!

    Sebastian
    create or replace
    TRIGGER set_status_arbeit_zu_gebiet AFTER
      UPDATE ON TBL_PUNKTDATEN FOR EACH ROW WHEN(new.INT_STATUS=3 or new.INT_STATUS=4)
    
    declare
        cursor c is select LNG_GEBIET from TBL_ARBEIT_ZU_GEBIET where PNUM = 1114 and LNG_GEBIET=:new.LNG_GEBIET;
        x number;
    begin
        open c;
        fetch c into x;
        if c%NOTFOUND  then  
        INSERT INTO TBL_ARBEIT_ZU_GEBIET
            ( 
            LNG_GEBIET,
              LNG_ARBEITSSCHRITT,
              PNUM,
              INT_BEARBEITER,
              DATE_DATUM, 
              GEPL_DATUM
            )
            VALUES
            (:new.LNG_GEBIET,
             52,
             1114,
             895,
             sysdate,
             to_date('01.01.1990', 'DD.MM.YYYY')
            ); 
        end if;
    end;
    Well, on the first insert the code works correctly and inserts the recordset as expected. However, if there is an existing recordset object where: new. LNG_GEBIET corresponds to LNG_Gebiet in my target table, I get the error ORA-06502!

    Maybe spcifies it a little?

    I hope you can help me!

    Thank you!

    Edited by: skahlert the 23.09.2009 10:26

    Edited by: skahlert the 23.09.2009 10:28

    Hi Sebastian,.

    Looks like LNG_GEBIET is not a data type of NUMBER?

    Trying to change that

    declare
        cnumber number;
        cursor c2 is select LNG_GEBIET from TBL_ARBEIT_ZU_GEBIET where PNUM = 1114 and LNG_GEBIET=:new.LNG_GEBIET;
    begin
    open c2;
    fetch c2 into cnumber;
    

    in

    declare
        cursor c2 is select LNG_GEBIET from TBL_ARBEIT_ZU_GEBIET where PNUM = 1114 and LNG_GEBIET=:new.LNG_GEBIET;
        v_c2  c2%ROWTYPE;
    begin
    open c2;
    fetch c2 into v_c2;
    

    This way you don't care datatypes or number of fields in the cursor c2.

    Concerning
    Peter

  • With the help of EUL_TRIGGER$ POST_LOGIN Trigger with Discoverer 10 g without VPD/SSO

    Hi all

    I tried to take advantage of the feature of outbreak POST_LOGIN $ EUL_TRIGGER to capture the netword id used for a session special discoverer. I came across a nice article on Metalink "Doc ID: 372067.1".
    "Subject: how to get the POST_LOGIN trigger of $ EUL_TRIGGER for work with Discoverer 10 g (10.1.2).
    which is a big help.

    Our of is an implementation of 10g discoverer of stand alone without SSO or CAE.
    Now it is possible to enter such windows login name mentioned in the article above to can be a table and then do correspond with the table of EUL5_QPP_STATS without VPD or SSO is underway.
    I had worked for a client in the past who had it but they were using VPD which I think made things much simpler.

    Any advice is much appreciated.

    Thank you

    Jean Mathieu

    Hello

    When you are using / Viewer is the State of the database from the application server and the database has therefore no information on the PC which is the condition for the application server.

    I'm not aware of any other than the use of SSO solution.

    Rod West

Maybe you are looking for

  • How to stop "the transfer of video data" display on Twitch full screen?

    When switching to full screen when viewing a stream of shaking, a collection white/status box appears in the lower left corner of the saying of the screen "to transfer video data. "# {a kind of address}.Passage of the mouse causes the box to reach th

  • I have to zoom out new tab to see then the 4 sites, new tabs still has 3.

    I recently updated my firefox. My tab used to have 6 boxes, among these 4had sites I have visited frequently.There are 3 now instead of 6. I can zoomout to find my 4th, but the next time I open a tab his 3 again. is there a topic: config option that

  • Portege R100 - restore the system software

    I have a portege r100 that has been absent for repairs three times in the last two months. He has just returned to me and now blus screens through startup. I guess I now need to rebuild the operating system but have only a USB CD drive. I contacted t

  • Black screen on Qosmio X 500 - 11 d (not UPS)

    HIE, I have a problem of screen on my Qosmio X 500 - 11 d When you start the computer, the display shows the Toshiba Logo, then swiotches off the coast...It remains dark, enven the Windows logon page, or on my desktop page...Beleieving it would be a

  • disadvantages and advantages of forefront identity management

    Hello, I am soon to a presentation of my University, on the advantages and disadvantages of the use of identity management specifically, they are interested in forefront, but I did not come in contact with a handler ID of before and instead of a bias