Function problem made Gaussian Peak.

Hello, everyone:

I have a problem, the buffaloes me completely. I am collect a signal of the spectrometer, and then use PIC finder to find peaks and fix them with the Gaussian curves. And that part works fine, when I tweak estimate. Next thing I've tried is to let a user choose a pic that he or she wants to adapt. Basically, I did the same thing previously, except that now it's the positions of the peaks set by the user, who are sent to Gaussian PEAK function to adapt. And here's the problem: Gaussian peak function simply do not Fit all incidental, it only to generate curves Gaussians, located at home position with initial amplitudes and the initial width. I tried everything I could think of, but nothing helped. I even tried to provide the function with a manually - set data it worked! But in my code it does nothing!

Any ideas how this can be possible?

Thank you very much for your help!

Kirill

Please form an example of ready-to-run, not a Subvi. None of your controls contain typical data.

It seems that your data have a large lag there, but your so fixed zero offset adjustment. You need modify the setting limits and define the limits of the offset of 0.0 to inf /-inf.

Easiets would be to right click on the entry of "limits" and "create a constant." Change it now, of zeros - inf and inf, respectively.

Tags: NI Software

Similar Questions

  • How to adapt to several Gaussian peaks?

    Hello

    I have a set of data two columns (x, y) which contain many (several hundredes infact) Gaussian peaks. You can think of it more as a spectrum of wavelength. The number of spectral peaks is not exactly known. There is no problem to detect spikes because they are of the same magnitude. Finally, I'd like a Gaussian funtion meet each of these spectral peak and get the settings such as the amplitude, the center of the line and sigma.  This seems a little tricky in LabVIEW. There is an example (the sum of the 3 Gaussian with lag) which comes with LabVIEW. However, this example VI uses a static refrence to a template function that is the sum of the three Gaussian curves.  This works well for the small number of peaks in the data. If we have the large number of peaks (data from Spectroscopy for example) then the creation of such a function of model for a large number of vertices is impracticable nealy.  Is there a better way to manage these problems of peak-fitting of LabVIEW? Would be very happy if someone could indicate a library of existing code/LV function.

    Kind regards

    RK

    I looked into this problem a few years ago.  The problem I encountered was for each pic on my mark, I was trying basically to adjust the 4 parameters... so 10 pics = 40 individual settings that needed to be approached in the function of fitting the same be close.

    I ended up doing exactly what altenback said: I used the bed at the Eagle made substantive + detect, "guessed" the edges of crete, split the table, and then served a sum of 2 Gaussian for table to divide.

  • 10g of functional problems upgrade to 11g

    Hello gurus,

    Upgrading an instance 11i, between 10 and 11g db. Can you help us with the list of common functional issues that business users would face, as linked to workflows, customizations, localozations etc... If anyone has the list of common problems to wait with their resolution, it would be very useful.

    Modules of Oracle - PO, OM, INV, WIP, BOM, PRJ, AP, AR, GL, FA, mobile Service, EAM, iProc, iExp, CPSA

    Thank you.

    A database upgrade is technical and it usually causes no functional problems. However, you may consult the following and see if they help.

    R12.1:invalid objects after 11 GR 2 Db and Ebs 12.1.3 Upgrade [1342701.1 ID]

    ORA-29532 after upgrade of database environment APPS [833237.1 ID]

    Autoinvoice does not process the records in the Table of Interface [ID 1513105.1]

    Registry of unused and unresolved recipes fail with ORA-06502 [ID 1471891.1]

    AutoInvoice error: RAXTRX does not all lines when called via RAXMTR, but imports successfully when run as a standalone [1272820.1 ID]

    Slow performance in Pick release after upgrade to RDBMS 11.2.0.1 (GR 11, 2) [ID 1087099.1]

    Configurator does not not after upgrade to 11 g 2 [ID 1206697.1]

    Transaction and quick ship shipping forms will not compile after installing new release 12.1.2 [1103188.1 ID]

    Slow performance or FRM-40212 to Documents - additional rules [1369124.1 ID]

    After upgrading the database to GR 11 2 formula generation times out [1166703.1 ID]

    Thank you

    Hussein

  • Fit Gaussian Peak and non-linear curve Fit on small data differ from the PEAK of origin made

    Hi all

    I'm developing a program in which I have to adjust the curve of Gauss on only 4 or 5 data points. When I use the Gaussian Ridge Fit or adjustment of the curve non-linear, it connects linearly all the points so that other editing software like origin's curve fitting of Gauss on the same set of data that I have attached two images is LabVIEW with Fit Gaussian of Peak and nonlinear adjustment and other is original.

    The data are

    X                       Y

    799.09857 257
    912.25256 641

    1026.00366 1516
    1137.92871 1118
    1253.43713 329

    Interesting.

    The initial default values assume all are NaN, which causes the LV calculate conjecture.  The default values for the parameter Bounds +/-Inf with the exception of the offset that are both zero. This, of course, forces the output zero offset.  It seems a strange fault, but they may have a good reason for it.

    Change the limits of compensation to something else translates the output being offset ~ 215 and the Center moves to ~ 1053.  These correspond the original result to 5 significant digits.

    Lynn

  • The latest changes to the 'Upload to the FTP host' function has made it useless - no point using a program such as Muse if I can't easily and automatically upload work to the Web server.

    The latest changes to the "Upload to Host FTP" function made it useless - no point using a program such as Muse if I can't easily and automatically upload work to the Web server.  I use BlueHost webhosting with a main area and I have several domains with this account (such as subdomains or folders on this server) - with older versions of Muse when downloading pages it simply opened a warning window to tell me (what I already know) the Web site I am downloading does not point to the main domain BUT now Muse is trying to create a new folder separated into the root directory of the main domain. completely ignoring the directory path that I am giving him - useless!  Why do these crazy changes to the program - and so often - it is very frustrating as amateur ware!

    Hello Stephen,

    There are some problems with the download of ftp through Muse, who knows the team of engineers and those will be corrected in a future version of Muse. At this point, the work around would be to export the html code of Muse and then download via some third party client like filezilla ftp.

    I would recommend that you keep an eye on our page of release notes to get updates more about it - Release notes | Adobe Muse CC

    - Abhishek Maurya

  • ListView context menu function problem

    I'm trying to get positions in my context menu and the button to work, but the file for routing functions doesn't seem to work

    ListView {
                        function getApp() { // 1
                            return _app
                        }
    
                        id: listView
                        property string selectedItemID
                        dataModel: _app.dataModel
    
                        listItemComponents: [ // 2
    
                            ListItemComponent {
                                type: "item"
                                Container {
                                    id: itemContainer
                                    layout: StackLayout {
                                        orientation: LayoutOrientation.LeftToRight
                                    }
                                    StandardListItem {
                                        id: rootItem // 3
                                        title: ListItemData.name
                                        description: ListItemData.description
    
                                        contextActions: [
                                                      ActionItem {
    
                                                        title: qsTr("Clear All") + Retranslate.onLanguageChanged
                                                        imageSource: "asset:///images/ic_clear_list.png"
                                                        attachedObjects: [
                                                            SystemToast {
                                                                id: clearToast
                                                                body: qsTr("All Items Deleted") + Retranslate.onLanguageChanged
                                                            },
                                                            SystemDialog {
                                                                id: clearDialog
                                                                title: qsTr("Clear List") + Retranslate.onLanguageChanged
                                                                body: qsTr("This action will delete all list items.  This action cannot be un-done.") + Retranslate.onLanguageChanged
                                                                onFinished: {
                                                                    if (clearDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        rootItem.ListItem.view.getApp().clearObjects() // 4
    
                                                                    if (clearDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        clearToast.show()
    
                                                                }
                                                            }
                                                        ]
                                                        onTriggered: {
                                                            clearDialog.show()
                                                        }
                                                    },
                                                    DeleteActionItem {
                                                        title: qsTr("Delete") + Retranslate.onLanguageChanged
                                                        imageSource: "asset:///images/delete.png"
                                                        attachedObjects: [
                                                            SystemToast {
                                                                id: deleteToast
                                                                body: qsTr("Item Deleted") + Retranslate.onLanguageChanged
                                                            },
                                                            SystemDialog {
                                                                id: deleteDialog
                                                                title: qsTr("Delete Item") + Retranslate.onLanguageChanged
                                                                body: qsTr("This action will delete this item.  This action cannot be un-done.") + Retranslate.onLanguageChanged
                                                                onFinished: {
                                                                    if (deleteDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        rootItem.ListItem.view.getApp().deleteObject(ListItemData.customerID) // 4
    
                                                                    if (deleteDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        deleteToast.show()
    
                                                                }
                                                            }
                                                        ]
                                                        onTriggered: {
                                                            deleteDialog.show()
    
                                                        }
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                    Label {
                                        text: ListItemData.lat
                                        textStyle.fontSize: FontSize.Large
                                    verticalAlignment: VerticalAlignment.Center
    
                                }
                                    Button {
                                        leftPadding: 30
                                        rightPadding: 30
                                        preferredWidth: 150
                                        imageSource: "asset:///images/ic_add.png"
                                        onClicked: {
                                            rootItem.ListItem.getApp().updateObject(ListItemData.customerID, ListItemData.name, ListItemData.description, ListItemData.datefield, ListItemData.lat + 1, ListItemData.lon, ListItemData.categorySelect, ListItemData.mapurl)
                                        }
                                    }
                                }
    
                            }
    
                        ]
                        onTriggered: {
                            clearSelection()
                            select(indexPath)
    
                        }
    

    Any help would be greatly appreciated.

    Okay, I should have added more information.  I managed to find a workaround.  instead of using a standard list item, I just made each item container.

    Here is the new labour code:

    ListView {
                        function getApp() { // 1
                            return _app
                        }
    
                        id: listView
                        property string selectedItemID
                        dataModel: _app.dataModel
    
                        listItemComponents: [ // 2
    
                            ListItemComponent {
                                type: "item"
                                Container {
                                    id: rootItem
                                    rightPadding: 20
                                    leftPadding: 20
                                    contextActions: [
                                            ActionSet {
                                                title: ListItemData.name
                                                actions: [
                                                    ActionItem {
                                                        title: qsTr("Edit") + Retranslate.onLanguageChanged
                                                        imageSource: "asset:///images/ic_edit.png"
                                                        attachedObjects: [
                                                            Sheet {
                                                                id: editSheet
    
                                                                Page {
    
                                                                    id: rootPage
                                                                    titleBar: TitleBar {
                                                                        id: editBar
                                                                        title: qsTr("Edit") + Retranslate.onLanguageChanged
                                                                        visibility: ChromeVisibility.Visible
    
                                                                        dismissAction: ActionItem {
                                                                            title: qsTr("Cancel") + Retranslate.onLanguageChanged
                                                                            onTriggered: {
                                                                                // Hide the Sheet.
                                                                                editSheet.close()
                                                                            }
                                                                        }
                                                                        acceptAction: ActionItem {
                                                                            title: qsTr("Save") + Retranslate.onLanguageChanged
                                                                            onTriggered: {
                                                                                // Hide the Sheet and emit signal that the item should be saved
                                                                                rootItem.ListItem.view.getApp().updateObject(ListItemData.customerID, name2.text, ListItemData.description, datefield2.text, counter.text, limittwo.text, ListItemData.categorySelect, ListItemData.mapurl);
                                                                                editSheet.close()
                                                                                editToast.show()
                                                                                name2.text = ""
                                                                                counter.text = ""
                                                                                limittwo.text = ""
                                                                            }
                                                                        }
                                                                    }
    
                                                                    Container {
    
                                                                        layout: DockLayout {
                                                                        }
                                                                        //! [0]
                                                                        Container {
                                                                            horizontalAlignment: HorizontalAlignment.Center
    
                                                                            topPadding: 30
                                                                            leftPadding: 30
                                                                            rightPadding: 30
                                                                            Container {
                                                                                topPadding: 30.0
                                                                                layout: StackLayout {
                                                                                    orientation: LayoutOrientation.LeftToRight
                                                                                }
    
                                                                                TextField {
                                                                                    id: name2
                                                                                    text: ListItemData.name
                                                                                    horizontalAlignment: HorizontalAlignment.Center
    
                                                                                }
                                                                                Label {
                                                                                    id: datefield2
                                                                                    text: {
                                                                                        var today = new Date();
                                                                                        (today.getMonth() + 1) + "/" + today.getDate() + "/" + (today.getFullYear() - 2000);
                                                                                    }
                                                                                }
    
                                                                            }
                                                                            Container {
                                                                                layout: StackLayout {
                                                                                    orientation: LayoutOrientation.LeftToRight
                                                                                }
                                                                                topPadding: 40
    
                                                                                TextField {
    
                                                                                    id: counter
                                                                                    text: ListItemData.lat
    
                                                                                    inputMode: TextFieldInputMode.NumbersAndPunctuation
    
                                                                                }
                                                                            TextField {
    
                                                                                id: limittwo
                                                                                text: ListItemData.lon
                                                                                hintText: qsTr("Limit") + Retranslate.onLanguageChanged
                                                                                inputMode: TextFieldInputMode.NumbersAndPunctuation
    
                                                                            }
    
                                                                        }
    
                                                                            attachedObjects: [
                                                                                SystemToast {
                                                                                    id: editToast
                                                                                    body: qsTr("Item Edited") + Retranslate.onLanguageChanged
                                                                                }
                                                                            ]
                                                                        }
                                                                        //! [0]
                                                                    }
                                                                }
                                                            }
    
                                                        ]
                                                        onTriggered: {
                                                            editSheet.open()
                                                        }
                                                    },
                                                    ActionItem {
                                                      title: qsTr("Reset") + Retranslate.onLanguageChanged
                                                      imageSource: "asset:///images/update.png"
                                                      attachedObjects: [
                                                          SystemToast {
                                                              id: restToast
                                                              body: qsTr("Item Count Reset") + Retranslate.onLanguageChanged
                                                          },
                                                          SystemDialog {
                                                              id: resetDialog
                                                              title: qsTr("Reset") + Retranslate.onLanguageChanged
                                                              body: qsTr("This action will reset the item count to one.  You can edit the count afterwards in the edit sheet if you wish.") + Retranslate.onLanguageChanged
                                                              onFinished: {
                                                                  if (resetDialog.result ==
                                                                  SystemUiResult.ConfirmButtonSelection)
                                                                      rootItem.ListItem.view.getApp().updateObject(ListItemData.customerID, ListItemData.name, ListItemData.description, Date(), 1, ListItemData.lon, ListItemData.categorySelect, ListItemData.mapurl)
    
                                                                  if (resetDialog.result ==
                                                                  SystemUiResult.ConfirmButtonSelection)
                                                                      resetToast.show()
    
                                                              }
                                                          }
                                                      ]
                                                      onTriggered: {
                                                          resetDialog.show()
                                                      }
                                                    },
                                                    InvokeActionItem {
                                                        title: qsTr("Share") + Retranslate.onLanguageChanged
                                                        query {
                                                            mimeType: "text/plain"
                                                            invokeActionId: "bb.action.SHARE"
                                                        }
                                                        onTriggered: {
                                                            data = ListItemData.name + " count: " + ListItemData.lat + ". Shared using the TiCat app!";
                                                        }
                                                    },
    
                                                    ActionItem {
    
                                                        title: qsTr("Clear All") + Retranslate.onLanguageChanged
                                                        imageSource: "asset:///images/ic_clear_list.png"
                                                        attachedObjects: [
                                                            SystemToast {
                                                                id: clearToast
                                                                body: qsTr("All Items Deleted") + Retranslate.onLanguageChanged
                                                            },
                                                            SystemDialog {
                                                                id: clearDialog
                                                                title: qsTr("Clear List") + Retranslate.onLanguageChanged
                                                                body: qsTr("This action will delete all list items.  This action cannot be un-done.") + Retranslate.onLanguageChanged
                                                                onFinished: {
                                                                    if (clearDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        rootItem.ListItem.view.getApp().clearObjects() // 4
    
                                                                    if (clearDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        clearToast.show()
    
                                                                }
                                                            }
                                                        ]
                                                        onTriggered: {
                                                            clearDialog.show()
                                                        }
                                                    },
                                                    DeleteActionItem {
                                                        title: qsTr("Delete") + Retranslate.onLanguageChanged
                                                        imageSource: "asset:///images/delete.png"
                                                        attachedObjects: [
                                                            SystemToast {
                                                                id: deleteToast
                                                                body: qsTr("Item Deleted") + Retranslate.onLanguageChanged
                                                            },
                                                            SystemDialog {
                                                                id: deleteDialog
                                                                title: qsTr("Delete Item") + Retranslate.onLanguageChanged
                                                                body: qsTr("This action will delete this item.  This action cannot be un-done.") + Retranslate.onLanguageChanged
                                                                onFinished: {
                                                                    if (deleteDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        rootItem.ListItem.view.getApp().deleteObject(ListItemData.customerID) // 4
    
                                                                    if (deleteDialog.result ==
                                                                    SystemUiResult.ConfirmButtonSelection)
                                                                        deleteToast.show()
    
                                                                }
                                                            }
                                                        ]
                                                        onTriggered: {
                                                            deleteDialog.show()
    
                                                        }
                                                    }
                                                ]
                                            }
                                        ]
                                    Container {
                                        id: rootItemtwo
                                        layout: StackLayout {
                                            orientation: LayoutOrientation.TopToBottom
                                        }
    
                                    Container {
                                        id: rootItemthree
                                        layout: StackLayout {
                                            orientation: LayoutOrientation.LeftToRight
                                        }
    
                                    Label {
    
                                        preferredWidth: 450
                                        text: ListItemData.name
                                        textStyle.fontSize: FontSize.Large
                                    }
                                    Label {
    
                                        minWidth: 100.0
                                        preferredWidth: 100.0
                                        maxWidth: 120
                                        text: ListItemData.lat
                                        textStyle.fontSize: FontSize.Large
                                    verticalAlignment: VerticalAlignment.Center
    
                                }
                                    Label {
                                        translationY: 5
                                        text: "/" + ListItemData.lon
                                        textStyle.fontSize: FontSize.Small
                                        verticalAlignment: VerticalAlignment.Center
    
                                        textStyle.color: Color.DarkGray
                                            minWidth: 100.0
                                            preferredWidth: 100.0
                                        }
                                    Button {
                                        leftPadding: 30
                                        rightPadding: 30
                                        preferredWidth: 150
                                        horizontalAlignment: HorizontalAlignment.Center
                                        imageSource: "asset:///images/ic_add.png"
                                        onClicked: {
    
                                            rootItem.ListItem.view.getApp().updateObject(ListItemData.customerID, ListItemData.name, ListItemData.description, ListItemData.datefield, parseInt(ListItemData.lat) + 1, ListItemData.lon, ListItemData.categorySelect, ListItemData.mapurl)
                                        }
                                    }
                                    }
    
                                    Label {
                                        translationY: -20
                                        minWidth: 600
                                        preferredWidth: 600
                                        text: "Last Count: " + ListItemData.datefield
                                        textStyle.fontSize: FontSize.XSmall
                                        textStyle.color: Color.DarkGray
                                        horizontalAlignment: HorizontalAlignment.Left
                                    }
    
                                    Divider {
                                        translationY: -20
                                    }
                                }
                                    bottomPadding: 5
    
                                }
    
                            }
    
                        ]
                        onTriggered: {
                            clearSelection()
                            select(indexPath)
                        }
                    }
                }
    
  • DATACOPY function problem using several variables quick

    Hello

    I have problem when I use more variables and then a quick calculation with DATACOPY function. When I put a prompt variable in function DATACOPY it works but when I add one or more it gives me error Essbasse (I can see it in the Essbase Administration journal not in the syntax checking process):

    Not valid [Calc Script syntax

    DATACOPY Q1020-> Dec-> 'FY14'-]

    [Fri Jul 11 15:04:25 2014] Local/TS_PLAN/Prihodi/admin@Native Directory/1004/Error (1200421)

    Error occurred at or after the line [8]

    -Essbase put FY14 because it is rapidly Variable in this error above.

    I try datacopy function with this:

    DATACOPY Q1020-> Dec-> "FY14 '... It works

    DATACOPY Q1200-> Dec-> {YearPrompt}... It works

    DATACOPY Q1200-> Dec-> {YearPrompt}-> {ScenarioPrompt} it doesn't it break on variable ScenarioPrompt.

    Thank you

    Finally, I solved my problem. That was the problem Essbasse how to understand the spaces between the dimensions. I didn't not use quotes for members and I put space between the arrows. It gave me an error I think because he did not understand space as the space. Now, when I use quotes and remove the space between the arrows cross dimensions it works.

  • listagg function problem

    Hello

    I'm not able to get the data using the listagg function.

    DB: 11g

    CREATE TABLE HAS

    (NAME, VARCHAR2 (10))

    VAL VARCHAR2 (10));

    INSERT INTO A VALUES ('LTR', ' 111');

    INSERT INTO A VALUES ('LTR', ' 112');

    INSERT INTO A VALUES ('LTR', ' 113');

    COMMIT;

    SELECT * FROM A;

    SELECT * FROM WHERE A VAL IN (SELECT LISTAGG (A1. VAL, ",") THE GROUP (RANKING BY A1. (VAL) AN A1);


    Break down the problem.

    your subquery is:

    SELECT LISTAGG (A1. VAL, ",") THE GROUP (RANKING BY A1. VAL) AN A1;

    which returns the following STRING:

    LISTAGG (A1. VAL, ",") WITHINGROUP (ORDERBYA1. VAL)

    --------------------------------------------------------------------------------

    111,112,113

    Then use one to find... so basically, you do this:

    SELECT * FROM WHERE A VAL IN ('111,112,113');

    See the problem yet?

    Looking around 'dynamic IN the list... "

    I don't have the links, however, it is fairly easy to find in this search string

  • Table/PHP function problem

    I'm having a problem trying to understand why a predefined table is not actually the echo/print_r when called from inside a function.

    the array is global (?) by being defined outside the or some functions. I can't see why he won't show the picture?

    He works outside the service

    $mondayset = array () "setone", "settwo", "setthree", "setfour");

    $tuesdayset = array () '' setfive', 'setsix', setseven');

    function dosets ($pubdate)

    {

    $caledardate = explode()"/", $pubdate);

      $timestamp = strtotime(""$caledardate[2]"". ) "-" . "$caledardate[0]". "-" . "$caledardate[1]");

    if (date (', $timestamp) = "MON")

    {

    echo ' it's Monday today\n ";

              print_r ($mondayset);


    }

    $thedate = 02/12/2013

    dosets ($theDate)

    Variables inside functions have local scope.

    http://PHP.net/manual/en/language.variables.scope.php

    You can pass the array to the function if you want to reference.

  • CONTAINS function problem

    Hi all!!

    I had a problem with contains the function. I am running oracle 11g.

    If I run this query:


    SELECT x.lid as id,  x.sztitular as titular, e.szname as proName, x.szresumen  as resumen, b.sztitle  as catName, 
    f.szname  as secName, d.szname  as cliName, x.datecreation as datecreation 
    
    FROM CPR_PRACTICAL_CASE x,ctg_category b, CPR_CLIENT d, pro_product e, CAT_SECTOR f, CPR_PCASE_PRODUCT g, CPR_PCASE_SECTOR h, 
    
    PRO_PRODUCTCATEGORY i WHERE  x.lid = g.lpcaseid and e.lid = g.lproductid and x.lid = h.lpcaseid 
    and f.lid = h.lsectorid and x.lclientid = d.lid and i.lproductid = e.lid and  b.lid = i.lcategoryid 
    AND x.szlocale = 'es-ES' AND  x.bavailable = '1'
    I get 1 row as a result with the column sztitular = 'rollers of measures. "

    If I add only a sentece more to this query:
    AND CONTAINS( x.sztitular, 'rodillos',1) >0
    the query returns an empty set... really, I don't understand why because the term "rollers" is present in the column of the line called "sztitular"...

    I put an index on that column:
    create index ITXT_TITULAR on CPR_PRACTICAL_CASE(sztitular) INDEXTYPE IS CTXSYS.CONTEXT;
    any help?

    Thank you very much!!!

    Hello

    the line was before creating the index or have you added the line after you have created? You created the index without the sync option, so a new line is not reflected in the index, after a sync.
    A quick synchronization goes hand in hand with

    begin
      ctx_ddl.sync_index('ITXT_TITULAR' );
    end;
    

    In addition, you could add a synchronization to creating indexes, after that, each commit will also synchronize the index:

       create index ITXT_TITULAR on CPR_PRACTICAL_CASE(sztitular) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('SYNC ( ON COMMIT)') ;
    

    Herald tiomela
    http://htendam.WordPress.com

  • Double line with aggrigate function problem

    I want to see in my DB duplicate rows
    This query works fine

    SELECT COUNT (*),
    Description,
    fk_patprot,
    IsConfirmed,
    actual_schdate, fk_visit
    OF sch_events1
    Description of GROUP BY, fk_patprot, isconfirmed, actual_schdate, fk_visit having count (*) > 1


    But the thing is
    I want to see the event_id between the result column, event_id is not null and unique
    If I execute this query then output will be empty, said 0 selected lines.
    SELECT event_id,
    Count (*),
    Description,
    fk_patprot,
    IsConfirmed,
    actual_schdate,
    fk_visit
    OF sch_events1
    GROUP BY description, event_id, fk_patprot, isconfirmed, actual_schdate, fk_visit
    Having count (*) > 1


    What is the alternative for this request? I want these column in a query.

    EVENT_ID | DESCRIPTION | FK_PATPROT | ISCONFERMED | ACTUAL_SCHDATE
    1. AA | BB | CC | DD
    2. AA | BB | CC | DD
    3. QQ | QQ | QQ | QQ
    4. QQ | QQ | QQ | QQ
    5. QQ | QQ | QQ | QQ

    Thanks in advance

    Published by: Navneet Singh on July 22, 2011 08:34

    Hello

    One way to solve this problem is to use the function SUMMARY, rather than the aggregate COUNT:

    WITH     got_cnt          AS
    (
         SELECT     event_id
         ,      description
         ,     fk_patprot
         ,     isconfirmed
         ,     actural_schdate
         ,     fk_visit
         ,     COUNT (*) OVER ( PARTITION BY   description
                         ,            fk_patprot
                         ,          isconfirmed
                         ,          actural_schdate
                         ,          fk_visit
                          )     AS cnt
         FROM     sch_events1
    )
    SELECT     *
    FROM     got_cnt
    WHERE     cnt     > 1
    ;
    

    Most of the functions of aggregation (including COUNT) have analytical equivalents, which can produce the same results without causing the disintegration of all results in one line per group. The PARTITION BY clause from analytical functions corresponds to the GROUP BY clause in the aggregation queries.

  • NodeIsLeaf() function problem

    Hello

    I created a derived property that uses the Boolean function NodeIsLeaf().
    The formula is:

    If (NodeIsLeaf (), S, X)

    The formula evaluates well and gives a correct result when you change the formula.
    When I save it and go to the hierarchy and checking the value of the property at the level of the node, it shows just a white.

    I noticed one thing was after a backup below is the error in the "evaluation results": message box

    ' DRM-25606: Invalid Boolean value: D..

    When I check the formula I do nto see invalid return or something else, I've included.
    Can someone tell me what can be the problem here?

    Thanks in advance,
    Mounira Dutta

    What version of DRM are you running?

    Also, since NodeIsLeaf() returns a value chain, better programming practices would be:

    If (StrToBool (NodeIsLeaf ()), S, X)

    I do not say that it will certainly solve your problem, but you might be surprised to know how many issues I have seen with access violations after upgrades and applications of a stamp that were resolved by encapsulating literals string with StrToBool(), even when they are returned by the functions of the system.

  • loop / function problem

    I created a series of button with references of SWFs to load that clicks on the buttons.

    The click function only works for every third button. All the buttons and the names are iterated correctly.
    What's the problem with the line item "ProjectClicked (this._parent.projectID)"; or something else?
    Any help would be appreciated.

    function buildResMenu() {}
    var xSpacing:Number = 130;
    var ySpacing:Number = 20;
    var xStart:Number = 0;
    var yStart:Number = 0;
    var: number = 0;
    for (i = 1; i < 4; i ++) {}
    for (j = 0; j < 3; j ++) {}
    Count ++;
    var name: String = "menu2" + count + "_mc";
    _root.M2.attachMovie ("Pinball", count);
    _root.m2 [name] ._x = (I * xSpacing)-130;
    _root.m2 [name] ._y = j * ySpacing;
    _root.m2 [name] .main_text. Text = resMenu [count-1] [0];
    _root.m2 [name] = resMenu [count-1] .projectID [1];
    }


    _root.m2 [name].item_btn.onPress = function () {}
    itemProjectClicked (this._parent.projectID);


    }
    }
    }


    ;

    buildResMenu();

    function itemProjectClicked (projectID:String) {}
    _root. M4.loadMovie (projectID);
    }

    Homerun. Very logical but I could not see.

    Thanks for your help ric5611

  • function problem

    I want to "call" a function of the movie root to a children's movie.
    So, I have to root:
    _root.child_mc. FunctionName();
    in the child_mc:
    nomfonction = function()...

    I can do the "setback":
    in the root:
    nomfonction = function()...
    in the child_mc:
    _parent. FunctionName

    can someone help me?

    "erjee" wrote in message news:[email protected]...
    > hereby not working code
    > I can't attach a fla file, so I'll try it this way
    > in the root of a new flash doc I wrote this code:
    >
    > _root.movie_mc.test ();
    >
    > rootfunction = function() {}
    > trace ("call to work of rootfunction");
    > }
    >
    >
    > I did a clip called movie_mc and joined this code:
    > function test() {}
    > trace ("it's working");
    > }
    >
    > _parent.rootfunction ();
    >
    > the result is that the call to the rootfunction (of the child) works
    > but the call of the main or root to the child does not
    >
    > :-(

    You cannot call function to movieclip on the first frame of the timeline of _root because of the order of loading and playback. Wait 1
    more frame before you call, using a timer or delay or move the calling code in box 2. If you call the function on
    and you can see that it runs from frame 2.

    this.onEnterFrame = function()
    {
    movie_mc.test ();
    }

    inside the movie_mc
    function test() {}
    trace (_root._currentframe);
    }

    Whenever you have problems with your Flash programs, zip the fla, transfer it on your site and post a link to it here. It's the
    the fastest way to get help on this subject.
    tralfaz

  • Oracle forms 6i, KEY functions problem

    Hello
    I work with Oracle Forms 6i and I have a problem of deactivation of any function key.

    I try to disable the F5 key via the F5 trigger of form but it does not work, I found another solution to this forum by changing the macro file, but is not a viable solution for me because a malicious user can edit this file on your PC and disable the control.

    There is a safer method to disable the f5 key?

    I thank in advance.

    Pedro

    The question is not how to disable a key, it can be more how to disable a feature. What features you want to disable? Default F5 matches KEY-MENU-relaxation, if this is the function you want to disable, write a NULL value; in the KEY-MENU-relaxation.

Maybe you are looking for