Iteration issues?

I do turn my nested loops, when I write my resistance to the worksheet data, it begins in the 1st position correctly, I have the function Index Array bound to the column switch for loop, so it starts running and write properly, indexing 1 position every time write the new value until its the iteration of the loop of 8 down which is how many times I loop running, after clicking on 8, line switch cycles to the next and begins column loop Iteration everywhere, that's what want, but he began to write my data back to position 1. Any idea on how I can continue to complete the rest of the data sheet and adding them to the list after 8?


Tags: NI Software

Similar Questions

  • Please I need your help in the next issue.

    Please I need your help in the next issue.

    I'm trying to change a driver of function generator to perform the following operations:

    starting with the initial value (for example 1 MHz) for some time (for example 10 sec.) and turn off the output for another time (e.g. 20 seconds) and then start again but this time with the frequency increment value (for example 1 MHz + 0.1 x n MHz = 1.1 MHz for n = 1, 2, 3,... n).

    The function generator model is ag33xxxGPIB and the link of the driver is http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9066659CE034080020E748...

    There is no modifications are required for the driver, although there might be an example that you can edit. You use the function of the frequency set in a loop with a shift register. Initialize the registry to offset with the frequency of your departure and each iteration of the loop, add the value of the step. Exit the loop when the stop frequency is reached. Try to write something and after back if you have any problems. Fix what you wrote.

    It's pretty basic LabVIEW code. Did you do the online tutorials?

  • no error with NonLinearFitWithMaxIters, even for 1 iteration only...

    Hi all

    Today, I tried using the function in the advanced analysis library NonLinearFitWithMaxIters (CVI 9.0).

    I want to know is if the function found gave the best fit the number of iterations that you want.

    According to aid, if NonLinearFitWithMaxIters has reached the maximum number of iterations without reaching a solution, it returns an error.

    Thus, for a limit of the 1 iteration, I would expect an error, because after one iteration only I would not expect did so to have converged. Unfortunately, it does not return an error condition, the return value is always zero (that is, ok).

    Draw function with parameters adjustment resulting unambiguously shows that the adjustment did NOT converge. However, the function does not say if - is this a bug or did I miss something?

    Thanks, Wolfgang

    Hi Wolfgang,.

    Thank you for reporting this issue.

    I watched your program. I agree, we need to return an error in the situation you mentioned, and we'll fix it in our next release.

    Thanks again for your great help improve our operation.

    Best wishes

    xearthl

  • AF:iterator does not display the var values

    I am confused because I know works from the iterator, so miss me something here, I hope that something simple.

    JDeveloper 12.1.3.0.0

    My bean, I have a simple method that returns a list of objects that implement Serializable.

    The jsff calls the iterator, and this is where it gets weird.

    < af:iterator id = "fe_0" varStatus = "stat" value = "#{mybean.selectedParameters}" var = "param" > "

    < af:outputText value = "name: #{param.name}" / > "

    < / af:iterator >

    The result, however, still shows name: worthless.

    I know there is a value, because if I use af:forEach instead, it works fine, but the causes of other issues, so I'd rather get iterator to work.

    < af:outputText value = "Index: #{stat.index}" / > displays the index correctly, but something weird with the var object. "

    Any ideas?

    Thank you

    Mike

    Hello

    Forget my last comment, I did not read that forEach works for you.

    Try to use another name var in the iterator.

    Kind regards

    Ruben.

  • Problem with iterator and EJB data control

    My project components:

    JDeveloper 12.1.3

    Back end & the intermediate layer, JPA, EJB 3, controls data EJB

    JSF pages simple front end (no fragment), bounded task flow

    Hello

    I have a weird problem with iterators in my project, project using EJB 3 & JPA and EJB data controls

    When the user come to a page (this page is part of a stubborn workflow) and add a record to a table (linked to an iterator) and without saving changes, leave the page (means output delimited task flow)

    do something else and again back to the first page iterator always keep this line is entry and it cause problems in my system

    If I close the browser and come to this page for sure the line is not there

    I expect when the user leaving a stubborn workflow each thing belongs to this workflow should be deleted. Is this true?

    Or someone has the same problem? Any suggestions / or work around?

    Respect of

    Mohsen

    Have you read the link I posted? Have you named the BA a transactional data control?

    When you leave the workflow you issue a rllback and the new line should have disappeared.

    Timo

  • Feature helps performance call (COLLECTION ITERATOR PICKLER FETCH)

    11.2.0.3

    Solaris 10

    I need assistance with our implementation of the policy of restricting access. From our plans of execution and trace files, we see our political function run when querying tables restricted. This, of course, is planned and is done in a hash against the returned results join by the query . The function fills a set IDs based on the roles that the user has and pushes those predicates against object_1.

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

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

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

    |   0 | SELECT STATEMENT |                  |  5331 |   786K |  1358 (21) | 00:00:03:

    |*  1 |  HASH JOIN RIGHT SEMI |                  |  5331 |   786K |  1358 (21) | 00:00:03:

    |   2.   COLLECTION ITERATOR PICKLER FETCH | GET_PERMISSIONS | 16360. 32720 |    20 (10) | 01:00:00 |

    |   3.   TABLE ACCESS FULL | OBJECT_1 |   634K |    90 M |  1302 (19) | 00:00:03:

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

    The problem we have is with reports where the optimizer find it more effective to make an IMBRIQUEE LOOP between an object and the object of access restricted. The function is then called as as many times as the operation of nested loop runs. When a report may take a few seconds, it will be take minutes to complete because the function is called thousands of times. These reports are very long and complex but below is an example where I forced the nested loop (query takes too long without additional predicate).

    SELECT / * + USE_NL (obj1, obj2) * /.

    Ob1.ID

    Of ob1, ob2 object_2 object_1

    WHERE ob1.obj2_id = ob2.id (+) AND obj1.obj_name IN ('SOME_VALUE');

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

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time     |

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

    |   0 | SELECT STATEMENT |                  |  3620 |   190K |   137 (2) | 01:00:00 |

    |   1.  NESTED EXTERNAL LOOPS |                  |  3620 |   190K |   137 (2) | 01:00:00 |

    |   2.   TABLE ACCESS BY INDEX ROWID | OBJECT_1 |  3620 |   123K |   135 (1) | 00:00:01 |

    |*  3 |    INDEX SKIP SCAN | OBJECT1_FK_I |  3620 |       |    22 (0) | 01:00:00 |

    |   4.   SEE PUSHED PREDICATE. OBJECT_2 |     1.    19.     1 (0) | 01:00:00 |

    |   5.    SEMI NESTED LOOPS.                  |     1.    19.    21 (10) | 01:00:00 |

    |   6.     TABLE ACCESS BY INDEX ROWID | OBJECT_2 |     1.    17.     1 (0) | 01:00:00 |

    |*  7 |      INDEX UNIQUE SCAN | OBJECT_2_PK |     1.       |     1 (0) | 01:00:00 |

    |*  8 |     COLLECTION ITERATOR PICKLER FETCH | GET_PERMISSIONS |   137.   274.    20 (10) | 01:00:00 |

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

    We have reports where the function is called more than 100 000 times and can take 12 minutes additional to complete. I'm not the developer of these reports or our policies, but I do my best to help in tune. I can force it to use hash joins, where possible, and the time of the request is excellent. There is, Unfortunately, thousands of these reports with different degrees of performance degradation because this function so that the developers are wondering if there are other alternatives. Is there a way to tell the optimizer to use of hash joins when dealing with this function? I looked at using different policy types (currently "SHARED_CONTEXT_SENSITIVE"), but neither contributed to improve performance. I've been all over the internet and have not been able to find a similar situation. I tried to be comprehensive, but I do not know I missed some vital information, then please let me know if I can explain it. Thoughts appreciated.

    Thank you.

    CREATE OR REPLACE FORCE VIEW SOME_SCHEMA. SECURITY_ID_TEMP

    (

    ID,

    CONT_CN

    )

    AS

    SELECT id, cont_cn

    TABLE (CAST (some_pkg.get_ids AS rls_array)) t;

    And this latter view is probably what is causing the problem. That's what I said in my answer:

    A possible explanation is that your political function is a predicate that uses a collection.
    . . .
    Probably the political predicate sometimes involves a small number of elements and many other times.

    And it is the predicate that you just posted:

    IF ii_user_is_exempt (some_user)

    THEN

    predicate: = NULL;

    ON THE OTHER

    predicate: = 'security_id in (select id from security_id_v);

    END IF;

    RETURN of predicate;

    The policy predicate is querying a view based on a collection. How the optimizer supposed to know how "rows" are in this collection 'rls_array' which is used as if it were a table?

    As you return a NULL predicate in some cases. I've never tested it, but I would warn against it. See the doc of security

    http://docs.Oracle.com/CD/E25054_01/network.1111/e16543/VPD.htm#CIHBEIFC

    Creating a function to generate the dynamic WHERE Clause

    To generate the dynamics WHERE clause (predicate), you must create a function (not a procedure) which defines the restrictions you want to apply. In general, the security administrator creates this function in its own schema. For a more complex behavior, such as including other functions or adding controls to track logon attempts, create these features within a package.

    The function should have the following behavior:

    • It takes as arguments a scheme name and a name of object (table, view, or synonym) as inputs. Set the input parameters to contain this information, but do not specify the schema name and object themselves within the service. The strategy that you create with the DBMS_RLS (described in "creating a policy to attach the function to the objects you want to protect") provides the namespace of the schema and object to which the policy applies. You must create the parameter for the schema first, the setting for the object.
    • It must provide a return value for the predicate in the WHERE clause that will be generated. The return value for the WHERE article is always a VARCHAR2 data type.
    • It must generate a valid WHERE clause. This code can be as simple as the example in "tutorial: creating a Simple Oracle virtual private Database Policy ', in that its WHERE clause is the same for all users who log on.

    I wonder the use of this collection as part of your policy mechanism.

    TABLE (CAST (some_pkg.get_ids AS rls_array)) t;

    First - each user has its own State of package. This means that each user has its own collection; This isn't a master collection (ID game) that is shared by all users. A real table, is where the data will be shared by all users should exist.

    Second - this function 'get_ids' (I guess this is a feature rather than a grouping variable?) may actually be to interview one or more tables every time it is called. This means that EACH query that performs a user must first call that 'get_ids' that works while it asks a few real tables to obtain information and make a collection.

    Even if a required collection to be used it must be created ONCE and then come back as needed.

    This security architecture raises some red flags for me. It's the first thing that I looked at.

    Yes, I know, any changes that might involve serious implications and require a substantial analysis, testing and implementation. But my suspicion is that where the root of the problem.

    My assumption is at this time that your collection of 'rls_array', used as a table, is the cause of the problem. Oracle does not have statistics on the result set of this "table", and of one query to another, has no way to know if the number of 'lines' changes significantly.

    Oracle could use some dynamic sampling to try to estimate things and inspiring that sampling is changing the execution plan. You could try to find a query which causes problems and to see how the number of items in collection compares the number of a normal query.

    Short of this thorough/fix analysis which I think is necessary, your best bet may be to investigate pinning on an implementation plan; forcing the use of a basic plan for this query little matter that runs it.

    If you want to study Sql Plan Management and this way opens up a new thread for this issue/question and provide a link to the current thread.

    Here is an article from Oracle to become familiar with SPM

    http://www.Oracle.com/technetwork/issue-archive/2009/09-Mar/o29spm-092092.html

    And here is sample thread "How to force Oracle to use an implementation Plan" to give you an idea of the use of the mechanism.

    https://community.Oracle.com/thread/991149?TSTART=0

    See Jonathan Lewis's response in this thread.

    There are many other threads and documentation, SPM, if you want to continue that.

  • Get columns from the table shown in the iterator

    Hello...

    I have the table in a collection of standard panel.  So, I can show/hide certain columns in the table using the columns in the view menu.

    Then I'm trying to do is export to excel (using apache poi) by looping through the table iterator.  What I can't do is search if the column is not displayed.  I don't want all the columns that are exported without worrying.  How can I achieve this?

    My bean is similar to the following for loop through the iterator:

    BindingContext bindingContext = BindingContext.getCurrent ();

    BindingContainer bindingContainer = bindingContext.getCurrentBindingsEntry ();

    DCIteratorBinding dcIteratorBinding = (DCIteratorBinding) bindingContainer.get ("EmployeesIterator");

    lines [] oracle.jbo.Row = dcIteratorBinding.getAllRowsInRange ();

    for (oracle.jbo.Row line: lines) {}

    {for (String colName: {row.getAttributeNames ())}

    output to excel cell here using row.getAttribute (colName) m:System.NET.SocketAddress.ToString)

    }

    }

    Thank you.

    Hello

    It's like ask the engine in your car to what colors the seats have. The iterator doesn't know anything about the visible state of a column. If the displayed columns must be determined from the table instance (richeTableau)

    The following article solves exactly the requirement that you have: Oracle ADF: Build Your Own it comes with a sample that you can download here: http://www.oracle.com/technetwork/issue-archive/2013/13-jul/o43adf-1940728.zip

    Have a look at CustomPanelCollectionBean.java:

    The method and code that you want to look for is:

    private String getRowHtml (row rw) {}

    StringBuffer rowHtmlBuf = new StringBuffer();

    Read visible columns in the table of the table instance. This way the

    PanelCollection can be used to show/hide columns and exclude

    printing to HTML

    Table richeTableau = this.getRichTable ();

    the list of columns determine the print attributes

    The list of columns in = table.getChildren ();

    int attrCount = columns.size ();

    rowHtmlBuf.append (this.addRowStart ());

    for (int i = 0; i)< attrcount;="" i++)="">

    for all visible columns, add columns to print

    If (((RichColumn) columns.get (i)) .isVisible ()) {}

    If (rw.getAttribute (i) instanceof ViewRowSetImpl) {}

    ignore the collections of detail used for master/detail example

    constraints in British Colombia ADF

    } ElseIf (rw.getAttribute (i) instanceof oracle.jbo.domain.Timestamp) {}

    shorten date to exclude the infromation times

    SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy");

    String dateFormatString = sdf.format (((Timestamp) rw.getAttribute (i)) .getData ());

    rowHtmlBuf.append (this.addDataCell (dateFormatString));

    } else {}

    Prnt attribute values and if sure that null values don't raise a NPE. Add a white character to NULL

    attribute values

    rowHtmlBuf.append (this.addDataCell (rw.getAttribute (i)! = null? rw.getAttribute (i) m:System.NET.SocketAddress.ToString ():))

    " "));

    }

    }

    }

    rowHtmlBuf.append (this.addRowEnd ());

    Return rowHtmlBuf.toString ();

    }

    You need to access the Rich Table instance (for example using the JSF component binding) to then compare the attribute in the iterator with the visibility of the column

    Frank

  • Iterator is refreshed before committing.

    Hello

    Scenario:

    The user loads the first page. He can see his profile details. He clicks on a link change; It opens a popup to change the details with a backup and the Cancel button. Changes that he the his name and click Cancel. The Cancel button closes just the edit popup.

    Problem:

    He will see his name published on the front page. Only if he commits his edition name should appear at the top of page. His past because the same links used in the first page and the editable page. I tried to give pageDef CacheResults = "false".

    < iterator lie = "AdminVO1" RangeSize = '25' DataControl = "AppModuleDataControl."
    ID = "AdminVO1Iterator" CacheResults = "false" / >

    But it's not working. Please help me in this issue

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/06-cancelform-Java-169125.PDF

  • Iterator to access another page

    Hello

    I use JDev 11.1.1.4 and I was wandering if it is possible to access an iterator from another page.

    In my case, I have a (jspx) page that has the links sub-tab an iterator; on the page there is a button that launches a popup inline (another page jspx), in which I want to use a selectOrderShuttle, which is filled using the iterator of my first page. When I put the iterator binding in the popup page, it works fine, but for issues of reuse (I want to use this popup with selectOrderShuttle for different iterators, which will be given as a string parameters), I want not to have a link on the popup page, I want to access the iterator of my initial page and use it to fill my lists. Is this possible?

    Thank you
    Georgiana

    Hello

    the linking field is per page or display. An iterator is not a data cache mechanism - it is the responsibility of the services business exposed by the DataControl

    Frank

  • Pptx to PDF conversion issues - images disappear or showing only in pieces

    Recently, I have my pptx to PDF files conversion problems.  I'm on Windows 7, Powerpoint 2007 and have tired both Acrobat 10.1.2 than Acrobat 9.5.

    When I choose Save PDF of PowerPoint, it publishes, BUT many of these images (created with powerpoint with shapes and clip art) disappear from the PDF file.  Some of my pptx files have been converted without problem (using the combination of pptx & Acrobat 10.1.2) - However, if I come back in a do even a simple change (even to the text) it will NOT convert to PDF with precision - once more images will be missed and I get an error message.

    I tried to fix my Acrobat - which did not change the results. I also tried to go to an earlier version of Acrobat reader, and that no longer works.  I even uninstalled and reinstalled Acrobat, restarted my computer - etc.

    I'm at a bit of loss - since I have not had problems in the past?  This question seems recent - in the last two months.

    Any ideas where I could watch or what else I could try?

    Thank you very much for your ideas!

    Loreen

    HI Bill,

    I work with Acrobat - not a 3rd party.  Maybe I'm missing something but my Word and Powerpoint 2007 do NOT have the option of printing to the Adobe PDF printer - it is NOT listed or available (I think from my research that Microsoft has more than a provision to issue with Adobe?).  The ONLY way I can find to create a PDF file (by Adobe) of Word and Powerpoint 2007 is the Save as function.  The MS Plugin was for the function "save under"-I have that already have in place.

    This problem is recent... I have created a complete PDF of the document photographed above there are a few iterations.  The only changes that I made to the document were changes in texts... I then went to save in PDF format and this time... you see the result... pieces of missing images.  I wonder if there is a bug or something is the most recent update of Adobe Reader 10.1.2?  Or if there is somewhere else I should be looking to try to resolve the problem.

    Thank you very much for your ideas!

    Loreen

  • Untangled RoboSource slow performance issues

    Hi all

    I'm a noob-Robo (noobie, novice, etc.) but not new computers and databases and others. We have a team of 5 authors are all working on separate projects but under even version RoboSource Control. We know some questions serious performance: projects can take over an hour to check outside or inside. not all users can see projects; "Rename" do not get rid of the old actually prefer a copy under the new name (?); etc.

    I'm trying to 'normal' basic behavior for RoboSource Control as well as some best practices for multiple users. I wonder if there is something more in depth to describe the RoboSource Control engine and possibly maintenance tasks to help what seems to be a jumble of nodes that are not all necessary, too many users "admin", etc. I expect that the "cleansing" will solve many of our problems.

    So, rather than go in each problem in the forum, I prefer to find the right resource and to tackle this thing by iteration.

    Thanks for your useful suggestions

    Don

    I wanted to update the forum about this performance issue. After further investigation, we note that serving PC server worked for 6 months without interruption. In addition, she has 512 MB of RAM, but the ROBOSOURCECONTROL service consumed 350 MB of it. The rest of the system resources were probably permutation are busy. A reboot which is brightened and RSC performance is splendid - from 30 to 60 minutes, until about 15 seconds for a GET or a check-in.
    We suspect there is a memory leak in CSS, but I can start a separate thread for some tips on how to identify and report a bug for this package.

    Thank you all

    Don

  • REQUERY ITERATOR IN THE ADF APPLICATION

    Hello

    I work with ADF BC view object data control, MySQL database.
    I've written my own class of java that connect to the mysql database and insert some data into it.
    The data is inserted to the mysql database, but I can't see it on
    the page if the data are really inserted iterator becouse for display object are not updated.


    I wonder if anyone now how to manually refresh or refresh the iterator to view object.

    Or if someone can give me I example how to insert data in the mysql database.

    Best regards, evgen

    Here are really separate issues, so should go in their own net. Is answered your original question.

  • Appeal iPhone issues 7 more

    I recently bought the new iPhone 7 more.  Not only am I having problems with the LTE service, bounce back between 3 G and no service I am now having problems with call connectivity.  When you try to make an outgoing call, I get an automatic response from my carrier (Verizon) "it's Verizon, we are unable to complete your call at this time, please turn off your phone and back and try again."

    It is a known issue with the iPhone 7 and Verizon. Supposed to be Apple and Verizon are seeking him. It has been a problem since the phone was released. Do a Google search or search here on the forums for a temporary solution but not a cure.  But basically to stop the LTE oice and data into data only in the settings.

  • iPhone 6 more hang freeze issues

    My iPhone 6 more guard suspended (gel) for the past 6 months, I have to reset the whole phone sometimes up to 2 times just to get it to work again. Been a loyal (including my entire family) custome since gen 1 iPhone, iPad, mac book. Am really disappointed with the quality now. Did not bring to the service center since the first day of the problem because I thought that was just a few bugs & was sure that apple will fix it, but after many update of iOS so far, the pesisit still problem.

    iPhone is more quality I've known, hope apple can fix this problem before finally losing the most loyal customers

    Hello BennyFoo,

    Thank you for bringing your iPhone freeze questions here for Apple Support communities. I understand how it is important to have a reliable phone. I'm happy to check this with you.

    The first thing we want to make sure that all of your data on your device is safe. You can perform a backup in iCloud or iTunes using this article: backing up your iPhone, iPad, and iPod touch.

    Once your data is safe, try to turn off your device, then again on the March. Sometimes, that's all that is needed for connections reset and everything working properly again. This article help from Apple will help you to do: restart your iPad, iPhone or iPod touch. If you are still having issues, try force reset then. It is designed to be used when the iPhone does not respond, and it looks to be the exact symptoms that you are experiencing right now.

    If you still experience the same problems after reboot, please try to restore your device from a backup by using this article help: restore your iPhone, iPad or iPod touch from a backup. If you don't have a current backup, please try this help article: If you can not update or restore your iPhone, iPad, or iPod touch. Please pay close attention when you get to step 4 who said "when you see the option restore or put to update, choose update. iTunes will try to reinstall iOS without erasing your data. "to get your iOS reinstalled. Test if the issue is still ongoing.

    Thanks again and have a great rest of your day.

  • Pages on issues of formatting to iCloud

    Hey everybody,

    I created a document Pages using the Pages application on my macbook pro I downloaded then to iCloud Pages so that I can access it from any computer. The issue I'm having is that I formatted some of the text to have a black background and the text to yellow color. For the life of me I can't understand how to change the background color of text on the Pages of iCloud. I beginning to think that changing the background color of text just is not possible on the platform of iCloud, but wanted to put this out there just to make sure.

    I appreciate any help or clarification on this issue.

    Thank you!

    Background (highlight) text color controls are absent in the Pages for iCloud, because it is a subset of Pages for Mac.

    This has been discussed in a previous post here, not so long ago.

Maybe you are looking for

  • Homepage changed when the computer is restarted.

    Recently, I had downloaded adware on my computer. I then ran immediately all my virus protection software that has eliminated many of them. Somehow, it always seemed to linger. She had been spotted by one of my anti-virus software, but when he tried

  • 800-330-6363.

    received a call from 800-330-6363 indicator of trouble with my computer. Is it really of windows?

  • How to extend the time while I logon?

    While I'm connected to the internet, it will be automatically disconnected if I take a break away for a minute or two. I'll have to start all over again by logging on. Is it possible that I can increase the time while being connected?

  • Problem with cursor Mixed Signal graphic LV 2013

    I'm trying to create a function that puts the cursor at a specific point on the x axis. When I send the value, the cursor behaves normally. When I send the value (even when you use a constant) the cursor will keep oscillating between the previous pos

  • BEX with Adobe Acrobat error on Vista 32-bit operating system

    I am running Vista Home Premium (32 bit) and get a Windows error message when I try to get a PDF with a password Adobe Acrobat 8.1. Reads the error message Windows: "Adobe Acrobat has stopped working.   (The problem event name is BEX).  And when I cl