Function of anayltical tips

This is my sample data:

set linesize 500

WITH tbl_data AS
(SELECT 1 line, 'ZZABC123*9999' chg_acct, '1314-03:OCT' period, -1250 YTD FROM DUAL UNION ALL
SELECT 2, 'ZZABC123*9999' chg_acct, '1314-04:NOV' period, -1250 YTD FROM DUAL UNION ALL
SELECT 3, 'ZZABC123*9999' chg_acct, '1314-05:DEC' period, -1250 YTD FROM DUAL UNION ALL
SELECT 4, 'ZZABC123*9999' chg_acct, '1314-06:JAN' period, -1250 YTD FROM DUAL)
SELECT line
     , chg_acct
     , period
     , ytd
  FROM tbl_data; 

      LINE CHG_ACCT      PERIOD             YTD
---------- ------------- ----------- ----------
         1 ZZABC123*9999 1314-03:OCT      -1250
         2 ZZABC123*9999 1314-04:NOV       5908
         3 ZZABC123*9999 1314-05:DEC      -95
         4 ZZABC123*9999 1314-06:JAN      -1250

With that as a starting point, to represent the data, I work with, I need to find a way to return only rows where:

1. the value for a YEAR for a period is identical to the other

2. but only check for this game for the first and last periods (for example lines 1 and 4 in this example).

I don't know if this can be done with an analytic function?

I realize also that it is not easy to establish what are the dates of the first and last - are all I have to go on the first 7 characters of the name of period, which are still using the above format, first period of one year for example = 1213-01, last = 1213-14.

Any advice would be much appreciated.

Thank you very much

Hello

I think I understand.

The output will contain either 2 rows or anything.

If the first and last rows have the same value of CDA, then the output will contain these 2 rows.  Otherwise, you do not want any output.

Here's a way to do it:

WITH got_analytics AS

(

SELECT the line, chg_acct, period, for a year

, ROW_NUMBER () OVER (maybe - PARTITION BY chg_acct-)

ORDER BY period

) AS a_num

, ROW_NUMBER () OVER (maybe - PARTITION BY chg_acct-)

Period of ORDER BY DESC

) AS d_num

, FIRST_VALUE (CDA) MORE (maybe - PARTITION BY chg_acct-)

ORDER BY period

)

-FIRST_VALUE (CDA) MORE (maybe - PARTITION BY chg_acct-)

Period of ORDER BY DESC

) AS the dif

OF tbl_data

)

SELECT the line, chg_acct, period, for a year

OF got_analytics

WHERE the dif = 0

AND 1 IN (a_num, d_num)

- AND a_num <> d_num

;

Chg_acct play a role in this problem (other than be displayed in the output)?

What happens if there is only 1 row?

Based on your answers, you'll have a comment from the above code.

Tags: Database

