Edit/delete/add scene coordinates in the table during execution

Hello world

I managed to build table allows you to store and record the coordinates of the stage and remind to control steps. However, I need change/remove/add details of scene during execution. I also need to allow the user to directly edit the coordinate from the scene of the array. Wondering what someone knows what is the best way to do it? Or is it better to use the matrix or Cluster? Thanks in advance.

Best regards

Han Yen

Han Yen wrote:

Thanks much altenbach for all the advice. I tried to do a table 2D control. I've been playing with table in the control. However, I still can't find out how can I detect that I change the data in the table 2D with the more recent issue during execution? How can I then update my current table with the latest data?

Well, the 2D table is updated immediately and you do not all the other tables.

Do you mean that you want to update XAbs, etc. where the just changed line is already selected?

In any case, here's a simple project, perhaps it will give you some ideas. I would recommend using also the tables for XYZPos, entrances etc. and the XYZabs. This simplifies the code because you reduce the number of terminals and table operations.

Let me know if something is not clear to you.

Tags: NI Software

Similar Questions

  • Filter the Table during execution and keep uncommitted line changes

    Hello

    I have a requirement which has been quite difficult for me so far.

    I use the first version Jdev 12 c.

    I have a table of AF that is connected to a ViewObject that is used for sending new data.

    When I add lines to this ViewObject, I put a field that I intend to use for filtering so that the number of lines is not displayed at the same time.  This field comes from a selection of LOV.

    I want to be able to change lines are displayed in the table based on what is the current value of selection LOV.  This isn't a problem for me, and it works perfectly using a view criteria and a variable transitional EO I put in place.

    My problem is that when I select a new value in the LOV and change to bind the variable view criteria, I want all changes uncommitted to the lines to be preserved in the View object.  Currently, the lines are not keep their changes, and I need to do this, because after that the user has entered data for a large number of lines, there will be a commit to the database for all new lines added.  Is this possible or should I look for an alternative?

    I also tried to use a table filter in the link of the page layer, but I get an error that I can't debug. It is marked as Houston-34014.  In this method, I try to access my bean in pageFlowScope to filter the table.  This bean variable is updated when the LOV selection changes.  Error messages settings are {0 = oracle.jbo.Key [-220-225], 1 = root}.  I also read that this filter parameter is a static filter and does not dynamically during execution.

    Any help would be appreciated, thanks for reading.

    Hello lhymel

    I think that your problem is solved, so please close this thread and open a new thread for tuning related problem

    Thank you

    -Ashish

  • Adding series to the table during execution?

    Newbie :-)

    I'm trying to add series to a chart during execution because the number of series to draw is variable and only determined once the XML of a HTTPService returns...

    My chart looks like this:

    < mx:PlotChart id = "mainChart" showDataTips = "true" width = "100%" height = "100%" >
    < mx:series >
    ...

    If I add:

    < mx:PlotSeries xField = "Size" yField = "CompetitorPrice" displayName = "Competitor price" / >

    then the data plots OK, but try to create the same AS serial does not work (nothing appears):

    var newSeries:PlotSeries = new PlotSeries();
    newSeries.xField = "size";
    newSeries.yField = "CompetitorPrice";
    newSeries.displayName = "SeriesAddedAtRuntime!"
    mainChart.series.push (newSeries);

    Debugging presents the new series added and it seems OK... but it does not appear on the graph. No errors.

    I tried mainChart.executeBindings (); and mainChart.validateNow (); with no chance, but I guess as to what is to be the case here, as you can probably!

    What Miss me something to force an update of the chart with the new series added?

    Thanks in advance

    John

    It is not displayed because the table is not aware of the change in ownership of the series. I think that to run the following steps (give an or take a few syntax errors):

    var set = mainChart.series;
    var newSeries:PlotSeries = new PlotSeries();
    ...
    Series.push (newSeries);
    mainChart.series = series;

  • Add new records to the table of the ADF

    Hello

    I use Jdev 11.1.1.3.0.
    I have a Page of the ADF with detail Table of form - master, I want to add new records to the table reflecting in DB. Is it possible to do? pointers or demo?


    Thank you
    MB

    What are the components are used in your table? When you created the table originally, you specified as a table read-only? If your table contains components of af: outputText, then you will need either manually change components entry way, or remove the table and re-drop-the-in the form of table (not read-only)

    John

  • change the frequency of the signal during execution

    Hi, I'm working on a VI to calculate excess of signal I think VI seems to be good (not sure) but now my problem is

    change the frequency during execution, which I am not able to do only when I stop and run the vi frequency changes... pls

    someone help me I tried to put in an event... but no use... maybe iam missing something pls help me...

    I noticed that you have some time a loop around the entire block diagram - I'm not entirely sure why that is.  The way you have your VI wrote that the two inner loops will never come out unless there is an error-'stop' buttons are hidden.  Thus, the outer loop is not do anything for you.

    Once you take it, it is easy to see why you cannot change frequency.  It is defined once, outside of the loops and so never gets checked again.  The best way to resolve this, in your case, is to use registers with shift on the upper loop and check if the value of the frequency has changed since the last iteration.  If so, generate a new waveform and feed DAQmx writing instead.

    See the version annexed to your main VI for what I mean.  (I also replaced the controls to stop with one that is visible and which will stop the two loops without your duty to hit the button abandon.) I'm also an error on the DAQmx read in the loop at the bottom, but I'm sure it will work fine on your equipment.

    See you soon,.

    Michael

  • Pass the value of the variable during execution

    Hello

    I have a package with a set of interfaces and three other variables.

    I want to pass the value of the variable at runtime, based on the value passed I want to decide which interface to run then. How can I do this? I got a set variable but I want to asssign the value during execution.

    Any help is greatly appreciated.


    Thank you
    San

    You have many options to achieve this goal.

    1. keep the run settings in the database, extract the Variables in a time of refreshment and use these variables in your Interfaces to get values of execution.

    2. change the value to the variables on the outside. You can declare a variable in a package as a step of the statement, and then use the variable in your interface in a successive step in your package. Then, create a scenario of your package and creating the scenario, it will prompt you to include the variables that you want to include as a startup parameter. Choose the one (s) concerned. Citing this scenario using Java or an OdiStartScen command or by using Webservices ODI externally, you can provide values of the runtime as a result.

    I hope this helps.

    Concerning
    A

    Published by: 922636 on August 29, 2012 23:53

  • definition of the background image of the file during execution

    So, I have another issue to resolve and my migration to 11.5 will be complete.  In the previous iteration, the project has been able to set the background image from an external file dynamically during execution.

    After the migration, it seems that the projector keeps the canonical path to the image of Member and looking for him there. In other words, loads of projector, but a file finder opens, saying: he cannot find the background image in the path of the source machine Director.  Setting the name of the file in the jargon does not stop this behavior doesn't happen.

    I tried to re - import the image as "link to external file" (which had the same results) and flat import (which does not load the file during execution, even if I put the file name in the jargon).

    Anyone know how I can do this, the value of the background image of a file during execution?

    Thanks in advance!

    I do it all the time.  Just make sure that the image is in the same location relative to the projector that's director file.  The easiest way is of course if the image is in the same folder as the .dir file, in which case, you'd sure as to put it in the same folder as the projector, and you can set the name of the file using:

    Member ("someExternalMember"). FileName = the moviePath & "filename.jpg"

    You can have it in subfolders as well if you want to make sure that the relative location is the same.

  • Add a line to the table programmatically

    Hello

    How do I add lines to the af: table of the java class? for that to editable object view exist on the JSPX page

    Thank you

    Chaya

    You can see the following code to add a line at the end of the table programmatically:

    public String cb1_action() {}

    Add the code in the event here...

    BindingContainer bc is BindingContext.getCurrent () .getCurrentBindingsEntry ();.

    JUCtrlHierBinding hierBinding = (JUCtrlHierBinding) bc.get ("EmployeesView3");

    DCIteratorBinding dciter = hierBinding.getDCIteratorBinding ();

    NavigatableRowIterator nav = dciter.getNavigatableRowIterator ();

    NewRow row = nav.createRow ();

    newRow.setNewRowState (Row.STATUS_INITIALIZED);

    Line lastRow = nav.last ();

    int lastRowIndex = nav.getRangeIndexOf (lastRow);

    nav.insertRowAtRangeIndex (lastRowIndex + 1, newRow);

    dciter.setCurrentRowWithKey (newRow.getKey () .toStringFormat (true));

    Returns a null value.

    }

    For the case where you must add a line in different places of the table, see the link below:

    http://adfsonal.blogspot.in/2013/02/create-row-at-end-of-ADF-table.html

  • Add new data to the table in a log file

    Hi all. I am new to Oracle and I need to also write new data table in a logfile on Linux in order to live in the display screen. My first thought was to write a trigger, and after some research on googled around, I finally came to this:

    create or replace trigger foo_insert
    After Insert on foo
    for each line
    declare
    f utl_file.file_type;
    s VARCHAR2 (255);
    Start
    s: =: new.udate | '-' || : new.time | ' ' || : new.foo | ' ' || : new.bar | ' ' || : new.xyzzy | ' ' || : new.frobozz | ' ' || : new.quux | ' ' || : new.wombat;
    f: = utl_file.fopen ('BLAH_BLAH', 'current.log', ' a');
    UTL_FILE.put_line (f, s);
    UTL_FILE.fclose (f);
    end foo_insert;

    It seems properly to add new data in the log file as new inserts occur, but open and close the file each time are of course not optimal.
    In the app real new lines could have inserted every second or two. How can I optimize it? In addition, the log file will be archived and turned every day, so there must be a way to effectively report the relaxation of the oracle to reopen the case.


    Thank you!

    >
    I would like to pursue the optimization of the trigger
    >
    As Ed suggested you need to think this through a few others and refine the requirements.

    You said "I am new to Oracle. So you may not realize that anything a trigger didn't REALLY EVEN HAPPEN! The transaction can still be restored by Oracle or by the appellant. Want that all the 'hiccups' look too? If this isn't the case, then you can not use a trigger to do this. You need the process that translates the trigger being called to do logging after the data is stored.

    It should be noted that this requirement is before we can offer solutions to a problem.

    Assuming you want the trigger record all attempts change the data, then the best way I know to do that is to minimize the work does the trigger.
    Another fundamental principle is to follow the advice of the Ed and have a clear separation and distinction between "what" should be done and 'how' to do it.

    To minimize the trigger work change proposed Nicosa approach. Create an AUTONOMOUS_TRANSACTION stored procedure that handles the 'how' and just have the trigger to transfer data to the stored procedure values. The trigger provides data; He doesn't know, or care, what is done with the data.

    The stored procedure is then free to use the files, a table, write to a file or any other method is proving to be the best. You can change the methods without affecting the trigger.

    A queue or table may contain data, but again once you need to think about the obligation. Do you need fair access to data only once? Now, you want a "tail". But what happens if this requirement change tomorrow? You won't have to redesign the architecture.

    With a queue once you delete the queue data it won't here later if you want to get it again. With a table you can take as long as you want.

    I would like to start by using a table to store the data. If you use a sequence number or "insert_date" value, you can always query the data of interest. The table just collects data. He does not care how to use data.

    So, by using proven design principles and knowing that the requirements are for the most part unknown and may change unexpectedly, I would be:

    1. create an AUTONOMOUS_TRANSACTION stored procedure that accepts the parameter data and the thicket in a simple logging table.
    2. change your trigger to call the procedure to step #1
    3. create another procedure that performs a query of 'tail' for you will depend on 'insert_date' number or sequence. This query can write data to a file or return a cursor ref that your script can use to provide data for display.

    The approach described above takes each step in the process relatively independent of the other stages.

    Until put you the finishing touches to the requirements that you do not want to lock up your initial design.

  • Add / remove rows from the Table

    Hello

    I'm really new to LiveCycle ES 8.2 (= non-existent knowledge of JavaScript) and has difficulties to create a table that can add / remove lines.

    I found a model that has the feature I need, but am unable to reproduce the table. (Ref. "Fax Cover Sheet_SW.pdf' http://forums.adobe.com/message/2561553#2561553)

    Even when I create a new blank form, and then copy / paste the table (subforms: 'detailHeader' + "detal") in the new, blank forms, the table stops working. The buttons are more clickable in the LiveCycle 'Preview PDF'

    In the new, blank forms, the 'Paging' and 'Binding' tabs have some or all of their features grayed out.

    I tried the following:

    1. Save the form as an "Adobe Dynamic form XML (pdf)"
    2. Make sure all of the 'content' subform fields were set to "Position" instead of "Flowed".

    What am I missing, like all JavaScript copied on, but for some reason any does not work.

    4 things you need to correct your form...

    (1) Page1 subform needs tobe Flowed the value.

    (2) then the link to the Subform1 tab will be active. You must check the box "subform to repeat for each item of data.

    (3) in the Add button to Subform1 you missed 'instanceManager' in the code...

    Subform1.instanceManager.addInstance (1);

    (4) in the same way in the button Delete

    Subform1. instanceManager. removeInstance (this.parent.index);

    Thank you

    Srini

  • Problem of deletion of a row of the Table Instance.

    Hi all.

    I will try to explain this as best as possible.

    I have a form with a Table object on it.

    The table has 2 rows and 3 columns. A header line, a blank line.

    The cells of each column is a textfield whose data binding is set on $record.data.mydata [*]

    I have also 2 buttons on the form. Add a new line at the end of the table and the other to REMOVE the last line of the table.

    When I open the form in Acrobat Pro, I can click on the button ADD to a line and it works. I save the file and the newly created line is always there when I open the file at a later stage.

    Then when I click the button to DELETE a line, it removes the last line of the table perfectly. BUR, then I save the form, close it and re - open line I just REMOVED is still there.

    Now here's the funny part.

    When I change the Data Binding textfields to normal, everything works 100% and the form can be saved without the line that I removed. Change the binding of data to the $record thing, and it does not save the form when I remove the line.

    I am using LiveCycle Designer 8.0.

    Thank you all.

    You should leave the link "$record" on the cells, just put all of the above links to 'None '. So if you import xml into the form, the table should develop as expected. Sample xml that you import into the form is attached. You will notice that the table grows well. The pdf file must be saved in dynamic PDF to make it work.

  • Add a column in the Table lead RN

    Hello

    In a standard page, there is a searchRN, and on this basis, the data from the table ahead are met. I want to add another column of this table in advance. The original Version has the required column, so I just map the attribute and the instance.

    If she wasn't a table in advance, I would have, but for table in advance, it looks different. Any approach step by step would be really useful.

    Appl Version: 12.1.3

    Thank you

    Region of table in advance, create a new item. Type of item would be the column.
    create 2 new items under the newly added column. 1 is the column header and a second would be messagestyledtext.

    Kind regards
    RAM

  • Paragraph style by default when you add rows/columns of the table

    Hello

    I use InDesign CC and whenever I add a new row in the table or a column, that paragraph for these lines styles are in default in the styles I won't use. They are actually failed to really big styles title so I don't just add lines 3 and 4 and my table is out of the page. None of the surrounding cells, columns or lines contain the ID styles is emphasizing the use.


    How can I set the default style for a new row in the table or column?

    Thank you

    Paul.

    Hi, thanks for the help guys. I tried your suggestions but I always had the same problem. However I noticed that when the model documents have been opened there were styles by default selected in all the style panels. It seemed that it was these styles by default selected which were applied to new rows in the table.

    I opened the templates and all the panels style [none] or [standard paragraph], then saved the document.

    This solves the problem because no style is now applied when rows are added.

  • How to keep the (update or delete, insert) triggering action in the table?

    Hello experts,
    I have create a trigger on update, delete or insert. I insert records into a table which records insert, update, or delete.
    I would also like to insert the revival of whick action the trigger as update, delete or insert.

    Here's my trigger code.

    create or replace trigger BOM_HISTORY_TRIGGER
    after update or delete or insert on BOM_HISTORY
    for each line
    Start

    insert into bom_history (BOM_MOD_CODE, BOM_ASSY_CODE, BOM_ASSY_QPS_old, BOM_ASSY_QPS, PPC_SRL_ #, ITEM_ENTR_BY,)
    ITEM_MOD_BY, MOD_DATE, ACTION)
    values(:Old.) BOM_DIV_CODE,: old. BOM_MOD_CODE,: old. BOM_ASSY_CODE,
    : old. BOM_ASSY_QPS,: new. BOM_ASSY_QPS,: old. PPC_SRL_ #,: old. ITEM_ENTR_BY,
    : old. ITEM_MOD_BY, SYSDATE, 'delete')
    END;

    HOW to keep the action in the table.

    also, there is error:
    WARNING: Trigger created with compilation errors.

    Please help to fix it.

    Thank you best regards n
    Yoann

    >
    insert into bom_history (BOM_MOD_CODE, BOM_ASSY_CODE, BOM_ASSY_QPS_old, BOM_ASSY_QPS, PPC_SRL_ #, ITEM_ENTR_BY,)
    ITEM_MOD_BY, MOD_DATE, ACTION)
    values(:Old.) BOM_DIV_CODE,: old. BOM_MOD_CODE,: old. BOM_ASSY_CODE,
    : old. BOM_ASSY_QPS,: new. BOM_ASSY_QPS,: old. PPC_SRL_ #,: old. ITEM_ENTR_BY,
    : old. ITEM_MOD_BY, SYSDATE, 'delete')
    >
    Unless I've counted wrong you have 9 mentioned columns but try insert 10 items.

  • How to add a link to the tables

    Hello

    If all goes well, there is a simple answer to this question - I had this long table that I created and I separated it until the broadcast on several pages, which links the tables so that the information in the table would pass. -a worked very well!

    I have recently moved these paintings in a new document and now I have these linked tables, I have those individual. I tried to re - bind all text fields, but just, pushes the table down and place the information on it in the form of text, it does not place new information into the table cells as it used to.

    Is it possible to re - linking tables if they are in the same way as they did before?

    Go back to your original document and rather than copy the text boxes, place the text cursor in the first box, and then select all.

    Then paste it into a text box in the new document.

    The copy of the individual images of a related story breaks the links.

Maybe you are looking for