Two Problems -"0" value continues to be displayed after input, I need to create a look-up table

First off, I am a LiveCycle newbie, I stumbled across the program a couple of weeks ago so I'm drinking from a firehose trying to understand all of this. I have a deadline (May 15th) to create a form for field crew deployment, and also, this is part of my Grad project  that will be in my presentation on May 28th.
All of that being said, here's the scenario:
I have a custom data collection form that I have created that is functional but I have run into a few problems. First, in a calculated field box, a "0" shows up in the boxes which is fine. The problem is, one will not go away after a value is entered for the calculation. The calculated number shows up, but it is superimposed over the "0". This is the only calculated box this happens in, I have 12-15 throughout the fom with no issues.
I'm using FormCalc in the entire sheet and the formula for this specific calculation is this:
form1.#subform[0].PrevIndxWrksht[11]::calculate - (FormCalc, client)
PrevIndxWrksht[12]*1
This is the same calculation used on ever other field (except the "multiply by" value) and this is the only one with the non-dissapearing "0".
2nd - these forms will be running on Android tablets, there are Windows Office Suite emulators but not the actual program and Access is a complete no go. I have drop downs that have 1114 vegetation species (same for each drop down). I need to be able to have the species relate to a "indicator status" field that will select the proper indicator based on the species. There are only 5 indicators so unique ID's of 1-5 can be used. Without the ability to link to Access how can I accompish this? The Excel emulator will work on the tablets so I'm guessing I can create a spreadsheet with 3 columns that have Key, Species, and Indicator Status? As I said, I'm new to the LiveCycle scripting, so please make it very simple for me.
BONUS QUESTION!!! Is it possible to type in the first three letter of the species and have it scroll to that point in the drop down? With that many species we now type in the first letter and it will go to the first species genus alphabetically, but entering the second letter will jump to the next genus. I'd like to enter (example) "SAL" and have the drop down jump to "Salix alaxensis", the first species with the genus "Salix"
Thanks in advance, sorry for the long form questions.

If anyone could address just one of these problems I'd appreciate it. I've had 118 views with no response.

