a problem of manipulation of table

Hello:

I'm sorry for wasting your time if this is a manipulation of the base. I am a newer for Labview and I tried several methods, unfortunately it did not work.

There are two tables that refer respectively array and array of experience. assuming that they are
Array (R) 0 0 5 5 5 5 0 0 0 5 5 5 0 5
Array (E) 1 2 3 4 5 6 7 8 9 10 11 12 13 14

How can I get new subtables of Array (E) whose elements corresponding to the value 5 in the Array (R). for this instance, the subtables news here is:
Array (E1) 3 4 5 6
Array (E2) 10 11 12
Array (E3) 14

Hello!

Try this and let me know

Tags: NI Software

Similar Questions

  • Manipulation of table in LabVIEW

    Hello

    I'm doing a LabVIEW software in order to keep the flies.

    I would to manipulate tables, but I am not able to do, it's too complicated for me.

    To explain it, I thought that the best way to make an example in excel, but I can confirm that I work in LabVIEW with arrays.

    I'm just lost in this manipulation of the table.

    I hope that my example is pretty clear, it's really hard to explain, even orally.

    Thank you

    Sébastien

    Assuming that entry is a table with columns for N 8N flies, here's how you could handle.

  • LabVIEW FPGA: Problem compiling look-up Table

    Current versions of software:

    LabVIEW 2014 SP1

    LabVIEW FPGA 2014

    Xilinx Vivado

    I'm having a huge problem in trying to compile my LabVIEW FPGA code.

    Some recall of the code:

    It's all in a SCTL.

    I am streaming in a FIFO DMA and comparing it with the values previously stored in the shift registers (which are initialized to 0 at the start of the loop) in the SCTL.

    The results of the comparison are then piled into a U16 and loaded into a lookup table (I use the LUT - 1 d), and I'm so help this LUT to decide what value will be charged to travel to record for the next iteration of the loop, which, in any case, would be either the current values of the flow, or the post previous registry value.

    (It's a triage loop)

    I am able to run very well in simulation mode code, but when I try to compile, I get this error:

    "The selected object has a built-in shift register that makes the output on a particular loop iteration correspond to the entries in the previous iteration."

    Connect the outputs of the object directly to a minimum number of nodes of Feedback or uninitialized shift registers. You cannot connect the outputs to another object.

    See using LabVIEW for more information on the objects with registers embedded offset. »

    Someone at - it ideas why this happens, and what might be the possible solutions?

    I'm tempted to break it down into separate loops, but I prefer not to because it is now a loop (and working in my simulation).

    I found my problem.

    Any time that a LUT is in a chain shift register, it cannot:

    1. be part of a string of shift register that has a variable initialized

    2. follow-up to no decisive structure, like a box structure.

    I just moved the position of LUT and it works.

  • Problem of sorting of tables and... Using the functionality of the case

    OK, so im do this bit of code that solves the linear equations of 3 x 3, I have most of the code actually lack just 2 small pieces for value of ascetics, garlic try to describe them as detailed as I can, no matter what type of advice or advice with any of them would be greatly appreciated

    Some details of the program:

    Equation MUST be entered in a string and not must (and probably should) be able to do some difficult fixing

    It will be limited to the +'s and-'s signs

    Problem 1.

    I don't really know how to 'sort' my equation according to their variables, example:

    User input: - 2 y + 1 * x z - 1 = 2

    I can make it look like: - 2 y + z - 1 x 1 = 2

    I want what it looks like: 1 x-2 y - 1 z = 2

    I can handle sort the equation, IF I knew the order the user will add variables, the only thing that comes to mind is turning them into a table and make a case for each (x, y, z - x, z, y - etc.) and by using some kind of process of elimination to choose the table 'longer or shorter', I really haven't got much if this because it seems like a stupid idea , but it's the only thing it comes to my mind.

    Problem 2.

    So as im fixing the spaces between characters, at least, I find a '10', I don't want one "1 0", very roughly, I managed to work around this problem by using a "find and replace String", but I'm having trouble making a "case" for her, as in, I can't understand the entry of 'right' to a string of cases. " example:

    User input: 1 x-2 y - 1 z = 12

    The result inside the box is correct and resembles a '12', but as I don't know the correct entry, obviously my default case is empty, and it passes through, so the result on the outside is a '1 2 '.

    Any link for someone who fixed a similar problem or guides would be great, I'd also like to announce that 3 weeks ago, I've not even knew what was "LabVIEW", if you can 'dumb down' a little explanation would be greatly appreciated.

    You can try to use php code Analyzer to help analyze. The joint was a quickly hacked together solution that makes several assumptions (a big one being that the entry is correct and equal to is the last thing). This isn't really a complete solution.

    Sorry I didn't have the time to comment on it. If it seems odd, I was using money orders that got lost, when I recorded it for the previous version.

  • Help for BBM blackBerry Smartphones & Facebook does not not for 9320 - problem with "host Routing Table? -Virgin

    So, today I received my new 9320 at Virgin Mobile, first Blackberry & love the phone! but I can't use the BBM or Facebook app...

    At first I could not even access the browser while that connected to my wifi... then I phoned Virgin & they helped me to reset the settings on my BB that I could use the browser etc...

    I thought it was problem solved, until I discovered BBM and Facebook, use app world separate service? Anyway, I phoned up to Virgin because I wanted to do this job, they are included in my package & I did not understand why I can't access any of them...

    After a long phone call the problem has proved that the "host routing table" was empty and (according to in Virgin) there is a problem with new BlackBerry receiving these details... they said this isn't a problem on the end there & told me there is nothing more they can do so to click 'register now' and wait for the details...

    24 hours later and nothing, so I hope someone here can help me, make me a BB the whole point is things miss me actually lol and I feel now I'm paying for a phone contract I can't really use it, without any help from my provider?

    Any help?

    Or

    Anyone with a new BB knows something like that recently? Thank you

    Wow... Virgin you gave really there. You see, you PAY for 100% of your services and 100% of your formal support... at the moment, they seem to be or you deliver. Only they have the ability (in fact the RESPONSIBILITY!) to degenerate RIM requiring improved support of cases (from your description, it must be that... with a HRT empty, nothing that anyone here can do). End users have no free path to receive assistance from the RIM at all - only via the escalation. So, what I would do if I were you, is their ring back... but this time do not let you fob OFF... insist that, because you HAVE them, you have a contract with them and they are about to be in violation of this contract - they must solve your problem, degenerate into RIM if they wish.

    Good luck!

  • Problem of update in table form (after validation fails)

    Hello.

    I have a problem on the shape of tables using APEX 4.2.5.

    Application page has a table and a filter element to filter results in a table.

    The default value of this element is 0 (zero). This means that all the records are retrieved.

    SQL WHERE clause look like where deptno = decode(:P1_deptno,0,deptno,:P1_deptno)

    I created testcase: https://apex.oracle.com/pls/apex/f?p=4000

    W: nlzoh

    SUP: test01

    P: test

    The application name is A1.

    Everything works fine (insert and update), until there are validation error - due to an incorrect value in the column form.

    If I add by example in the second row (ename BLAKE) in the column WORK 1111 - so it would look like MANAGER1111 I get a validation error.

    Then I remove 1111 so validation would be ok, form insert 16 records (all). I is not updated that one record, it inserts all records.

    This allways happens after the validation error.


    When there is no validation error, changed row is updated as expected

    Insert also didn't happen, when there are value DEPTNO in filter.

    So the unexpected result is because of that where would adopt.


    So I have two questions.

    1. Why does it inserts all lines after the validation error? When there is no validation error, only the changed rows are updated - even if there is no DEPTNO in the filter.

    -Why modified column id drop apex?

    2. How can I change where clause, so iz will not work correctly.


    I hope it's understandable.


    Kind regards

    Dean


    Hello

    I created a new shape similar to your condition. His work with no problems.

    Please check Page 2 of application A1

    BR,

    Patrick

  • Filtering problem date to the table QBE filter when it is supported by the POJO data control

    @Timo Hahn ADFfan 11.1.1.4 or 11.1.1.7

    I have exactly the same problem as described in the discussion archived here unanswered

    Definiton vc_temp_1 not found error for the filter of the columns date

    I used the sample downloaded 37 here as a model

    037. how to build the pagination in the POJO ADF data control

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

    It is easy to replicate, just to run this sample and try to filter on the date of hire.  It takes about 2 minutes to download and run.

    sample image 37 running on 11.1.1.7

    Here is the stacktrace.   Don't know why it's using java.sql.Timestamp.   My POJO returns a java.lang.Date

    java.lang.IllegalArgumentException: timestamp format must be yyyy-mm-dd hh: mm: [.fffffffff]

    at java.sql.Timestamp.valueOf(Timestamp.java:194)

    to oracle.jbo.common.JboTypeMapEntries$ 3.convert(JboTypeMapEntries.java:149)

    at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:855)

    at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:102)

    at oracle.jbo.common.JboTypeMapEntries.convertValue(JboTypeMapEntries.java:382)

    at oracle.jbo.common.OracleTypeMapEntries.convertValue(OracleTypeMapEntries.java:162)

    at oracle.jbo.common.JboTypeMap.convertValue(JboTypeMap.java:869)

    at oracle.jbo.domain.TypeConvMapEntry.convert(TypeConvMapEntry.java:120)

    at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:855)

    at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:102)

    at oracle.jbo.RowComparator.compareEquals(RowComparator.java:34)

    at oracle.jbo.RowValueSupplier.compareValues(RowValueSupplier.java:253)

    at oracle.jbo.expr.JIParserNode.evaluate(JIParserNode.java:1274)

    at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1099)

    at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:911)

    at oracle.jbo.RowMatch.rowQualifies(RowMatch.java:187)

    at oracle.jbo.server.ViewObjectImpl.rowQualifies(ViewObjectImpl.java:2811)

    at oracle.jbo.server.QueryCollection.rowQualifies(QueryCollection.java:3705)

    at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:3590)

    at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:3387)

    at oracle.jbo.server.QueryCollection.sortRows(QueryCollection.java:994)

    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1184)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1338)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1256)

    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1250)

    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:6809)

    at oracle.adf.model.bean.DCBeanDataControl.executeIteratorBinding(DCBeanDataControl.java:948)

    at oracle.adf.model.binding.DCIteratorBinding.doExecuteQuery(DCIteratorBinding.java:2177)

    at oracle.jbo.uicli.binding.MyIteratorBinding.executeQuery(JUAccessorIteratorDef.java:721)

    at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.applyAndExecuteViewCriteria(JUSearchBindingCustomizer.java:607)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:442)

    application example will reproduce the problem with no changes

    Post edited by: Don Kleppinger confirmed it happens on 11.1.1.7 as well (see image)

    Frank Nimphius-Oracle

    I have a work around for this bug to Oracle.  I have a version in 037 sample that actually works and that will sort the field date.  I'm ready to download a copy to replace the download version that is there if Oracle is listening.  The sample was there 5 years ago so it is regrettable that this bug still exists.

    That's what I did

    create beans with custom queryListener

    On the table

    change

    queryListener = "#{bindings.allEmployeesQuery.processQuery} '"

    TO

    queryListener = "#{queryListenerBean.processQuery} '"

    Add an additional field to the line which is a long value of the Date column.   In the queryListener I change the input filter on the value of long type instead of the date value.

    I do not display the column containing the value of long (time) in the table, but she must appear in the binding of the tree. (shuttles to the right)

    In the listener query

    • Read the filter value Date and read the value of time full, clear the value of the filter date
    • long time set in the filter
    • Run the query by call of the listener of the original request #{bindings.allEmployeesQuery.processQuery}
    • Set the date value to the value entered by the user
    • erase the value of long type

    Here is the code

    {} private void processQuery (QueryEvent queryEvent)

    Table richeTableau = (RichTable) queryEvent.getComponent ();

    FilterableQueryDescriptor filterQD = (FilterableQueryDescriptor) table.getFilterModel ();

    Card filterCriteria = filterQD.getFilterCriteria ();

    Date dt = (Date) filterCriteria.get ("hireDate");

    time of to of subject Date and filter on hireDateLong instead of column hireDate column

    containing the value of long type of date instead of the Date

    If (dt! = null) {}

    TM long = dt.getTime ();

    filterCriteria.put ("hireDateLong", tm);

    filterCriteria.put ("hireDate", null); This must be null or will not work

    }

    DCBindingContainer bc = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    Object execBinding = bc.findExecutableBinding ("allEmployeesQuery");

    does not perform a cast of the class internal oracle but another technique guided under

    does not work with POJO data control

    run the filter

    (ExecBinding) .processQuery (queryEvent) (FacesCtrlSearchBinding);

    This will fail

    invokeQueryEventMethodExpression ("#{bindings.allEmployeeesQuery.processQuery}",)

    restore the value of the filter if he continues to display in the QBE bar

    filterCriteria.put ("hireDate", dt);

    filterCriteria.put ("hireDateLong", null);

    }

  • Problem: by dropping a Table Check constraint

    I got a check from a table constraint in my model. Then wanted to synchronize data dictionary. The comparison of models- dialogue see the difference, but as I check the box drop -(which is unchecked by default) and click the DOF preview preview is empty. I mean it's totally empty, not even the ddl-comments standard as

    -Generated by Oracle SQL Developer Data Modeler 4.0.1.836

    show up! So I guess that this behavior as a bug.

    Dieter

    Hi Dieter,

    Thanks for reporting this problem.  I connected a bug on this issue.

    Note that this problem does not occur for check constraints that are defined in the definition of a column.   It only occurs to verify the constraints defined at the Table level.

    David

  • Problem when selecting a table after you have created the dblink

    Hello

    We have created the dblink for oracle to sql server and created successfully,

    But while selecting the oracle table, we receive the question below,

    Select * from 'sysdiagrams"@omniyat;

    ERROR on line 1:

    ORA-00942: table or view does not exist

    [Microsoft] [ODBC SQL Server driver] [SQL Server] Incorrect object name

    'sysdiagrams '. {42S 02, NativeErr = 208} [Microsoft] [ODBC SQL Server driver] [SQL

    Server] instructions could not be prepared. {NativeErr 42000, 8180 =}

    ORA-02063: preceding 2 lines of DAMAC

    Please provide us with the solution for this problem.

    Concerning

    Sham

    Hi S27.

    We had the similar problem, and I guess you went to the database MSSQL and verified that the table exists in fact.

    The problem we encountered was that we were in the wrong database on the instance of MSSQL.  I am unsure of your Setup, but if this is your case, you can try either by setting the database default to the ODBC connection to the correct on the instance MSSQL database (can be done on Windows, I'm not sure about Linux), or you can USE the command through the :

    SELECT
         DBMS_HS_PASSTHROUGH.EXECUTE_IMMEDIATE@<> ('USE <>')
    FROM DUAL;
    

    You try your select statement from the DB link.

  • Insert the problem using a SELECT table with an index by TRUNC function

    I came across this problem when you try to insert a select query, select returns the correct results, but when you try to insert the results into a table, the results are different. I found a work around by forcing a selection order, but surely this is a bug in Oracle as how the value of select statements may differ from the insert?

    Platform: Windows Server 2008 R2
    11.2.3 Oracle Enterprise Edition
    (I've not tried to reproduce this on other versions)

    Here are the scripts to create the two tables and the data source:
    CREATE TABLE source_data
    (
      ID                 NUMBER(2),
      COUNT_DATE       DATE
    );
    
    CREATE INDEX IN_SOURCE_DATA ON SOURCE_DATA (TRUNC(count_date, 'MM'));
    
    INSERT INTO source_data VALUES (1, TO_DATE('20120101', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120102', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120103', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120201', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120202', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120203', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120301', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120302', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120303', 'YYYYMMDD'));
    
    CREATE TABLE result_data
    (
      ID                 NUMBER(2),
      COUNT_DATE       DATE
    );
    Now, execute the select statement:
    SELECT id, TRUNC(count_date, 'MM')
    FROM source_data
    GROUP BY id, TRUNC(count_date, 'MM')
    You should get the following:
    1     2012/02/01
    1     2012/03/01
    1     2012/01/01
    Now insert in the table of results:
    INSERT INTO result_data
    SELECT id, TRUNC(count_date, 'MM')
    FROM source_data
    GROUP BY id, TRUNC(count_date, 'MM');
    Select the table, and you get:
    1     2012/03/01
    1     2012/03/01
    1     2012/03/01
    The most recent month is repeated for each line.

    Truncate your table and insert the following statement and results should now be correct:
    INSERT INTO result_data
    SELECT id, TRUNC(count_date, 'MM')
    FROM source_data
    GROUP BY id, TRUNC(count_date, 'MM')
    ORDER BY 1, 2;
    If someone has encountered this problem before, could you please let me know, I don't see what I make a mistake because the selection results are correct, they should not be different from what is being inserted.

    Published by: user11285442 on May 13, 2013 05:16

    Published by: user11285442 on May 13, 2013 06:15

    Most likely a bug in 11.2.0.3. I can reproduce on Red Hat Linux and AIX.

    You can perform a search on MOS to see if this is a known bug (very likely), if not then you have a pretty simple test box to open a SR with.

    John

  • problem while browsing the table and tem records for data matching

    Hi I'm using a table all temporary and ane record and a loop through the two to find the correspondence between the dates.
    If the date is then it shud some treatment otherwise it will return null (default values).

    ******
    I'm IN student_rec FIRST... student_rec. LAST / * student_rec.school_date 01-MAR-2012,02-MAR-2012,03-MAR-2012,04-MAR-2012,05-MAR-2012*/ a
    LOOP

    l_return_out.school_date: = student_rec (i) .school_date;
    l_return_out.marks_obtained: = student_rec (i) .marks_obtained;

    BECAUSE me IN selected_dates. FIRST... selected_dates. LAST / * selected_dates 02-MAR-2012,03-MAR-2012,05-MAR-2012*/ a
    LOOP

    DBMS_OUTPUT. Put_line (selected_dates (i));

    IF selected_dates (i) = student_rec (i) .sett_date
    THEN
    EXIT;
    end if;
    -appeal procedure P1
    -output as ret_val1 / * to ret_val1 like 10 for 02-MAR-2012,03-MAR-2012,05-MAR-2012 * /.
    -appeal procedure P2
    -Download ouput as ret_val2 / * for ret_val1 20 02-MAR-2012,03-MAR-2012,05-MAR-2012 * /.

    If ret_val1 > 0 ret_val2 0r > 0
    then
    l_return_out.has_csts: = yes;
    l_return_out.cst_present: = 10;
    l_return_out.cst_absent: = 20;

    on the other
    l_return_out.has_csts: = No;
    l_return_out.cst_present: = 0;
    l_return_out.cst_absent: = 0;
    end if;
    end loop;

    l_return_out.has_cst: = student_rec (i) .has_csts;
    l_return_out.cst_missing: = student_rec (i) .cst_present;
    l_return_out.cst_existing: = student_rec (i) .cst_absent;

    PIPE ROW (l_return_out);
    END LOOP;
    RETURN;

    I expect that as a result

    school_date marks_obtained has_csts cst_present cst_absent
    MARCH 1, 2012 20
    March 2, 2012 Yes 10 20 30
    March 3, 2012 Yes 10 20 40
    MARCH 4, 2012 70
    60 Yes 10 20 5 March 2012

    but this result
    school_date marks_obtained has_csts cst_present cst_absent
    MARCH 1, 2012 20
    30 MARCH 2, 2012
    MARCH 3, 2012 40
    MARCH 4, 2012 70
    5 MARCH 2012 60

    Can someone please select the error I do when processing logic?

    Published by: 942390 on July 13, 2012 20:44

    Published by: 942390 on July 13, 2012 20:45

    >
    Can someone please select the error I do when processing logic?
    >
    Let me see if I understand. If you reach this part of the code:

    if ret_val1>0 0r ret_val2>0
    then
    l_return_out.has_csts := yes;
    l_return_out.cst_present := 10;
    l_return_out.cst_absent := 20;
    else
    l_return_out.has_csts :=No;
    l_return_out.cst_present:= 0;
    l_return_out.cst_absent := 0;
    end if;
    end loop; 
    

    You set values but DO NOT actually exit the loop - you just wrap around and continue. And the next iteration of the loop can actually delete these values and exit the loop.

    Even if these values don't get wiped out then when the loop ends you must run this code

    l_return_out.has_cst := student_rec(i).has_csts;
    l_return_out.cst_missing := student_rec(i).cst_present;
    l_return_out.cst_existing := student_rec(i).cst_absent;
    PIPE ROW(l_return_out);
    

    And this code permanently erases all the values in the first code that I showed and then DIRECTS the row.
    Each row that lead you has therefore values or NULL values for student_rec.

    This is the problem that you requested.

    But tell us why you use two tables and make two loops nested making slow down-by-slow (by line) treatment instead of using SQL for this?

  • Problems with slot-shaped table and set the values of column

    Hello

    I have a problem with a tabular presentation.

    I have two tables

    P_detail and table v_master

    columns of v_master:
    v_id
    v_Name
    v_info

    columns of p_detail:
    P_ID
    p_master_fk
    p_name
    p_info

    I want to have a tabular presentation where I can store permanent data retail values. That's why I want to keep the default main column join the detail columns.
    In SQL, I can do this with an outer join:

    SELECT m.v_name, d.p_master_fk, d.p_name, d.p_info
    OF v_master, p_detail
    WHERE v_id = p_master_fk (+)

    I get the lines that exist for the master data and can add values for the columns of detail. I removed the "add lines" because that makes no sense, because the amount lines are already offered at the opening of the tabular presentation.

    Now, I want to get/save the v_id (main table) in the p_master_fk column value

    How can I do this?

    Thank you and best regards,
    Matthias

    Hello

    One approach is to use a database instead trigger. If you define a database view using the query:

    SELECT m.v_id, m.v_name, d.p_id, d.p_master_fk, d.p_name, d.p_info
    OF v_master m, p_detail d
    WHERE v_id = p_master_fk (+)

    Then, create a trigger on the view that will insert in the detail table if d.p_id is null and update the secondary table if d.p_id is not null instead.

    The Apex tabular form is then based on the view (with identifiers like hidden columns) and all treatments multirow Apex should work without modification.

    Rod West

  • Problem with a light Table in Bridge CS6

    Hello! After a re - install (which does not solve the problem with PS), now, I find that, when you use the light table in Bridge CS6, and after hitting the SPACEBAR, if I then click on the image, it goes to the size of 800%! Before the uninstall and reinstall, it has perfectly worked by taking images at 100% size.

    I hope someone can help...

    Thanks, farming

    Why you reinstall photoshop cs6?

    What operating system do you use?

    You reinstall all updates Photoshop cs6 by going to help > updates within photoshop cs6?

    After you enter the light table, use your mouse wheel to zoom to 100% and leave the light table.

    The next time you go to the lightbox and click on the photo, it should only go to 100%.

  • The problem at popup_menu binding table

    Hello

    I'm the first attempt at coding a plugin for LR. I just did most of the work I need, but now I'm stuck with a delicate problem, I can't solve my self

    In a LrDialogs, I want to display a contextual menu (aka combobox) with a list of all the collection and collectionsand of the catalog.

    To retrieve the list of collection, I call getChildCollectionSets and getChildCollections recursively and put the results in a table. The problem is that I call them leave in a LrTask, waiting for the full main UI thread and so nothing appears in the drop-down list. It seems that the combo was built so that the table that bind the items property was empty and when it was settled the GUI was not be notified.

    Surely, I missed something... can point you in the right direction?

    Here's the code I'm using (just an example)

    local LrView = import 'LrView'
    local LrTasks = import "LrTasks"
    local LrBinding = import 'LrBinding'
    local LrDialogs = import 'LrDialogs'
    local LrApplication = import 'LrApplication'
    local LrFunctionContext = import 'LrFunctionContext'
    local LrStringUtils = import 'LrStringUtils'
    
    
    LrFunctionContext.callWithContext ("CollectionList", function (context) 
              LrDialogs.attachErrorDialogToFunctionContext (context)
    
    
              local collectionsList = {}
    
              LrTasks.startAsyncTask(function ()
                        for key, child in pairs(catalog:getChildCollectionSets()) do
    
                                  local name = LrStringUtils.lower(child:getName())
                                  collectionsList[key] = { title = name, value = child.localIdentifier }
                        end 
              end)
    
              local f = LrView.osFactory()
    
    
              LrDialogs.presentModalDialog {
                        title = "EasyWorkflow", 
                        contents = f:row {
                                  f:row {
                                            f:static_text {
                                                      title = "Collections",
                                            },
                                            f:popup_menu {
                                                      items = collectionsList
                                            },
                                  }
                        }
              }
    end)
    
    

    Place the entire code - bringing together the collections by opening the dialog box - in a single task.

  • problems with the external table to excel file

    Hi all
    I tried to use the statement below to create an external table.this table refers to an excel file.

    CREATE TABLE EMPFRAUD_TEST
    (
    SERIAL_NUM WHICH VARCHAR2 (10 BYTE),
    BRANCH_CODE VARCHAR2 (10 BYTE),
    BUSINESS_ADD VARCHAR2 (100 BYTE),
    VARCHAR2 (50 BYTE) REGION,
    DATE OF TRANSACTION_DATE_TIME,
    DATE OF REPORT_DATE_TIME,
    NO_OF_TRANS VARCHAR2 (4 BYTE),
    NUMBER OF AMOUNT,
    FRAUD_TYPE VARCHAR2 (25 BYTE),
    IMPACT_CATEGORY VARCHAR2 (10 BYTE)
    )
    EXTERNAL ORGANIZATION
    (TYPE ORACLE_LOADER
    THE DEFAULT DIRECTORY EXT_EMP_TEST
    ACCESS SETTINGS
    (records delimited by newline
    BadFile "empfraud%a.bad."
    logfile "empfraud%a.log".
    fields completed by «,»
    surrounded of possibly ' "'lrtrim"
    missing field values are null
    )
    LOCATION ("fraud.csv")
    )
    REJECT LIMIT UNLIMITED
    NOPARALLEL
    NOMONITORING;

    the problem is the following
    (1) when I run the query above the table will be created,
    but when I try to select in the table, an empty table display.
    When I checked the error log file, the following message was given.
    It was obtained from an oracle on unix Server database.

    'L_NUM '.
    KUP-04036: second enclosing delimiter not found
    KUP-04101: Save 71 rejected in the /home/oracle/ext_folder_test/fraud.csv file
    KUP-04021: field error for the field formatting ACCOUNT_KEY
    KUP-04036: second enclosing delimiter not found
    KUP-04101: Save 79 rejected in the /home/oracle/ext_folder_test/fraud.csv file
    KUP-04021: field formatting of error for the serial_num field which
    KUP-04036: second enclosing delimiter not found
    KUP-04101: Save 80 rejected in the /home/oracle/ext_folder_test/fraud.csv file
    column in treatment of TRANSACTION_DATE_TIME error in the row 1 for the /home/oracle/ext_folder_test/fraud.csv data file
    ORA-01858: a non-digit character was found here where was waiting for a digital
    column in treatment of TRANSACTION_DATE_TIME error in line 2 to the /home/oracle/ext_folder_test/fraud.csv data file
    ORA-01843: not one month valid
    column in treatment of TRANSACTION_DATE_TIME error on line 3 for the /home/oracle/ext_folder_test/fraud.csv data file
    ORA-01843: not one month valid
    column in treatment of TRANSACTION_DATE_TIME error in row 8 for the /home/oracle/ext_folder_test/fraud.csv data file
    ORA-01843: not one month valid
    column in treatment of TRANSACTION_DATE_TIME error in line 9 to the /home/oracle/ext_folder_test/fraud.csv data file
    ORA-01843: not one month valid
    column in treatment of TRANSACTION_DATE_TIME error in line 10 by /home/oracle/ext_folder_test/fraud.csv data file
    ORA-01843: not one month valid
    column in treatment of TRANSACTION_DATE_TIME error at line 11 to the /home/oracle/ext_folder_test/fraud.csv data file
    ORA-01858: a non-digit character was found here where was waiting for a digital
    column in treatment of TRANSACTION_DATE_TIME error in line 12 to the /home/oracle/ext_folder_test/fraud.csv data file
    ORA-01843: not one month valid
    column in treatment of TRANSACTION_DATE_TIME error in the 13th for the /home/oracle/ext_folder_test/fraud.csv data file row
    ORA-01843: not one month valid
    column in treatment of TRANSACTION_DATE_TIME error in line 14 to the /home/oracle/ext_folder_test/fraud.csv data file
    ORA-01843: not one month valid
    column in treatment of TRANSACTION_DATE_TIME error in row 15 for the /home/oracle/ext_folder_test/fraud.csv data file
    "ORA-01843: not one month valid."


    pls I need help to fix it fast
    Thank you

    concerning
    Abdulrahman olayide arpin

    NB:
    After the conversion to .csv format.
    HERE IS THE DATA THAT I'M TRYING TO ACCESS THE EXCEL FILE

    REGIONS, Transaction_Date_Time, Report_Date_Time, Account_Key (account number), BUSINESS OFFICE, Number_of_Transactions, Total_Amount (N)
    Ojo 1,162,9 Street, South of Lagos, various, 17 January 00, CHECK
    2,0238, "10 cyril Road, Enugu", Orient, 21/06/2006,23/12/10,020968765357 09867653920174,1,20000000
    3,0127, '261, Roland Rd, Asaba', Midwest, 22/12/2010,23/12/10, 1,'00160030006149, 6000000
    4,0519, 'just road, Onitsha.
    ', East, 12/03/2010,14/02/11,0896002416575,1,5000000.
    5,0519, 'just road, Onitsha.
    ", Orient, 03/12/2010,14/02/11,06437890134356,1,5000000.
    6 149, rue olayide, South NGN01492501036 of Lagos, 10/02/2010,17/02/11, 1,6108950
    7,0066, wale, mi - west,18/02/2011,18/02/10,'05590020002924,1,55157977.53
    8.66, john, Mid-west, 6787500, 1,'00660680054177 11/03/2010,14/03/09
    Waheed 9,0273, Biem, N/central, Jan 09 Dec/2010,01/04/11, Nile, 1, 14146040

Maybe you are looking for

  • Album art missing after upgrade to iTunes 12.5

    I've upgraded to Mac OS 10.12 GM and now miss a lot of my albums in iTunes album artwork (where they were not before the upgrade). I tried to use iTunes to add the missing illustrations, which appeared to fix it, but as soon as I sync my iPhone, albu

  • How can I reset FireFTP to original settings?

    My fire ftp account shows no more local files. All I see is the files on the server. I can't go back to the standard format two window with local files on left and remote files on the right. How can I get this back to the original settings?

  • The most recent update of vista

    I was working on my computer a few days ago, and the little thing goes out that there is an update to windows. (I have vista) This is my first and biggest problem ever. It corrupted my id user so all my itunes songs and school papers and locked and I

  • Does anyone know how to control the characteristics of police in a table with a front panel control?

    It seems that it should be simple enough.  I want that the user can adjust the characteristics of police of an array of numbers with some controls on the front panel.  I know how to do this using the drop down menus - but I want my users to do with t

  • Video stops at halfway thru - how can I fix.

    When I play a training video for a class I am taking or read an email that contains a video, the video stops at halfway thru, but the audio will continue.  How to solve this problem?  It's very frustrating.  If I stop and start again, it stops in exa