Dynamically fill QML DropDown (in the spreadsheet) of C++

Hi all

I have a question where I'm trying to define the content of a drop-down list of C++.

I won't be available QML ful as it is quite important, but it's the overall structure:

NavigationPane > >(Attached Objects) sheet Page > Contentage > container > ScrollView > container > DropDown (objectName: ddType)

In my C++, I have the following code:

Header file:

Drop-down list * ddType;

CPP file:

ddType = navigationPane->findChild ("ddType");

ddType-> add (Option::create () .text ("Option 1"));

When I have the debug, I get a "no source available for ' bb::cascades:ropDown::add() to 0x78620bac ' error on the ddType-> add line and the application is closed.»

I used successfully navigationPane-> setProperty() for other purposes, so it seems that I can access the navigationPane OK.

Is there a limitation with findChild on attached under components (for example sheets?)

Any ideas?

ObjectName must be enclosed in quotes.

Tags: BlackBerry Developers

Similar Questions

  • Dynamically fill ObjectChoiceField according to the selected box

    Hi all

    I have a few boxes on my screen and an ObjectChoiceField. I have to fill this ObjectChoiceField dynamically according to the selected checkbox.  I have a few separate hard-coded (I announced on the same screen) array of strings for all the boxes.

    If I select the first box, then ObjectChoiceField must be populated with the corresponding array of strings... and so on...

    Thank you and best regards.

    You just need to use

    .setChoices ();

  • Attempt to bind the drop-down menu to dynamically fill Textfield

    I had trouble to come with the script for calculating appropriate for this question and I was wondering if anyone would be able to help me.

    Basically what I'm doing, it's down a product Option Drop (let's call it "RS1") to dynamically fill a separate price/text ("Price RS") field based on the selected product in the drop down menu.

    Product in the menu options drop-down are 'single' and "Double".

    If I select the option of simple product, he would fill in the price with a price $345,00 field. If I had to choose the Double product option, it would enter the price with a price $565.00.


    The intention is to multiply what fills pricing by a separate drop-down field that I already have in place that measures the quantity of the item to get a total final for this order of products.


    I know this should be relatively simple, but I can't get my calculation script to work for the life of me. Any help is greatly appreciated!

    You can use this code as a custom text field calculation script:

    var v = this.getField("RS1").value;
    if (v=="Single") event.value = 345;
    else if (v=="Double") event.value = 565;
    else event.value = "";
    

    Make sure that you set the option to validate the value selected from the drop-down field immediately for the calculation to occur as soon as the selected takes place in the menu dropdown.

  • How cut the length of the string IE channel name here, if it exceeds 20 characters or letters. The channel name is dynamically analyzed the spreadsheet/xml file.

    How cut the length of the string IE channel name here, if it exceeds 20 characters or letters. The channel name is dynamically analyzed the spreadsheet/xml file.

    My Council of Europe in the .js file is

    function generateHTMLMarkup (i, channel) {}
    Alert ("this is lang" + str);
    var str ="";
    "Str += '.

    ";
    "Str += '.
    "+ ""+""+"
    ";
    Alert ("this is lang" + str);
    return str;

    }

    nerateHTMLMarkup: function (i, channel) {}
    Alert ("this is lang" + str);
    var str ="";
    "Str += '.

    ";
    str += "" +
    "" +
    "" + channel ['name'] + "" +.
    "" + "
    ";
    "Str += '.
    "+ "" + "
    ";
    Alert ("this is lang" + str);
    return str;

    etc.

    Give mthe rhythm and the exact code where Ihave tio get implemented.

    in the code, replace change

    channelName var = channel ['name'];

    TO

    channelName var = channel ['name'];

  • Excel template for the spreadsheet

    Hi all. With your help, I'm almost finished. I use a 'writing on worksheet' and would like to know how I can create a header, so to speak. The operator will have to create a new file each time the Vi is executed. So, along the top, I need each column for writing 'Capacity' to the column 1, column 2 "impedance" and "Temperature" of column 3. Then, as the Vi is executed above the row filled with the names given above, then the data will be listed under each of the headings.

    The second thing and I don't know if it's possible, I would like the spreadsheet to have the first two columns present themselves in the form of scientific notation, and the last of them in general, form on the actual spreadsheet. I don't know a lot about Excel, but I think what I would do is create a model, have the data written to it and then force the operator to perform a save as then the model is left as it was before the test. I hope that makes sense. Join I am I 'play' with, trying to make it work.

    Thank you very much.

    If my understanding fits your needs, you can follow this... instead of be confused with excel and the spreadsheet...

    Go with spreadsheet... If your application is simple, it's that you requires the use of additional tool kit /ActiveX in the worksheet you need in excel...

    Steps to follow

    1. create a spreadsheet with headers file in your initialization steps of the
    2. then add the data in the same file
    This may solve your problem...

  • Dynamically fill dDocAuthor when Committing WebCenter content Capture 11 g

    Hi all

    I use WebCenter content 11.1.1.8.0 and here I followed the document Doc-ID 1932842.1 to dynamically fill the dDocAuthor and after that, I am able to document capture and ucm webcenter content server logging, but after that when I'm trying to checkin document Imaging application from a capture or imaging console I start getting the error repository.

    Journal:

    [2015 10-12 T 16: 16:08.566 + 05:30] [IPM_server1] [ERROR] [TCM-00787] [oracle.imaging.service.exceptions] [tid: [ASSETS].] [ExecuteThread: '4' for queue: "(self-adjusting) weblogic.kernel.Default"] [ecid: 0000L1Rac8y8PtG5IzWByf1M6rli00005f, 0] [APP: imagery] a repository error has occurred. [[

    • oracle.imaging.ImagingException: TCM-00787

    stackTraceId: 8-1444646768566

    faultType: SYSTEM

    Details:

    Error code = oracle.stellent.ridc.protocol.ServiceException, ErrorMessage = "IPM_000576" element content has not been verified successfully. A user must be entered.

    at oracle.imaging.repository.ucm.UcmErrors.convertRepositoryError(UcmErrors.java:161)

    at oracle.imaging.repository.ucm.UcmRepositoryOperationImpl.convertDocumentRepositoryError(UcmRepositoryOperationImpl.java:410)

    at oracle.imaging.repository.ucm.UcmCreateDocumentImpl.createDocument(UcmCreateDocumentImpl.java:167)

    at oracle.imaging.repository.ucm.UcmRepositoryManager.createDocument(UcmRepositoryManager.java:623)

    at oracle.imaging.document.DocumentServiceImpl.createDocument(DocumentServiceImpl.java:345)

    Caused by: oracle.stellent.ridc.protocol.ServiceException: 'IPM_000576' content item has not been verified successfully. A user must be entered.

    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)

    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)

    to oracle.imaging.repository.ucm.UcmResponse. < init > (UcmResponse.java:70)

    so I followed the below steps and always faced with the question of archiving of the document currently anyone profile will work in Check imaging applications or the Checkin Standard profile.

    I created 2 workspace for the UCM posting profile and one for profile commit Imaging

    1. 1. for the validation of the University Complutense of MADRID.
    2. a. I created a field xAuth UCM and mappped this xAuth docAuthor Capture field in the posting profile
    3. b. then created a rule in the AAU to set the value derived from xAuth capture went from dDocAuthor to the Complutense University of MADRID.
    4. c. therefore, whenever I am trying to capture recording, the document is downloaded successfully

    1. 2 but for Imaging.
    2. a: I created a xAuthor field in Imaging and that mapped to docAuthor capture field in the posting profile
    3. b. but there is no derived rule created in the Complutense University of MADRID for this to give the value of the xAuthor of imaging field to the field dDocAuthor of the Complutense University of MADRID
    4. d. therefore, whenever I try to download the content from imagery, there is no value passed to dDocAuthor to the Complutense University of MADRID due to no rules created for it and that's why he takes the xAuth value which is actually zero.

    Here I am facing problem because the field of Imaging is not get mapped to the field dDocAuthor UCM and vice versa.

    If I use the derivative rule value as:

    < $dprDerivedValue = # active.xIPM_APP_1_19$ >

    I am able to record the document by using of capture and imaging posting profile console for Application of imaging; but unable to consignment to the standard profile of consignment of the Complutense University of MADRID document.

    Here I make no doubt that the condition is not properly evaluating of that I am unable to record of the document to help commit view profile capture and Imaging console application Imaging.

    derived rule current value:

    < # $if like '% IPM_' active.dDocName $>

    < $dprDerivedValue = # active.xIPM_APP_1_19$ >

    < $else$ >

    < $dprDerivedValue = # active.xAuth$ >

    < $endif$ >

    so please help me with good condition so that I can record the document using the two profile.

    Thank you

    Sanjeev

    Hey Jiri,

    Thank you for providing the idea for the creation of global everything how I created a global rule only, but due to an error, it was not assess the State and I am faced with the question, but now my problem solved using the slot provided.

    <$if  #active.xauth="" $="">

    <$dprDerivedValue=#active.xAuth$>

    <$else$>

    <$dprDerivedValue=#active.xIPM_APP_1_19$>

    <$endif$>

    Thanks again

    Sanjeev

  • Dynamically fill a dashboard Panel in a Fragment

    I work with a custom in a fragment (jsff) Panel dashboard.  The user can customize the dashboard (re - order of the Panel boxes, set the number of columns, add/remove Panel boxes, etc.) and our goal is to persist these customizations so that they are available in different sessions.  To do this, I created several tables of data base for these customizations and they linked to the table user.  When the user opens the application, the fragment of dashboard is the first fragment to display.  I load the information of the database, and then build the dashboard Panel.  The dashboard starts with a static Panel box set (as seen in main_dashboard.jsff below), then based on the data, I have re - order and boxes rendered set equal to false for the deleted user Panel.

    My problem is that I have to do before the page is rendered.  To do this, call the method of customization of the constructor of my grain of support.  The RichPanelDashboard I bind the user interface component for is not yet available.  I tried several things that didn't work, including:

    -Added @PostConstruct to my customization method annotation.

    -By taking the root of the view component: RichPanelDashboard mainDashboard = (RichPanelDashboard) .getViewRoot () .findComponent () FacesContext.getCurrentInstance ("mainDash");

    -Adding an event 'preRenderComponent' to the page: < f: event type = "preRenderComponent" listener = "#{main_dashboard.setupCustomDashboard}" / > (after a search on the web, it seems that the tag f: event is not supported in the Fragments of the ADF).

    I encountered this problem in the past with the different user interface components.  In particular, I had to fill a SelectOneListBox before the page is rendered.  I solved the problem by adding a child < f: selectItems > to < af:selectOneListBox > and the value of this tag to a list of SelectItems in my grain of support and populate this list on instantiation of the bean.  Is there a similar option for a dashboard Panel and a list of the Panel boxes?  The idea of using a < af:forEach > tag had crossed my mind to fill the dashboard Panel with Panel boxes, but as you can see in my code below, I already use to dynamically fill the first group with < af:forEach > command links box.  Unless there is a way to dynamically fill a dashboard Panel with Panel boxes dynamically populated in the fragment, I don't think that the for each approach will work (it does not appear as a way to dynamically fill boxes of Panel with the user interface components in the bean to support either).

    Example of code is below.  Any suggestions are greatly appreciated.

    main_dashboard. JSFF

    {code}

    < af:panelDashboard id = "mainDash" columns = "2" rowHeight = "250px" styleClass = "AFStretchWidth" inlineStyle = "height: 1000px;

    dropListener = "#{main_dashboard.handleReorder}" binding = "#{main_dashboard.panelDashboard}" > "

    <!-f: event listener = "#{main_dashboard.setupCustomDashboard}" type = "preRenderComponent" /--> "

    < af:panelBox id = "openedBox" text = "Recently opened" >

    < af:componentDragSource / >

    < af:forEach var = "item" items = "#{main_dashboard.openedCommandLinks}" >

    < af:commandLink text = "#{item.text}" partialSubmit = 'true' "

    actionListener = "#{main_dashboard.editorFiredFromDashboard}" / >

    < / af:forEach >

    < / af:panelBox >

    < af:panelBox id = "editedBox" text = "Recently published" >

    < af:componentDragSource / >

    < af:outputText value = "Recently edited" id = "ot2" / >

    < / af:panelBox >

    < af:panelBox id = "openCPsBox" text = "My Open Config Packages" >

    < af:componentDragSource / >

    < af:outputText value = "My Open Config Packages" id = "ot3" / >

    < / af:panelBox >

    < af:panelBox id = "testbox.foobar.com" text = "Test box" >

    < af:componentDragSource / >

    < af:outputText value = "to test only" id = "ot4" / >

    < / af:panelBox >

    < / af:panelDashboard >

    {code}

    MainDashboardBackingBean (main_dashboard)

    {code}

    Private RichPanelDashboard panelDashboard;

    ...

    public MainDashboardBackingBean() {}

    ...

    setupCustomDashboard();

    }

    ...

    Using the annotation @PostConstruct has failed

    @PostConstruct

    public void setupCustomDashboard() {}

    ...

    Set the number of custom columns

    Integer selectedColumnCount = customDashboardDcl.getColumnCount ();

    FacesContext pulling didn't work

    RichPanelDashboard mainDashboard is FacesContext.getCurrentInstance (RichPanelDashboard) () .getViewRoot () .findComponent ("mainDash");.

    mainDashboard.setColumns (selectedColumnCount);

    Null pointer that happens here

    panelDashboard.setColumns (selectedColumnCount);

    Create the new ordered list

    If (customDashboardMap! = null) {}

    List < String > reorderedIdList = new ArrayList < String > (customDashboards.size ());

    for (Integer key: customDashboardMap.keySet ()) {}

    String customId = customDashboardMap.get (key);

    for (UIComponent currChild: panelDashboard.getChildren ()) {}

    String currId = currChild.getId ();

    If (customId == currId) {}

    reorderedIdList.add (currId);

    break;

    }

    }

    }

    Unused Panel boxes must always be added, but not rendered

    for (UIComponent currChild: panelDashboard.getChildren ()) {}

    String currId = currChild.getId ();

    If (! reorderedIdList.contains (currId)) {}

    currChild.setRendered (false);

    reorderedIdList.add (currId);

    }

    }

    Apply the changes

    ComponentChange change = new ReorderChildrenComponentChange (reorderedIdList);

    change.changeComponent (panelDashboard);

    }

    AdfFacesContext.getCurrentInstance () .addPartialTarget (panelDashboard);

    }

    ...

    public RichPanelDashboard getPanelDashboard() {}

    Return panelDashboard;

    }

    {} public void setPanelDashboard (RichPanelDashboard panelDashboard)

    this.panelDashboard = panelDashboard;

    }

    {code}

    Hello

    I actually fill my panelDashboard with a forEach on a dashboard item list.

    Binding = "#{pageFlowScope.myDashboard.dashboard} '"

    dropListener = "#{pageFlowScope.myDashboard.move}" > "

    var = 'panels' >

    background ID = "${panels.ID}" = "medium" showDisclosure = "false" > "

    ID = "r2" / >

    All my panels is rendered as regions that is dynamically filled with workflow single page that are related to the page that contains the dashboard.

    My DashboardItem class creates the binding workflow RegionModel

    public RegionModel getRegionTaskflow() {}

    String regionBinding = "#{bindings." + taskflow + ".regionModel";}

    Model RegionModel = (RegionModel) JSFUtils.resolveExpression (regionBinding);

    return the template;

    }

    I don't know if it's a good practice, but it works.

    Hope that helps,

    Achim

  • How do I dynamically fill IDropDownListController

    Hello!

    My question is how can I dynamically fill the IDropDownListController widget? In the example of project WriteFishPrice, the entries are all static, but I need to add or remove entries in the list. Thanks for the pointers!

    Assuming that you want to add inside a controller or an observer to the Panel you

    Here's a function I use.

    void MyDialogController::InitialiseDropdown (stringArray, const WidgetID, K2Vector & widgetId)

    {

    InterfacePtr panelControlData (this, UseDefaultIID()); / / I can get a Panelcontoldata because my controller is located in the kDialogBoss

    If (panelControlData is nil)

    ASSERT_FAIL ("invalid panelControlData");

    do

    {

    View IControlView * = panelControlData-> FindWidget (widgetId);

    If (view == nil)

    ASSERT_FAIL ("view invalid control");

    InterfacePtr stringListControlData (view UseDefaultIID());

    If (stringListControlData is nil)

    {

    ASSERT_FAIL ("invalid stringListControlData");

    break;

    }

    Clear the drop-down list.

    stringListControlData-> clear)

    kFalse, / / do not invalidate.

    kFalse / / no warning

    );

    Add their names to the drop down.

    K2Vector : iterator iter;

    for (iter = stringArray.begin (); iter)< stringarray.end();="">

    {

    Server PMString = * iter;

    Server. SetTranslatable (kFalse);

    stringListControlData-> AddString

    (

    Server,

    IStringListControlData::kEnd,

    kFalse, / / do not invalidate.

    kFalse //don't notify.

    );

    }

    view-> Invalidate();

    }

    While (false);

    }

  • Can I create a book, whose pages are dynamically filled with text, images?

    Can I create a book, whose pages are dynamically filled with text, photos, videos?

    And then want to give these pages a curl effect when activated. Pls. note I want to build these pages on the fly.

    If it is possible, what are the possible technologies that I can use?

    See you soon,.

    Samantray

    Flash can read data from several sources (XML files, text files, on the web, on-site, etc.) and you can use these data to populate your address dynamically. He can do the same thing with the pictures and any other active flash can use (images, video, etc).

    The effect of curvature of page can be done in different ways. Just google for flash page flip effect and tons of resources and tutorials will appear laboriously explaining how to do it.

  • Dynamic number of columns in the table

    Hello

    I use JDev 10.1.3.3.0 with ADF. I just want to create a table, with a dynamic number of columns in the table. The background is that a user of my webapplication can create and submit a sql query. Now, I have to show him the results. My idea was, I have save the result in a bean managed (ResultTable), which is stored in the session context and map at my table in my page.

    If I search the Forum and don't get only one useful thread: {: identifier of the thread = 971888}, but I don't exactly understand. What is the CollectionModel? Do I need this?

    I'm trying to report on the following:

    ResultTable
    public class ResultTable {
    
        public static final String SESSION_NAME = "ResultTable";
        private ArrayList<ResultColumn> columnList; 
        private CollectionModel collectionModel;
    
        public ResultTable() {
        }
    
        public ArrayList<ResultColumn> getColumnList() {
            return columnList;
        }
    
        public void setColumnList(ArrayList<ResultColumn> columnList) {
            this.columnList = columnList;
        }
    }
    ResultColumn
    public class ResultColumn {
        
        private ArrayList<ResultRow> rowList;
        private String name;
    
        public ResultColumn() {
        }
    
        public ArrayList<ResultRow> getRowList() {
            return rowList;
        }
    
        public void setRowList(ArrayList<ResultRow> rowList) {
            this.rowList = rowList;
        }
    
        public String getName() {
            return name;
        }
    
        public void setName(String name) {
            this.name = name;
        }
    }
    ResultTable
    public class ResultRow {
        
        private String value;
    
        public ResultRow() {
        }
    
        public String getValue() {
            return value;
        }
    
        public void setValue(String value) {
            this.value = value;
        }
    }
    My showResult.jspx
    <af:table emptyText="No items were found"
              value="ResultTable.columnList"
              var="column"
              varStatus="colStatus"
              id="table1">
      <af:forEach items="#{column.rowList}" var="row" varStatus="rowStatus">
        <af:column sortable="false" headerText="#{column.name}" 
                   id="column#{colStatus.index}">
          <af:outputText value="#{row.value}"
                         id="outputText#{rowStatus.index}"/>
        </af:column>
      </af:forEach>
    </af:table>
    The ResultTable was filled with data, but the Board is not filled. So, I think, it must be rejected to the data binding.

    I get warnings and errors to run too. But I don't know if they are the result or cause of my problem.
    27.10.2009 10:15:41 oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer renderTableWithoutColumns
    WARNUNG: Table with id: form1:table1 has no visible columns!
    27.10.2009 10:15:41 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElement
    SCHWERWIEGEND: Element End name:span does not match start name:div
    27.10.2009 10:15:41 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElement
    SCHWERWIEGEND: Element End name:span does not match start name:div
    27.10.2009 10:15:41 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElement
    SCHWERWIEGEND: Element End name:form does not match start name:span
    27.10.2009 10:15:41 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElement
    SCHWERWIEGEND: Element End name:body does not match start name:form
    27.10.2009 10:15:41 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElement
    SCHWERWIEGEND: Element End name:html does not match start name:body
    Concerning

    Majo

    Hi Mario,.

    
      
        
          
        
      
    
    

    Note that your JSPX snippet above has serious shortcomings:

  • 'ResultTable.rowList' is not an EL expression, but the value attribute of the af: table must refer to an EL expression
  • Items AF:foreach = "#{row.cellList}"-you don't have to store information about the columns of all rows, more it won't work as af:forEach tag may not see the value of the expression of EL #{line} (or any component EL expression created). " See the tagdoc here: http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/forEach.html
  • "ID =" Column #{cellStatus.index} "and id =" outputText #{rowStatus.index} "are invalid and that they don't compile even as id attributes cannot contain EL expressions.

    .

    I think to solve your problem, you need three things:

  • List of columns (for example the list If you need to store only the names of column or list If you need additional information),.
  • list of lines,
  • a line can be a map (with the name of the column - cell data mapping; card e.g.) or a list (with columns indexed; for examplelist).

    Example with the lines of the map:

    JSPX snippet:

    
      
        
          
        
      
    
    

    The ResultTable bean:

    public class ResultTable {
    
        private List columnList;
        private List> rowList; 
    
        public ResultTable() {
        }
    
        public List getColumnList() {
            return columnList;
        }
    
        public void setColumnList(List columnList) {
            this.columnList = columnList;
        }
    
        public List> getRowList() {
            return rowList;
        }
    
        public void setColumnList(List> rowList) {
            this.rowList= rowList;
        }
    
    }
    

    Type ResultColumn:

    public class ResultColumn {
    
        // additional fields if needed...
        private String name;
    
        public ResultColumn() {
        }
    
        public String getName() {
            return name;
        }
    
        public void setName(String name) {
            this.name = name;
        }
    }
    

    AF:table display correctly after the initialization of the values in your beans properly filled ResultTalbe (e.g. to fill the list of rank with the lines).

    Hope this helps,
    Patrik

  • How can I get a dynamic mic to work on the iMac?

    How can I get a dynamic microphone to work via the usb input? Do I need a plug-in?

    Well Yes, if it is a USB microphone, the support is to plug.  Note, Apple provides an Audio configuration and Apple Midi utility in Applications-> utilities that once connected develops on the parameters in the menu-> Preferences-> sound-> entry

    Some microphones require Mac OS X drivers.  It would therefore be important to determine if yours is a.   Google your brand and model micro with Mac OS X and the drivers of Word to see if someone needs.

  • How to get rid of the stupid list dropdown in the search box

    How to get rid of the stupid list dropdown in the search box

    If you want to restore the window previously used independently to manage search engines, you can enable or disable this pref to false with a middle-click on the topic: config page.

    • topic: config page: browser.search.showOneOffButtons = false

    Close and restart Firefox to force change.

  • I would like to add the auto-fill feature and enter the information. How can I do

    I would like to add the auto-fill feature and enter the information. How can I do

    AutoFill Forms extension:
    https://addons.Mozilla.org/en-us/Firefox/addon/4775

  • Writing in the spreadsheet with the queue

    Hello

    I am a beginner with queues and I have a few questions.  I have attached a simple example of code that I wrote to better implement a consumer who can queue data and write on a worksheet after running the code.

    First of all, I noticed that the queue still has residual remaining after the code ends.  It then writes this element to the file to run the vi.  I can't figure how to get rid of this element.

    Second, anyone have any suggestions to improve this code?  I've been playing with it for quite some time and I finally got to work like that, but it is certainly configured differently from the other examples I've seen.

    Thirdly, I am reading the number of items in the queue, but the two in the loop of the producer and the consumer, told me that there is no element.  How can this be?  My output file seems to work and I certainly put items in the queue.

    Finally, in the future I'll use data from the queue in two places.  Here I've implemented a notifier to do the job.  This is the best method?

    Thanks for your help!

    Jason

    The reason why you do not get the last element of the queue (at least not until you restart the VI) is that you have your automatic indexation tunnel that collects all the data to send to the writing on file SS service cable for moving to register.  So this last piece of data from the queue to get into the shift register, but it is not getting into the 2-D chart by the tunnel of automatic indexing up to the next iteration of the loop.  When you rerun the VI, as the shift register is not initialized, it is already there and became the first point of your next data execution.

    Why did you put the register shift in?  Just remove and just use the tunnel of automatic indexation.

    I don't know what you really want to do with the 2nd loop to say if the Notifier is correct or not.  But if you do not want to lose data in the other loop, then you need to use a second queue and have your producer loop enqueue data in the two queues, a queue for each consumer loop.

    With regard to the elements draws in the queue, seeing how your code is configured, the queue will almost always empty because the dequeue function will be ready to pull out the element immediately after the enqueue function puts in.  Unless you have your loop producer much faster than your consumer loop running, you will not see a build up of the elements.  (Try putting an expectation of more of 100 msec in your loop of consumer.  Then you will see elements accumulate in the queue.)

    I don't know why you put the spreadsheet feature writing after the loop.  Normal use for queues in an architecture of producer/consumer must transmit the data to a separate loop that contains the functions write file.  This way he can work at his own pace, but write the data and make sure that you do not lose it.  As you have now, if your code runs a long time, you may run out of memory when at the tunnel of automatic indexing table becomes too large.  And if your application crashes before you complete it with your stop button, then all data are lost because you did not it writes the file.

  • Header / data in the spreadsheet file

    Hi all

    I'm writing the header + data as shown in the picture

    It works fine, but the problem is, at the beginning of each table, it's to create a tab as shown in the fichier.jpg 'exit '.

    could you say what mistake I have done

    Thank you

    Nordine salvation,

    Write spreadsheet converted file.vi table entry to a string using the String.vi worksheet default it convert table to string with delimiter tab so get you tab in the spreadsheet file. I enclose a jpg file that will work.

Maybe you are looking for

  • Dolby audio driver does not load after upgrade Windows 10

    Just upgraded to 10 Windows on my Ideapad N585. At the start, get a Dolby audio driver has not loaded. I recall this issue upgrade to win 8 to 8.1, but can't remember the fix. Should we wait for an updated driver? I have sound, but do not know what d

  • problems with iPhone apps deleting 6

    Running on my iPhone iOS 6, apps will not remove by using the standard procedure. = an app of restraint until they all 'shake' and each has a deletion 'x '. Press the button Delete the app 'x' and then the Home button. Applications jiggle when it is

  • Number of elements in an array of containers

    I have a VI out a result as a group of items. In testStand, I can create a container, insert the item types and the results are then accessible in the fileglobals for later use. However, I have a variable that is editable.  This has determined the nu

  • Update walkman

    I've updated my walkman today and it's really more complicated than the previous. Can I know how/where I download info music INDIVIDUALLY and not all of the songs. Because it is much more different than before. Thank you in advance!

  • Why is my Windows fax and analysis missing file?

    I can't send a fax more.  I've looked everywhere in my computer and printer don't files now no way to fax. Printer is a HP all-in-one and is supposed to send faxes. Computer has pci soft modem and braodband connection.