Similar Questions

  • On the features of Drag and Drop

    Hi I work on ADFMobile I implemented an Application using HTML and JavaScript and CSS. And I provide the functionality of Drag and Drop in HTML5, but the functionality of Drag and Drop didn't work.

    So could you please help me how to implement the drag and drop operation going works in ADFMobile

    <! DOCTYPE html >

    < html >

    < head >

    <!-< script type = "text/javascript" src = "jquery.js" > < / script >

    < script type = "text/javascript" src = "main.js" > < / script >->

    < link rel = "stylesheet" type = "text/css" href = "style.css" >

    < title > < / title >

    < / head >

    < body >

    < div id = 'wrapper' >

    < div class = "header-wrapper" >

    < div class = "wrapper-in-head-left" > Accept < / div >

    < div class = 'wrapper-in-head-right' > reject < / div >

    < / div >

    < div class = "container" >

    < div class = "info-container" >

    < div class = "info-header" > example 1 < / div >

    < div class = "info-tip" >

    Hello World < p > < /p >

    < / div >

    < div class = "info-tip" >

    Hello World < p > < /p >

    < / div >

    < div class = "info-tip" >

    Hello World < p > < /p >

    < / div >

    < div class = "info-tip" >

    Hello World < p > < /p >

    < / div >

    < / div > <! - first contianer ends here - >

    < div class = "info-container" >

    < div class = "info-header" > example2 < / div >

    < div class = "info-tip" >

    Hello World < p > < /p >

    < / div >

    < div class = "info-tip" >

    Hello World < p > < /p >

    < / div >

    < div class = "info-tip" >

    Hello World < p > < /p >

    < / div >

    < div class = "info-tip" >

    Hello World < p > < /p >

    < / div >

    < / div > <! - first contianer ends here - >

    < div class = "info-container" >

    < div class = "info-header" > 3 < / div >

    < div class = "info-tip" >

    Hello World < p > < /p >

    < / div >

    < div class = "info-tip" >

    Hello World < p > < /p >

    < / div >

    < div class = "info-tip" >

    Hello World < p > < /p >

    < / div >

    < div class = "info-tip" >

    Hello World < p > < /p >

    < / div >

    < / div > <! - first contianer ends here - >

    < / div >

    < div class = 'wrapper-footer' >

    < div class = 'wrapper-foot of page-left' > learn... < / div >

    < div class = 'wrapper-foot of page-right' > Later < / div >

    < / div >

    < / div >

    < / body >

    < / html >

    #{pageFlowScope.JavaScript.InvokeAlerts}

    Sorry, Frank Nimphius I designed a mobile page with HTML5 JavaScript and CSS in Jdeveloper and I try to implement the functionality of gliding & in this application, but it will not work on the Android browser

    Could you please help me how to implement drag and drop features in the given page

    HTML:

    Accept

    Reject

    example1

    Hello world

    Hello world

    Hello world

    Hello world

    Example2

    Hello world

    Hello world

    Hello world

    Hello world

    3

    Hello world

    Hello world

    Hello world

    Hello world

    JavaScript:

    $(document) .ready (function () {}

    $('.info-tip').mousedown (function (e) {}

    e.preventDefault ();

    Console.log (e.ClientX);

    Console.log (e.ClientY);

    $('.info-tip').mousemove (function (e) {}

    {if (e.which = 1)}

    $(this).removeClass('info-tip').addClass ("clone-item");

    }

    });

    (.mouseup)})

    function() {}

    $('.info-tip').off ("mousemove");

    });

    });

    CSS:

    HTML, body {}

    Width: 100%;

    height: 100%;

    padding: 0px;

    margin: 0px;

    background: #ccc;

    }

    {#wrapper}

    Width: 80%;

    height: 80%;

    margin: auto;

    }

    . Container {}

    Width: 100%;

    height: auto;

    margin: 0px 0px 30px 0px;

    }

    {.wrapper-head

    margin: 0;

    background: #4c4c4c; / * Older browsers * /.

    background:-moz-linear-gradient(top, #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #000000 100%, #131313 100%); / * FF3.6 + * /.

    background:-webkit-gradient (linear, left top, left bottom, color-stop(0%,#4c4c4c) color-stop(12%,#595959) color-stop(25%,#666666), color-stop(39%,#474747), color-stop(50%,#2c2c2c), color-stop(60%,#111111), color-stop(76%,#2b2b2b), color-stop(91%,#1c1c1c), color-stop(100%,#000000), color-stop(100%,#131313))... / * Safari4, Chrome + * /.

    background:-webkit-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * Chrome10 +, Safari5.1 + * /.

    background:-o-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * Opera 11.10 + * /.

    background:-ms-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * IE10 + * /.

    background: linear-gradient(to bottom, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * W3C * /.

    filter: progid:DXImageTransform.Microsoft.gradient (startColorstr = ' #4c4c4c ', endColorstr = "#131313 ', GradientType = 0"); / * IE6-9 * /.

    position: fixed;

    top: 0;

    Width: 80%;

    padding: 10px 0px;

    z-index: 100;

    }

    {.wrapper-footer

    margin: 0;

    padding: 10px 0px;

    background: #4c4c4c; / * Older browsers * /.

    background:-moz-linear-gradient(top, #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #000000 100%, #131313 100%); / * FF3.6 + * /.

    background:-webkit-gradient (linear, left top, left bottom, color-stop(0%,#4c4c4c) color-stop(12%,#595959) color-stop(25%,#666666), color-stop(39%,#474747), color-stop(50%,#2c2c2c), color-stop(60%,#111111), color-stop(76%,#2b2b2b), color-stop(91%,#1c1c1c), color-stop(100%,#000000), color-stop(100%,#131313))... / * Safari4, Chrome + * /.

    background:-webkit-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * Chrome10 +, Safari5.1 + * /.

    background:-o-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * Opera 11.10 + * /.

    background:-ms-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * IE10 + * /.

    background: linear-gradient(to bottom, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#000000 100%,#131313 100%); / * W3C * /.

    filter: progid:DXImageTransform.Microsoft.gradient (startColorstr = ' #4c4c4c ', endColorstr = "#131313 ', GradientType = 0"); / * IE6-9 * /.

    position: fixed;

    bottom: 0;

    Width: 80%;

    z-index: 100;

    }

    {} .info-container

    Width: 100%;

    height: auto;

    float: left;

    top of the margin: 20px;

    position: relative;

    }

    .wrapper .wrapper-in-head-left header {}

    float: left;

    color: #fff;

    text-indent: 10px;

    }

    .wrapper .wrapper-in-head-right header {}

    float: right;

    color: #fff;

    text-indent: 10px;

    }

    . Wrapper-foot left-foot of page-.wrapper {}

    float: left;

    color: #fff;

    text-indent: 10px;

    }

    foot of page-.wrapper .wrapper-foot of page-right {}

    float: right;

    color: #fff;

    }

    {} .info-head

    text-indent: 10px;

    color: #fff;

    make-weight: bold;

    padding: 2px 0px;

    margin-bottom: 8px;

    background: #1e5799; / * Older browsers * /.

    background:-moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 90%, #7db9e8 100%); / * FF3.6 + * /.

    background:-webkit-gradient (linear, left top, left bottom, color-stop(0%,#1e5799) color-stop(50%,#2989d8), color-stop(90%,#207cca) color-stop(100%,#7db9e8)); / * Chrome, Safari4 + * /.

    background:-webkit-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 90%,#7db9e8 100%); / * Chrome10 +, Safari5.1 + * /.

    background:-o-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 90%,#7db9e8 100%); / * Opera 11.10 + * /.

    background:-ms-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 90%,#7db9e8 100%); / * IE10 + * /.

    background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 90%,#7db9e8 100%); / * W3C * /.

    filter: progid:DXImageTransform.Microsoft.gradient (startColorstr = ' #1e5799 ', endColorstr = ' #7db9e8 ', GradientType = 0); / * IE6-9 * /.

    }

    {} .info-tip

    Width: 24%;

    height: 150px;

    float: left;

    margin-left: 10px;

    Background: #fff;

    -webkit-border-radius: 10px;

    }

    .info-pointe p {}

    text-align: center;

    margin: 60px banner 0px 0px 0px;

    }

    . Clone-item {}

    background: Red;

    Width: 200px;

    height: 150px;

    float: left;

    margin-left: 10px;

    background: Red;

    -webkit-border-radius: 10px;

    position: absolute;

    }

    Using this code, I generate a page on this page I want to drag drag the HellowWorld to accept button so how to implement this feature - déposer in ADFmobile

  • change color difusse

    Hello

    I like change and set the diffuse color even at two different materials at once with a single button,

    The following code works for a material but I can´t find a way to make it work for both materials at the same time.

    function color01 (ral1016)

    {

    var stack = scene.materials.getByName ("material01");

    mat.diffuseTexture.image = null;

    mat.diffuseColor.set3 (0.95,0.87,0.22)

    }

    I tried this but no luck

    function color01 (ral1016)

    {

    var stack = scene.materials.getByName ("material01", "material02");

    mat.diffuseTexture.image = null;

    mat.diffuseColor.set3 (0.95,0.87,0.22)

    }


    any suggestions?

    Make the generic function and call it twice.

    function color01 (rval tip gval, bval, mname) {}

    var stack = scene.materials.getByName (mname);

    mat.diffuseTexture.image = null;

    mat.diffuseColor.set3 (rval tip, gval, bval);

    }

    color01(0.95,0.87,0.22,"material01");

    color01(0.95,0.87,0.22,"material02");

  • Need some tips to merge the two table-manipulation functions

    Hi guys!

    Thanks to Johnsold, Helmut O'Brian and Jcarmody, who helped me through a string function complicated (for me, the noob of LV), I got away with my project and I'm very close to its end.

    As I've described it here I wanted to explore an array of words combined with-, i.e. C1 - C10. Help, when I arrived, I was able to do. I also learned a few things and was able to do the following:

    Original array: new table:

    R1                                                       R1

    R2                                                       R2

    C1-C3                                                  C1

    K1                                                       C2

    C3

    K1

    I have this:

    Original array: new table:

    R1                                                       R1

    R2,R4,R7                                             R2

    C1                                                       R4

    K1                                                       R7

    C1

    K1

    I was also able to combine these two functions

    Now, back to my problem.

    Until now, it was just a 1 d array that I worked with. In fact, it's a 2D array, I read a. CSV file:

    As you can see there are a few places where things is combined with either - or by commas. I need to widen the first column as described above and as resolved in the thread I mentioned. Fact! No problem. I extracted the first column in table 1 d. Then expand it. Now, I need to replace in the original array and also expand all.

    It should then look like this:

    Then I only need to copy the position of the R6 line and paste it in the empty fields:

    I enclose below two screws. Start by opening the main.vi. Then copy.vi. I tried to describe the problem here too. You can see what I've accomplished and what is missing.

    Tasks:

    1. replace the column expanded in the original array and expand all.

    2 copy the needed lines.

    In the main.vi, I do the 1 d expansion, but I have the problem with the expansion of table 2D. In copy.vi, I managed to copy the lines. If this part is done.

    Basically, I need some advice on enlargement that I do and how do I get the 2D table also expanded. Because I have not much experience, I feel more comfortable working with 1 d arrays. But I can't seem to get any further with this 1 d-> expansion 2D.

    I also really can't seem to find a smart way to implement my function of copy-line-in the main.vi.

    P.S the joint screws are manufactured in LV2010.

    Fortunately, I can attend some courses of basic home OR here in Norway, but so far, I'm still learning and I think that sometimes, I try to do things that are way out of my League

    I don't know what I did but it works now

    Thanks for the help, same!

    You are even welcome!

    Have attached the file if anyone wants to see what I did.

  • TIP, GOLD and the INDEX FUNCTION-ORIENTED

    RDBMS: 10.1.0.5.0

    I'm trying to force an index based on a function in a query with a condition OR .
    It seems that INDEX INDICATOR does not work if the query has an OR condition.

    I created a test case to describe the problem:
    create table tab1 (col1 VARCHAR2(300))
    
    ....load the table.......
    
     CREATE INDEX col1_IX ON tab1
       (
          my_FUNCTION(col1)
       )
       TABLESPACE USERS ;
    The plan of the explain for a simple query command is:
    select * from tab1 where my_FUNCTION(col1) = '+23452081'
    
    Plan hash value: 2179519467
     
    ---------------------------------------------------------------------------------------
    | Id  | Operation                   | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT            |         |   871 |   512K|     2   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| TAB1    |   871 |   512K|     2   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | COL1_IX |   348 |       |     1   (0)| 00:00:01 |
    ---------------------------------------------------------------------------------------
     
    Predicate Information (identified by operation id):
    ---------------------------------------------------
     
       2 - access("my_FUNCTION"("COL1")='+23452081')
     
    Note
    -----
       - dynamic sampling used for this statement
    If the simple query has a CONDITION or:
    select * from tab1 where ( MY_FUNCTION(col1) = '+23452081' or col1       <> '')
    
    Plan hash value: 2211052296
     
    --------------------------------------------------------------------------
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    --------------------------------------------------------------------------
    |   0 | SELECT STATEMENT  |      |  5183 |  3047K|    59  (31)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| TAB1 |  5183 |  3047K|    59  (31)| 00:00:01 |
    --------------------------------------------------------------------------
     
    Predicate Information (identified by operation id):
    ---------------------------------------------------
     
       1 - filter("COL1"<>'' OR "MY_FUNCTION"("COL1")='+23452081')
     
    Note
    -----
       - dynamic sampling used for this statement
    I tried to force the index using the trick without success:
    select /*+ index(tab1 col1_IX) */ * from tab1 where ( MY_FUNCTION(col1) = '+23452081' or col1       <> '')
    
    Plan hash value: 2211052296
     
    --------------------------------------------------------------------------
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    --------------------------------------------------------------------------
    |   0 | SELECT STATEMENT  |      |  5183 |  3047K|    59  (31)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| TAB1 |  5183 |  3047K|    59  (31)| 00:00:01 |
    --------------------------------------------------------------------------
     
    Predicate Information (identified by operation id):
    ---------------------------------------------------
     
       1 - filter("COL1"<>'' OR "MY_FUNCTION"("COL1")='+23452081')
     
    Note
    -----
       - dynamic sampling used for this statement
    Can you help me?

    Published by: Dom Brooks on January 28, 2011 11:26

    Sorry too hasty.

    If you have an index on COL1 and your predicate can use this index, then you might get a BITMAP CONVERSION.

    If you do not have an index on COL1 or you cannot use it, then you will do a FTS.

    Useful relevant info:

    Based on an index function are not used in the expansion of GOLD in 10gR 1 (or beyond - restriction still documented in 11 GR 2)

    See here:
    http://download.Oracle.com/docs/CD/B14117_01/AppDev.101/b10795/adfns_in.htm#1006464

    Dion Cho spoke here:
    http://dioncho.WordPress.com/2009/07/31/function-based-index-and-or-expansion/

  • Can not use the hash within forms (tips) function

    Hello Guru,

    Oracle 10.2.0.4.0 on Linux ES4 with a forms 6i application.

    We have this simple hash function that I use as a program unit on a user form in forms 6i.
    It hashes passwords using this function;

    create or replace function md5 (value varchar) return varchar2 is
    v_input varchar2 (2000): = value;
    hexkey varchar2 (32): = null;
    Start
    hexkey: = rawtohex (dbms_obfuscation_toolkit.md5 (input = > utl_raw.cast_to_raw (v_input)));
    return of nvl (hexkey, '< null >');
    end;
    /

    I want to use it on a front Insert and before update trigger within forms. When I have the use of the md5 function code it gives me an error something on air of "cannot use this function in a sql statement" for example, that I expect to use it as follows:
    insert into users (username, password) values (: user.username, md5(:user.password));))
    and the same would go for the update.
    I know that I can pull this off the form code and create an insert or update trigger after and call that the md5 function here, but I like to keep the code of hash in the user form - I already have 4 triggers in database on the table and do not want to create more.

    Any advice would be great... :-)

    Just a small chance: try to call the function by using the names of block and item OTHER than: user, user name, and password.

    All or part of them are reserved words, and maybe that's the problem.

    If not, why not just call the function in the form to define a declared value of pl/sql, and then use this value in the insert and update statements.

  • How the batch of photos of change in Version 2.0 of Photos... impossible to find the function.

    How the batch of photos of change in Version 2.0 of Photos... impossible to find the function.  If it has been deleted to "improve" the Photo experience?

    Lot, what exactly will change?

    Titles, Descriptions and capture date - Yes.

    Select the images you want to change the title or the description and to set-up the info (command-i) pane.  Enter the title or the description in the appropriate field and he will be assigned to all selected pictures.

    If you want to batch, change the title with sequential use attached many Applescripts provided by users in the Photos for Mac user tips section.

    Batch change/correction of dates is provided by the Image ➙ setting Date and time menu option:

  • "Bookmarks and history system is not functional" with corrupt files found by Avast and slow loading Web sites ONLY in Firefox

    Firefox is the only browser that allows me to connect with my microphone. I need to use this feature for an online class. Earlier tonight, the message invites me to grant or deny permission to site class to use the microphone stopped appearing and without this registration only will pick up all the sounds and I can't save anything.

    I tried to quit and restart Firefox. I had a few extensions in use at the time, in particular Session Manager. The allow/deny message would not always appear, then I restarted my computer.

    Now when I open Firefox, I see the message error "the bookmarks and history system won't be not functional. In addition, the browser loads websites extremely slowly; It takes several minutes to load each page or for me to be able to click on anything whatsoever (bar URL, menus, etc.) my other browsers (Internet Explorer and Chrome) are functioning normally and loading Web sites at a normal speed. I tried to download the latest version of Firefox, but it does not solve anything. I also tried to restart the computer again, but that didn't help either.

    I ran my Avast software system check, and it has mounted as the following files under "C:\Users\ (me) \AppData\Roaming\Mozilla\Firefox\Profiles\Irozixj7.default ' are 'damaged and unreadable ':
    -cookies.sqlite - shm
    -cookies.sqlite - wal
    -localstore.rdf
    -places.sqlite - shm

    There was one more problem on the analysis, but it is probably not relevant: the file "C:\ProgramData\Microsoft\Windows Defender\Definition Updates\{9A2C6FA7-E04E-4819-B86A-8363A9D1E42A}\mpengine.dll" it says "the system does not have the specified path. When I tried to follow the path shown, one of the files (I can't remember who) said something along the lines of "you can't access this folder, you want to allow access to this file permanently? I said yes and was able to access the folder.

    I tried to add the extension in Maintenance of places, but the speed is too slow to download anything. Trying to access any results of the menus in the Explorer freezing for several minutes then thaw but with the menu still unopened. As a result, none of the solutions found here (https://support.mozilla.org/en-US/kb/fix-bookmarks-and-history-will-not-be-functional?esab=a & as = aaq) seem to work.

    My questions are the following:
    -Is it possible to understand what caused the problem in the first place?
    Is there a way for me to fix it without losing my bookmarks and history?
    -How can I prevent that from happening again in the future?

    First of all, I recommend you backup your Firefox settings in case something goes wrong. See back up and restore the information contained in the profiles of Firefox. You can copy the folder of your Firefox profile together somewhere outside the Mozilla folder. To quickly access this folder:

    Help > troubleshooting information > "view file" button.

    Then, to keep this file open, exit Firefox and try to move "damaged and unreadable" files to another folder. With the exception of localstore.rdf, which stores the positions of windows, toolbar tools and other data non-essential customizations, other files appear to be specific session files that we hope, are not critical. If you restart Firefox, should he behave more normally?

    If this is not the case, try to create a fresh Firefox profile. It will be the Flash plugin, which is the control of sites use usually to connects to your camera or microphone and other plugins, but otherwise will be a new configuration. This article has the commissioning steps in the Profile Manager: use the Profile Manager to create and delete profiles Firefox.

    If the sites are functioning normally in the new profile, you can import your bookmarks from your old profile, as well as the copy on the other files that do not appear to be the cause of the problem. Some trial and error may be needed to determine that. This article has a few tips: recovery of data from an old profile.

    If the new profile is not better, you can exit Firefox and use the Profile Manager to return to your original profile.

    Any improvement?

  • Function keys do not work on Satellite Pro 6100

    Hello

    I have a Toshiba Satellite Pro 6100 running on Windows XP SP2.
    I had a slight problem with the shortcut keyboard/function keys. When I press the FN + F5 (display output) nothing happens.
    [edit]
    I fixed the wireless FN + F8 combination now. The FN + F5 again will not work. I installed the common modules and wireless hotkey utility
    [/ Edit]
    I installed the shortened program from Toshiba, but that won't help.

    Anyone have a tip or something?

    Greetings

    Post edited by: boinkie

    Hello

    Please install Toshiba Hotkey for 1.00.01.00 - 02 worm. display devices and test the combination of keys FN + F5 again.

  • How to get the function keys on Qosmio F50 Vista Business

    Hello

    I installed a business of Vista OS on my Qosmio F50-108 and downloaded all the drivers drivers Toshiba support. But I still do not work function keys. When I press Fn, the number lock is flashing, but when I press Fn + F9, the touchpad still works. And when I press the Fn, there is no menu at the top of the screen. Can someone recommend me any driver or give me a tip? Everything else works.

    Thanks for all the ideas and responses.

    Have you installed package of added value?

  • No function palette

    Hello

    I have a compactRIO 9074, and I want to run a vi on the material.

    The problem I have is quite simple: the range of functions is empty on the vi created under the cRIO-9074 (see screenshot).

    I tried to solve the problem with the procedure suggested here: http://digital.ni.com/public.nsf/allkb/46E1672AB48C917D86256AFE00075436#Palette white

    The path in tool tip indeed 'C:\Users\M\AppData\Local\Temp' options, but if I change and restart Labview goes back to this directory...

    I use a freshly downloaded from Labview 2014 on a windows trial version 8 PC.

    Yes, I did!

    In the end, I uninstalled and reinstalled everything and it worked...

    Solved!

  • Excel - like functionality control LV

    Hi all

    I'm working on a project where I want to view and modify a data group.  The data include a Board of 2D of the U32.  Col. 0 will be a memory, passes address. 1 - n will be given.  The data will be displayed in chunks of 2048 addresses.  The data will be pieces of the U32 at this address.  For example, bits 0-12 can represent a pointer, bits 13 and 14 can be flags, etc..  I've included a vi of I want the control to look like.

    I would do this in a Labview control on a façade of LV.  In addition, I would like a few Excel - like functionality, specifically, I would like to be able to copy a cell and paste it to a certain number of cells highlighted.

    So far, I have not been able to find a control that will do.  The Listbox controls and table do not seem to allow the contents of the highlighted cell be pasted.  When I stick, the whole line, where the life of the copied cell inserted.

    I tried to insert an Excel worksheet into an Activex control.  It works as much as it shows the data.  However, the control seems to be read-only. I'm unable to change the data in the control.

    I tried .net and Activex controls.  There is a BOATLOAD of programming behind these controls that I am familiar with, and ultimately, I do not know if it would work.

    Can anyone suggest how I can get Excel - like copy/paste functionality in Labview control?

    Thanks in advance,

    Doug

    There is no native LabVIEW control that works as an Excel worksheet, allowing you to cut and paste arbitrary ranges from one place to another, short to integrate an activeX control Excel.  You could create such a control using two XControls (which are easier than you may think, they just look scary) or just the structure of the event.  There are a lot of shows.  You will need to replace several events (fall, button down, activation of the menu).  A quick search of these tips or the full net found no anything, probably due to the complex specificity and application of the present application.  Duplication full type Excel ability would require a lot of work, and most ISU does not require the full feature set, so we write with only the features they need.  This makes them less general, so they are not published.  If happen you to something general, do not forget to publish it.  If you need help with any part of it, let us know.

  • global variable functional to read and write data from and to the parallel loops

    Hello!

    Here is the following situation: I have 3 parallel while loops. I have the fire at the same time. The first loop reads the data from GPIB instruments. Second readers PID powered analog output card (software waveform static timed, cc. Update 3 seconds interval) with DAQmx features. The third argument stores the data in the case of certain conditions to the PDM file.

    I create a functional global variable (FGV) with write and read options containing the measured data (30 double CC in cluster). So when I get a new reading of the GPIB loop, I put the new values in the FGV.

    In parallel loops, I read the FGV when necessary. I know that, I just create a race condition, because when one of the loops reads or writes data in the FGV, no other loops can access, while they hold their race until the loop of winner completed his reading or writing on it.

    In my case, it is not a problem of losing data measured, and also a few short drapes in some loops are okey. (data measured, including the temperature values, used in the loop of PID and the loop to save file, the system also has constants for a significant period, is not a problem if the PID loop reads sometimes on values previous to the FGV in case if he won the race)

    What is a "barbarian way" to make such a code? (later, I want to give a good GUI to my code, so probably I would have to use some sort of event management,...)

    If you recommend something more elegant, please give me some links where I can learn more.

    I started to read and learn to try to expand my little knowledge in LabView, but to me, it seems I can find examples really pro and documents (http://expressionflow.com/2007/10/01/labview-queued-state-machine-architecture/ , http://forums.ni.com/t5/LabVIEW/Community-Nugget-2009-03-13-An-Event-based-messageing-framework/m-p/... ) and really simple, but not in the "middle range". This forum and other sources of NEITHER are really good, but I want to swim in a huge "info-ocean", without guidance...

    I'm after course 1 Core and Core 2, do you know that some free educational material that is based on these? (to say something 'intermediary'...)

    Thank you very much!

    I would use queues instead of a FGV in this particular case.

    A driving force that would provide a signal saying that the data is ready, you can change your FGV readme...  And maybe have an array of clusters to hold values more waiting to be read, etc...  Things get complicated...

    A queue however will do nicely.  You may have an understanding of producer/consumer.  You will need to do maybe not this 3rd loop.  If install you a state machine, which has (among other States): wait for the data (that is where the queue is read), writing to a file, disk PID.

    Your state of inactivity would be the "waiting for data".

    The PID is dependent on the data?  Otherwise it must operate its own, and Yes, you may have a loop for it.  Should run at a different rate from the loop reading data, you may have a different queue or other means for transmitting data to this loop.

    Another tip would be to define the State of PID as the default state and check for new data at regular intervals, thus reducing to 2 loops (producer / consumer).  The new data would be shared on the wires using a shift register.

    There are many tricks.  However, I would not recommend using a basic FGV as your solution.  An Action Engine, would be okay if it includes a mechanism to flag what data has been read (ie index, etc) or once the data has been read, it is deleted from the AE. 

    There are many ways to implement a solution, you just have to pick the right one that will avoid loosing data.

  • Piecewise linear function fitting

    I have data which approximates the following function:

    f (x) = A; x<>

    f (x) = Bx + C; E<><>

    f (x) = D; x > F

    I am using the non-linear adjustment function and problems with a singular matrix error. According to me, I approached my settings quite well and the best track of the fitted curve seems fairly well aligned, but it seems that's not iterate through my approximations E and F and just using what I give him. Could someone take a look at my code and give me some additional tips? The points that I particularly need are the value 'A' and when f (x) = 0 of the second function. If there is an easier way to find these values, I'm all ears.

    Thank you

    Yes, you have only four parameters.

    1. Beginning level

    2. End level

    3. first x

    4. second x

    (interpolating linearly between the first and second x from the first to the second level).

    See attachment for a quick project.

  • tool tip memory leak

    Seems to be leaking memory associated with ToolTips.  Every time I put your mouse on a panel using tool tips I see case the dynamic memory usage constantly increases.  If I comment out the call to the functions of the tool tip (i.e. SetCtrlToolTipAttribute), memory leak disappears.

    There is no patch for 8.0.0, if it is tell you.

    But from the Toolbox of the programming interface is open-source, you can easily fix it yourself:

    The 8.0.0 3365 online version of C:\Program NIUninstaller Instruments\CVI80\toolslib\toolbox\toolbox.c, you need to add the function call following ListDispose:

    If (RectContainsPoint (bounds, point))
    {
    PointConvertCoordinates (Panel, child, & point, FALSE);
    ListDispose (sortedChildren);
    Return PointToPanel (child, point);
    }

    After you make the change, you will have to recompile the file (Options > create a file object) to regenerate the object file and restart CVI.

    Luis

Maybe you are looking for