Similar Messages

  • Update values in AlV grid display after entering value

    Hi,
         I have an issue in ALV grid display.
        Let me explain.
        i have 8 fields to display in which one is editiable.
       Fields are: date
                       material,
                       material Description,
                       Opening Stock,
                       Closing stock-  (  this field is editiable)
                       Closing stock,
                       Received Stock,
                       Actual production.
    Actual production = Closing stock + removal stock
                                 - receipt stock - opening stock.
    when i change the value of closing stock and press enter, actual production should get update, the new values should display.
    Thany you in advance.

    Hi,
    Please refer the code below:
    REPORT z_demo_alv_jg.*******************************************************************
    * TYPE-POOLS                                                      *
    TYPE-POOLS: slis. *******************************************************************
    * INTERNAL TABLES/WORK AREAS/VARIABLES     *
    DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
          i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
          w_field TYPE slis_fieldcat_alv,
          p_table LIKE dd02l-tabname,
          dy_table TYPE REF TO data,
          dy_tab TYPE REF TO data,
          dy_line TYPE REF TO data.*******************************************************************
    * FIELD-SYMBOLS                                                   *
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
                   <dyn_wa> TYPE ANY,
                   <dyn_field> TYPE ANY,
                   <dyn_tab_temp> TYPE STANDARD TABLE.*******************************************************************
    * SELECTION SCREEN                                                *
    PARAMETERS: tabname(30) TYPE c,
                lines(5)  TYPE n.*******************************************************************
    * START-OF-SELECTION                                              *
    START-OF-SELECTION.* Storing table name
      p_table = tabname.* Create internal table dynamically with the stucture of table name
    * entered in the selection screen
      CREATE DATA dy_table TYPE STANDARD TABLE OF (p_table).
      ASSIGN dy_table->* TO <dyn_table>.
      IF sy-subrc <> 0.
        MESSAGE i000(z_zzz_ca_messages) WITH ' No table found'.    LEAVE TO LIST-PROCESSING.
      ENDIF.
    * Create workarea for the table
      CREATE DATA dy_line LIKE LINE OF <dyn_table>.
      ASSIGN dy_line->* TO <dyn_wa>.* Create another temp. table
      CREATE DATA dy_tab TYPE STANDARD TABLE OF (p_table).
      ASSIGN dy_tab->* TO <dyn_tab_temp>.  SORT i_fieldcat BY col_pos.* Select data from table
      SELECT * FROM (p_table)
      INTO TABLE <dyn_table>
      UP TO lines ROWS.  REFRESH <dyn_tab_temp>.* Display report
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = sy-repid
          i_structure_name         = p_table
          i_callback_user_command  = 'USER_COMMAND'
          i_callback_pf_status_set = 'SET_PF_STATUS'
        TABLES
          t_outtab                 = <dyn_table>
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.  IF sy-subrc <> 0.  ENDIF.*&-----------------------------------------------------------------*
    *&      Form  SET_PF_STATUS
    *       Setting custom PF-Status
    *      -->RT_EXTAB   Excluding table
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.  SET PF-STATUS 'Z_STANDARD'.ENDFORM.                    "SET_PF_STATUS*&----------------------------------------------------------------*
    *&      Form  user_command
    *       Handling custom function codes
    *      -->R_UCOMM      Function code value
    *      -->RS_SELFIELD  Info. of cursor position in ALV
    FORM user_command  USING    r_ucomm LIKE sy-ucomm
                               rs_selfield TYPE slis_selfield.* Local data declaration
      DATA: li_tab TYPE REF TO data,
            l_line TYPE REF TO data.* Local field-symbols
      FIELD-SYMBOLS:<l_tab> TYPE table,
                    <l_wa>  TYPE ANY.* Create table
      CREATE DATA li_tab TYPE STANDARD TABLE OF (p_table).
      ASSIGN li_tab->* TO <l_tab>.* Create workarea
      CREATE DATA l_line LIKE LINE OF <l_tab>.
      ASSIGN l_line->* TO <l_wa>.  CASE r_ucomm.*   When a record is selected
        WHEN '&IC1'.*     Read the selected record
          READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX
          rs_selfield-tabindex.      IF sy-subrc = 0.*       Store the record in an internal table
            APPEND <dyn_wa> TO <l_tab>.*       Fetch the field catalog info
            CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
              EXPORTING
                i_program_name         = 'Z_DEMO_PDF_JG'
                i_structure_name       = p_table
              CHANGING
                ct_fieldcat            = i_fieldcat
              EXCEPTIONS
                inconsistent_interface = 1
                program_error          = 2
                OTHERS                 = 3.
            IF sy-subrc = 0.*         Make all the fields input enabled except key fields
              w_field-input = 'X'.          MODIFY i_fieldcat FROM w_field TRANSPORTING input
              WHERE key IS INITIAL.        ENDIF.*       Display the record for editing purpose
            CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
              EXPORTING
                i_callback_program    = sy-repid
                i_structure_name      = p_table
                it_fieldcat           = i_fieldcat
                i_screen_start_column = 10
                i_screen_start_line   = 15
                i_screen_end_column   = 200
                i_screen_end_line     = 20
              TABLES
                t_outtab              = <l_tab>
              EXCEPTIONS
                program_error         = 1
                OTHERS                = 2.        IF sy-subrc = 0.*         Read the modified data
              READ TABLE <l_tab> INDEX 1 INTO <l_wa>.*         If the record is changed then track its index no.
    *         and populate it in an internal table for future
    *         action
              IF sy-subrc = 0 AND <dyn_wa> <> <l_wa>.
                <dyn_wa> = <l_wa>.
                i_index = rs_selfield-tabindex.
                APPEND i_index.
              ENDIF.
            ENDIF.      ENDIF.*   When save button is pressed
        WHEN 'SAVE'.*     Sort the index table
          SORT i_index.*     Delete all duplicate records
          DELETE ADJACENT DUPLICATES FROM i_index.      LOOP AT i_index.*       Find out the changes in the internal table
    *       and populate these changes in another internal table
            READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX i_index.
            IF sy-subrc = 0.
              APPEND <dyn_wa> TO <dyn_tab_temp>.
            ENDIF.      ENDLOOP.*     Lock the table
          CALL FUNCTION 'ENQUEUE_E_TABLE'
            EXPORTING
              mode_rstable   = 'E'
              tabname        = p_table
            EXCEPTIONS
              foreign_lock   = 1
              system_failure = 2
              OTHERS         = 3.      IF sy-subrc = 0.*       Modify the database table with these changes
            MODIFY (p_table) FROM TABLE <dyn_tab_temp>.        REFRESH <dyn_tab_temp>.*       Unlock the table
            CALL FUNCTION 'DEQUEUE_E_TABLE'
              EXPORTING
                mode_rstable = 'E'
                tabname      = p_table.      ENDIF.
      ENDCASE.  rs_selfield-refresh = 'X'.ENDFORM.                    "user_command
    Thanks,
    Sriram Ponna.

  • How to tackle the dataflow problem when Value Change event always triggers after another GUI event

    We know that Value change event always triggers after another GUI event. Eg, the user modifies string control, the user clicks on a boolean control. Then event boolean clicked is triggered before event string control value change.
    Now suppose somehow the GUI event that must happen to subsequently trigger the Value change event can potentially affect the data that Value change event is supposed to work on. How can we tackle this problem ?
    For example, in a mockup application that the grand purpose is to have user entered values in a textbox logged to a file (no missing information is accepted, and there is a boolean to determine how the information is logged).
    There are 2 controls, boolean A when clicked (mouse down) will load random number in text box B. Text box B is designed with event structure VALUE change which saves whatever values user enters into text box B to a log file.
    There are 3 problems when instead of clicking anywhere on the front panel after modifying text box B, the user ends up clicking on boolean control A.
    1. Event mouse down on Boolean control A will execute first, modifying text box B content before the user entered values in B get saved.
    2. The value of boolean A can potentially affect how textbox B is loggged.
    3. The value of boolean A affects how the file is logged and this is indeterminate. Somehow when running this VI with no Highlighting, the textbox B Value change event executes -before- boolean A value is updated (F to T). When running this VI with Highlighting, the boolean A value is updated (F to T) (because we click on it) -before- textbox B value change event occurs. Why is it like this ?
    Now the situation I made up seems non-sense, but I believe it resembles one way or another a problem that you might run into. How would you solve this problem elegantly ?
     

    You can set the string control to "update while typing".
    Are you sure appending the log to itself is reasonable? Wouldn't it grow without bounds if the users keeps entering strings or pressing the ingore button?
    Why isn't the "constant" a diagram constant instead of a control. Is the user allowed to change it?
    To reset just write empty strings or a false to local variables of the controls (renit to defaults" seems a bit heavy handed).
    All you probably need is a single event case for "ignore:value change" and "String" value changed", no need for the local variable..
    Also add a stop button and an event for it.
    You don't need the timeout event.
     

  • Download, battery, and sleep problems on macbook pro with retina display after upgrading to Mountain lion

    After waiting a few days to download OS X Mountain lion, I finally installed it on my new MacBook with retina display a couple days ago. I love the interface and all the new features, but I've noticed some problems I really need to resolve. I'm constantly downloading large files and I noticed thhis change:
    Before, on Lion, I could download files from Safari or the Internet and the computer would sleep whenever it was set to on energy preferences and the download would resume. This would let the computer conserve energy so the download could progress further when on battery. Now, I noticed that my computer never goes to sleep! Its set to have the display sleep in 5 minutes and the computer in 15 on both battery and when plugged in, but it never does either. I don't know if it has to do with the fact that power nap is on even when using battery. So now the Mac is constantly on when downloading something and instead of downloading a one gigabyte file that would take up 15% of my battery, it takes up 60% since it never sleeps. When I tried downloading something and then manually putting the computer to sleep, the download was interrupted and it said Wi-Fi connection lost so I have to start the download over again.
    That's basically all three problems in one situation. I even put the brightness all the way on low so the screen is black when downloading, but it still uses up much more battery than before. Can someone help find a solution?

    Did you try turning off power nap?

  • Cfgrid html values/valuesdisplay no longer displaying after update

    Our current system is CF8 (8.0.1 with latest cumulative update 4), MS SQL server. The cumulative update was installed last week and I just discovered that the HTML cfgrids that we use no longer function correctly. All the cfgridcolumns that use values="some values" valuesdisplay=" some values" no longer display more than the initial value set (one value when dropdown appears). These cfgrids work on our development server which was also updated with latest cumulative update as well. I have tried deleting the update, installing the patch for cfgrid error, re-installing the cumulative update, overwriting the ext and css files with our development files. Nothing has corrected the issue.
    hot fix tried:
    "HTML grids may display improperly in coldfusion 8.0.1 with drop-downs not displaying all items (ID 71630)."
    example:
    <cfform name="makeAdmin" format="html"  style="z-index: 300003; font-size:12px;" timeout="60" method="post" height="700" width="900">
    <cfinput type="hidden" value="TRUE" name="btnSubmit">
    <cfinput type="hidden" name="edit" value="true" />    
                   <cfgrid name="makeGrid" format="html" style="z-index: 300003;"  query="makeQuery" rowheaders="no" width="270" height="500" insert="yes" insertbutton="Insert New Row" deletebutton="Delete Row" delete="yes" selectmode="edit" colheaderbold="yes">
                    <cfgridcolumn name="makeID"
                        header="rowID"
                        width="0"
                        headeralign="center"
                        headerbold="Yes"
                        select="no"
                        display="no"
                        >
                    <cfgridcolumn name="make"
                        header="Make"
                        width="150"
                        headeralign="center"
                        headerbold="Yes"
                        select="yes"
                        display="yes"
                        >
                    <cfgridcolumn name="active"
                        header="Active"
                        width="100"
                        headeralign="center"
                        headerbold="Yes"
                        select="yes"
                        display="yes"
                        values="True,False"
                        >
                  </cfgrid>
      <cfinput align="middle" name="submitButton" value="Commit Updates" type="submit">
    </cfform>
    All the 'active' column dropdown displays is the value returned from the query.
    This occurs on cfgrids that are bound to cfc's or grids with query="" . The value displayed in dropdown is the one returned from query, the rest of list does not display.
    Can anyone help me? What folders/files control the html cfgrid?

    Thank you for the response, I didn't see that there was a newer hotfix released afterwards that I hadn't tried. Unfortunately since I didn't have time to wait for a solution I was forced to change my code and remove the inline updateable grids. I'm not sure I trust them enough now to try again later, but if the occassion arises I may attempt again.

  • HI two problems: I have failed my latest download and they said get support? 2. Export PDF gone wier

    Hi two problems I have jsut failed my latest update and i need to contact you
    2. When exporting a PDF in Indesign it shows that the Black is not 100% AND SHOULD BE> When scrolling over it it doesnot register it as any percentage?? Whats going wrong? I have done this a lot of time previously and had no problem??

    Ask in the ID forum and provide more exact info like what black you are actualyl using in your document and what color mode and so on...
    Mylenium

  • Check old value of MM42 characterisitcs Tab after change

    Hi Guru,
      is there any way to Check old value of MM42 characteristics Tab after change?
    i had tried using CDHDR & CDPOS table to check any updates in MM42, but it only store the date of update, not the actual value/old value of i changed.
    Regards,
    Howard

    any idea?

  • Two Problems:MSN Won't Download,  Display Shuts Off After 1 Minute

    Hi ok so i have two problems, I had MSN 6.03 for a while but last night it just stopped opening, so I deleted it and tried to redownload, but when i try to download it, it says "failed to mount" every time.
    The second problem is the display shuts off after 1 minute, I went to the energy saver and i changed it to 15 minutes an I locked it, but when i exit out of the energy save it goes back to 1 minute HELP!!!

    Sounds like you have either cache, finder, or disk corruption problems. Follow the steps here:
    http://www.thexlab.com/faqs/repairprocess.html

  • Problems editing value

    Please note: I am newbie to java.
    When I try to edit a value in a dialog box (in swing), instead of the value getting replaced, it starts appending the value. It is really annoying bug. I want to able to replace the value as soon as user starts typing in a dialog box.
    Here's an example ...
    Intial Value
    | 4.0|
    When I type something I get something like
    Intermediate value
    | 4.02|
    While I want it to be
    Final value
    | 2|
    ---------------

    Sorry for being so naive...
    Here's the code followed by the problem
    import java.awt.BorderLayout;
    import javax.swing.JTable;
    import javax.swing.WindowConstants;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableModel;
    import javax.swing.SwingUtilities;
    * This code was edited or generated using CloudGarden's Jigloo
    * SWT/Swing GUI Builder, which is free for non-commercial
    * use. If Jigloo is being used commercially (ie, by a corporation,
    * company or business for any purpose whatever) then you
    * should purchase a license for each developer using Jigloo.
    * Please visit www.cloudgarden.com for details.
    * Use of Jigloo implies acceptance of these licensing terms.
    * A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
    * THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
    * LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
    public class NewJFrame extends javax.swing.JFrame {
         private JTable jTable2;
         * Auto-generated main method to display this JFrame
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        NewJFrame inst = new NewJFrame();
                        inst.setLocationRelativeTo(null);
                        inst.setVisible(true);
         public NewJFrame() {
              super();
              initGUI();
         private void initGUI() {
              try {
                   setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
                        TableModel jTable2Model =
                             new DefaultTableModel(
                                       new String[][] { { "One", "Two" }, { "Three", "Four" } },
                                       new String[] { "Column 1", "Column 2" });
                        jTable2 = new JTable();
                        getContentPane().add(getJTable2(), BorderLayout.NORTH);
                        jTable2.setModel(jTable2Model);
                   pack();
                   setSize(400, 300);
              } catch (Exception e) {
                   e.printStackTrace();
         public JTable getJTable2() {
              return jTable2;
    }The problem is when I try to rewrite the value "One"
    I get something like "OneABC"
    While I want it to be "ABC"
    I guess I need to change properties of JTable. But after looking at all the probable functions in JTable, I was unable to figure out which function I need to use to change that property.

  • Coulmn values is not being displayed in obiee 11g

    Hi All,
    Below is the sample xml generated from data structure.
    +<!--Generated by Oracle BI Publisher 11.1.1.6.0-->+
    +<DATA_DS>+
    +<G_1>+
    +<LOCATION_NAME>ABCD</LOCATION_NAME>+
    +<PRODUCT_ID>1012331403</PRODUCT_ID>+
    +<PRODUCT_SUBID>101233140302</PRODUCT_SUBID>+
    +<PRODUCT_NAME>ABCD1</PRODUCT_NAME>+
    +<REVENUE>3924973.97</REVENUE>+
    +</G_1>+
    +<G_1>+
    +<LOCATION_NAME>ABCD</LOCATION_NAME>+
    +<PRODUCT_ID>1012331401</PRODUCT_ID>+
    +<PRODUCT_SUBID>101233140104</PRODUCT_SUBID>+
    +<PRODUCT_NAME>ABCD2</PRODUCT_NAME>+
    +<REVENUE>688244.58</REVENUE>+
    +</G_1>+
    +<G_1><LOCATION_NAME>EFGH</LOCATION_NAME>+
    +<PRODUCT_ID>1011165401</PRODUCT_ID>+
    +<PRODUCT_SUBID>101116540101</PRODUCT_SUBID>+
    +<PRODUCT_NAME>EFGH1</PRODUCT_NAME>+
    +<REVENUE>3763099.99</REVENUE>+
    +</G_1>+
    +</DATA_DS>+
    We were unable to see the REVENUE column values in the report. We were able to see the values while creating layout, but unable to see the values in report. Report is not having any filters or parameters. This is build on two tables. Revenue in one table and details in another table.
    Thanks.

    Hi,
    Just noticed that, able to see column values in HTML, pdf views but unable to see in interactive view.
    While creating the layout checked in Interactive view, at that time able to get column values, but in the report column values are not being displayed in interactive view.
    But in HTML, list option , Repeating Section is not working, so have to see in interactive view only.
    I can say, in Interactive vew Aggregate functions are not working properly. We need tro use Repeating Section and List option in report. so we need interactive view only.
    Any ideas..
    Thanks.

  • Problem with value in object element declared as NUMBER(26,3)

    We have an object OBJ_NAME_1 created like below and total element in the object are around 100 with in which only one element is of data type VARCHAR2(4000). Other are with small size as below
    create or replace TYPE OBJ_NAME_1 AS OBJECT
    ( v_col1 VARCHAR2(4),
    v_col2 VARCHAR2(4),
    d_date DATE,
    amount_1 NUMBER(26,3) . . . . . . . . . . .)
    And we are creating an VARRY of above object as below:
    create or replace TYPE ARRAY_NAME_1 AS VARRAY(1000) OF OBJ_NAME_1
    Now we have one procedure with IN parameter of type ARRAY_NAME_1 as below and we are calling this procedure from java.
    create or replace PROCEDURE SP_PROC_1 (
    P_ARR_1 IN ARRAY_NAME_1,
    P_FILE IN VARCHAR2,
    E_MESS OUT VARCHAR2,
    E_CODE OUT NUMBER) . . . . . . . .
    My problem is with value of element amount_1 of array ARRAY_NAME_1 in the procedure. Actually data type of this element is NUMBER(26,3) in object. But from java we are able to pass value like 1234.12345 (with 5 decimal).
    The declare section of the procedure are like below :
    l_OBJ_NAME_1 OBJ_NAME_1;
    m_amount_1     table_1.amount_1%type; /* amount_1 in table_1 declared as NUMBER(26,3)*/
    n_amount_1     NUMBER(26,3);
    In the begin section we are assigning variable like below:
    IF (P_ARR_1 .COUNT>0) THEN
    FOR i IN P_ARR_1.FIRST .. P_ARR_1.LAST LOOP
    l_OBJ_NAME_1 := P_ARR_1(i);
    m_amount_1 := P_ARR_1(i).amount_1;
    n_amount_1 := P_ARR_1(i).amount_1;
    END LOOP;
    The value of variables are below after above assignment:
    l_OBJ_NAME_1 . Amount_1 → 234.12345 (without round off)
    m_amount_1 → 234.12345 (without round off)
    n_amount_1 → 234.123 (with round off)
    Actually all the above 3 variable/element has been declared as NUMBER(26,3), then the value in these variables should be with rounded up to 3 decimal place. Then why it is not happening with variable
    l_OBJ_NAME_1 . Amount_1 and m_amount_1?
    Please help.
    Edited by: SANT007 on Aug 12, 2011 9:45 AM

    Okay, thanks Patrick. I commented that out so now I can see the full error message. Actually, now the page just returns an "OK" (nothing else), and I click on that to return back to the page where I see:
    Checksum error for Hidden and Protected item ID (26968176992578859), value ([object]), posted checksum (326873D5A54A4AF425EC4D500B9B4D02), expected checksum (********************************), index_i (10), index_j (2), index_m (2);
    Okay, so that's evidently a new option in 3.1, it should have just been a 'Hidden' item, not 'Hidden and Protected'. So, I change this back to just 'Hidden', refressh the page, the re-execute it and try to select from the popup again. This time, instead of the more-or-less blank page with only "OK" on it, I also get "ORA-01722: invalid number" above the "OK". When I click the "OK", then I am returned back to the last good 'runnable' page I executed (since the search page is no longer 'runnable' (the javascript evidently is still returning an object instead of a number).
    On a previous run of trying to track the problem down, I made the :P3_SEQ as a regular text field so I could try to see what was going on, and it briefly displayed "[object]" before the search executed and returned the error.
    So thanks for helping me get past the first stage so I could see a better version of what the error is. Now I just need to figure out why an object is being returned instead of number. This worked fine in 3.0, and the only thing I can think of is that something, somewhere in 3.1's javascript is slightly different now, but I really don't know.
    Bill Ferguson

  • Problem with writing continuous data to excel using using Report Generation vi's

    Hey Everyone,
    I am trying to read the data from DAQ and write to excel continuously using Report Generation vi's. 
    But when I run the VI, it writes only one interation of the while loop (gathering data from DAQ continuously) and doesn't append the data into the same file when I run it again after stoping the VI. 
    I have attached the VI i created. Please let me know if you have any idea to solve this issue. 
    Thanks
    Attachments:
    sample 5.vi ‏35 KB

    There are two problems with your VI.  First, the basic logic of writing/appending to a file (Excel, TDMS, anything) should go something like this:  Open the file, position yourself at the end of the file, then, in the loop, acquire data and write it to the file until you are finished with data acquisition.  When you exit the acquire/write to file loop, then close the file.  In particular, the opening and the closing of the file should not be inside the loop.
    As others have pointed out, writing to Excel might not be optimal, particularly if you are acquiring data at a high rate (and would therefore be writing a lot of data). We actually use Excel in our data acquisition routine, mainly reading from a WorkSheet to get the parameters of a particular stimulus, but also writing the outcome of the response to the stimulus.  As it happens, our "acquisition rate" in this example is on the order of several samples per minute, so there's no problem using Excel (we also sample 16 channels of analog data at 1 KHz -- this gets written as a binary file).
    Second, if you really do want to use Excel, use the (existing) Excel file to which you want to append as the "template" argument of the New Report function.  Then use the Excel Get Last Row function to position yourself at "end of file", as noted above.
    Good Luck.
    Bob Schor

  • BRFplus: Problem updating values in an internal table in a loop expression

    Hi
    I'm looking into the loop expression type of BRFplus and I have come across a problem updating an internal table, I'm trying to create and populate the table using a loop, here is the functionality I'm trying to achieve:
    In a rule set create an internal MONTH_TBL table containing 12 rows of two columns: MONTH_NUM containing values 1 through 12 and MONTH_VAL containing an amount (initially 0,00 EUR in all 12 rows).
    After initializing the table traverse through SFLIGHT table and for each row add PRICE from the table to MONTH_VAL in the row of MONTH_TBL corresponding to the month of FLDATE field in SFLIGHT.
    The initialization of MONTH_TBL works as intended, as does the traversal of and retrieval of values from SFLIGHT. The problem however is the update of the internal table MONTH_TBL (defined as result data object for the function). I don't get an error, but the tables does not get updated, and I cannot seem to find out what the problem is. I would have attached an XML extract of the function + ruleset for information, but it dosen't seem like that is possible, I could e-mail it on request (for SAP employees with access to system QU5 the function is LOOP_TEST in application Z_KLAUS_TEST).
    I hope that this is sufficient information to understand the issue that I'm dealing with.
    best regards
    Klaus Stenbæk, KMD

    Hi Klaus,
    The Loop expression is part of NW 7.02 which is not yet released. When you experience the problem as part of a test you should have a contact at SAP for dealing with problems/errors. Usually SAP-internal messages are used for this purpose. Please clarify with your SAP contact how the model is.
    BR,
    Carsten

  • PDF problem. Some fonts do not display.

    Since moving CS4 to a new Mavericks installation I have two problems -
    1.     On clicking 'print', the application quits with no warning or message.
    2.     On exporting to PDF some fonts display only a bounding box for each character. Some fonts display OK.
    Has anyone else had this problem and solved it?

    Thanks Peter, not sure about the fonts. They come up OK on mu InDesign document but not on the PDF. I will check that out.
    As for the migration, I already did a fresh install on the new system.
    Cheers.

  • Hello! I bought a minidisplay PORT to VGA adaptor and I had two problems.

    Today before my presentation I had two problems with the adaptor: first one, part of the mac`s screen was cropped and the second one, after restarting my mac, the initial screen (with the apple logo) was also cropped. And it is still this way.
    Could anyone help me ? I would be really appreciated.
    Regards, Guilherme.
    OBS: MacBook Pro Retina Mids 2012 15"

    Hi guilhermefg120,
    Welcome to the Support Communities!
    The articles below may be able to help you with this issue.
    Click on the links below to see more details and screenshots.
    OS X Mountain Lion: About the Display pane of System Preferences
    http://support.apple.com/kb/ht5369
    Apple Mini DisplayPort adapters: Frequently asked questions (FAQ)
    http://support.apple.com/kb/ht3382
    Cheers,
    Judy

Maybe you are looking for

  • Unable to load the data into Cube Using DTP in the quality system

    Hi, I am unable to load the data from PSA to Cube using DTP in the quality system for the first time I am getting the error like" Data package processing terminated" and "Source TRCS 2LIS_17_NOTIF is not allowed". Please suggest . Thanks, Satyaprasad

  • SOAP Based Webservices in Apex

    Can you please let me if we can create a SOAP Based Webservices in Apex.  Apex will be the provider of the webservice and my other 3rd party application will be consumer.

  • Get the primary key

    Hello, I would like to get the primary key of a MS Access table, but the DatabaseMetaData.getPrimaryKeys(...) doesn't work. An exception is thrown. Anybody knows how to get the primary key of a MS Access table? Thanks Arno

  • Why does mountain lion make my macbook pro stall?

    Hi Is anyone else having a problem with Mountain Lion? My Macbook Pro was very stable woth OSX 10.6. I updated recently and now the round egg timer equivalent appears regualrly, requiring me to reboot. I thought that I had left all this behind when I

  • Rules involving sent mailboxes

    Hi there, I want to make a rule that selects sent mail only from my sent POP mail account only, and MOVES it to my IMAP accout sent mailbox. Then all my sent mail will show up online when using .mac webmail. There appears to be no condition option fo