Process 10 recent values in a continuous loop ?

I have a while loop acquiring data continuosly from the DAQ.
I would like to process the latest 10 acquisitions to build a histogram from the DAQ data. OR in other words, the histogram should be built only based on the latest 10 acquisitions. Is there an easy way to accomplish this ?
Kudos always welcome for helpful posts

Since the histogram does not care how the values are sorted in the array buffer, you can use something like in the attached LabVIEW 7.0 example. You just keep a 10 element array in a shift register and replace the currently oldest with the new value at each iteraction.
(The example calculates the mean of the 10 last values. Simply substitute your histogram calculation in the top part of the code).
This assumes that each acquisition is a single point. If each of your 10 acquisitions is an array of equal size, you would just do a 2D buffer in the same way, replacing an entire row at each iteration. For the histogram statistics, reshape the buffer to a 1D array with a size of the product of the 2D dimensions.
Message Edited by altenbach on 12-14-2005 01:22 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
Last10Statistics.vi ‏28 KB
Last10.png ‏7 KB

Similar Messages

  • Connect by loop how to prevent continuous loop

    We have a forms environment and in one area of the system its possible to create a continuos loop i.e
    part 1
    ----> Part 2
    ------>part1
    We get round this currently using the nocycle option in our connect by and checking the values of the connect_by_iscycle option. But we only do the check this after a commit.. meaning user has to manually amend. I was wondering how people validated there was not a continuous loop before the commit?
    Thanks

    use CONNECT_BY_ISCYCLE to check the problem
    check this out
    http://www.rampant-books.com/10g_79.htm

  • Transform from Business Process Expert to Value Scenario Experts !!!!

    Hi Business Process Experts,
    Its time to think ahead for all of us to be in line with SAP Business Suite 7.0
    SAP Business Suite 7:
    Establish Process Excellence, Lower Costs, And Capture Opportunities
    SAP Business Suite software provides best industry practices with industry-specific applications and the core applications of SAP Business Suite:
    SAP Customer Relationship Management
    SAP ERP (enterprise resource planning)
    SAP Product Lifecycle Management
    SAP Supply Chain Management
    SAP Supplier Relationship Management
    No more stovepipes -> Flexible end-to-end processes
    Deploy as you go -> Stepwise projects and installation
    No more upgrades -> Enhancement package = innovation packages
    Dynamic -> Re-usable enterprise services
    Industry-focused -> Delivers integrated industry solutions
    Extensible -> Easy expansion beyond ERP
    Choose Which Value Theme belongs to your current Business Process ??
    7 power packed themes and value scenarios:
    (1) High Performance Assets
    -Ready to Run (Efficient Design / Build / Commission)
    -Manage by Exception (Visibility and Optimization)
    -Run the Asset (Maximum Uptime)
    -Intangible Property Management
    -Stay Safe (Keep in Compliance)
    (2) Operational Excellence
    -Lean Manufacturing
    -Integrated Sourcing and Procurement
    -Integrated Logistics
    -Efficient After-Sales Service
    -Continuous Performance Improvement
    (3) Product and Service Leadership
    -Continuous Product Innovation
    -Integrated Product Development
    -Embedded Product Compliance
    -Product Delivered as a Service
    (4) Responsive Supply Networks
    -Collaborative Demand and Supply Planning
    -Manufacturing Network Planning and Execution
    -Logistics and Fulfillment Management
    -Characteristic based planning and execution
    -Service Parts Management
    -Supplier Network Management
    (5) Superior Customer Value-Optimize Sales and Marketing Investments
    -Creating the Optimal Offer
    -Seamless Order Fulfillment
    -Differentiate though Service Excellence
    -Customer Centric Marketing
    -Accelerated Lead to Cash
    (6) Financial Excellence-Gain Efficiency in Finance
    -Optimize Working Capital
    -Drive Strategy and Growth
    -Manage Risk and Compliance
    (7) Best People and Talent-Building the Workforce
    -High Performing Organization
    -Sales Force Performance
    -Compliant Workforce

    "Transform from Business Process Expert to Value Scenario Experts !!!!"

  • How to execute the functionality of button at a time of pressing if function is in continuous loop?

    Hello,
    I am facing one basic problem that how can I execute the button which I have used in my vi at a time of pressing means in my vi I have used 4 button 1. Start 2. OK 3. Save and 4. Stop button
    when user press start button then continuous loop will be executed and after pressing OK it will stop that loop and waiting for next instruction from user whether he want to do reading operation again or he want to save or he want to stop.
    The thing is when I press start button then while loop is execute then its not possible to press stop button or save button, user need to wait until OK button is pressed.
    Will you please guide me how can I do so that when ever user press any button that button is executed at time.
    Thank you very much once again.
    Attachments:
    voltageforcecapacitance without instrument.vi ‏40 KB

    Hi Ankit,
    There are some issue in your code mention below please have a look and correct these will work fine for your requirement.
    1. Save button Boolean value pass to the lower wheel conditional loop means if you press save your bottom loop will stop working this is not the code requirement you have to continue loop and tigger start event in last using value tigger event property to tigger again start event.
           This step will reset your loop and start from zero.
    2. According to me I think both loop should stop only in stop condition so you can remove stop function from upper loop and pass the button value in both loop directly to wheel loop condition terminal.
           Upper loop direct and lower both loop local variable.
    3. Why you want to stop your upper loop on any error condition, you should Handel the errors and keep running the code.
    4. What is the use of queue no case related with dequeue in bottom loop.
    5. Wheel loop in a event is not  good practice so you can use your queue structure here to run continuous lower code.
    I hope these changes can improve your code.
    Thanks and Regards
    Himanshu Goyal | LabVIEW Engineer- Power System Automation
    Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
    It Only gets BETTER!!!

  • ALV grid abort processing, if wrong value

    Hello,
    i've a editable alv grid.
    Is it possible to abort at event data_changed/data_changed_finished, if an value is wrong (f.e. to high < 500), and write the old value back.
    Best regards,
    TomSd

    Hello Thomas
    The sample report <b>ZUS_SDN_ALVGRID_EDITABLE_10</b> provides a possible (perhaps not the most elegant) solution for your problem.
    *& Report  ZUS_SDN_ALVGRID_EDITABLE_10
    *& Description: Reset false values entered in editable ALV list
    *&              to original values
    *& Example:     Column SORT_KEY allows values from '000'-'150'
    *               -> reset if value > '010'
    *& Thread: ALV grid abort processing, if wrong value
    *& Link: https:||<a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="669430"></a>
    REPORT  zus_sdn_alvgrid_editable_10.
    TYPE-POOLS: abap.
    INCLUDE <icon>.  " NOTE: replace by TYPE-POOLS: icon. on >= 6.20
    DATA:
      gd_repid         TYPE syrepid,
      gd_okcode        TYPE sy-ucomm,
      gs_layout        TYPE lvc_s_layo,
      gt_fcat          TYPE lvc_t_fcat,
      go_docking       TYPE REF TO cl_gui_docking_container,
      go_grid          TYPE REF TO cl_gui_alv_grid.
    TYPES: BEGIN OF ty_s_outtab.
    INCLUDE TYPE knb1.
    TYPES: END OF ty_s_outtab.
    TYPES: ty_t_outtab    TYPE STANDARD TABLE OF ty_s_outtab
                          WITH DEFAULT KEY.
    DATA:
      gt_outtab        TYPE ty_t_outtab,
      gt_outtab_pbo    TYPE ty_t_outtab.
    *       CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-DATA:
          mo_data_changed    TYPE REF TO cl_alv_changed_data_protocol.
        CLASS-METHODS:
          handle_data_changed
            FOR EVENT data_changed OF cl_gui_alv_grid
            IMPORTING
              er_data_changed
              e_onf4
              e_onf4_before
              e_onf4_after
              e_ucomm
              sender,
          handle_data_changed_finished
            FOR EVENT data_changed_finished OF cl_gui_alv_grid
            IMPORTING
              e_modified
              et_good_cells,
          handle_user_command
            FOR EVENT user_command OF cl_gui_alv_grid
            IMPORTING
              e_ucomm,
          handle_toolbar
            FOR EVENT toolbar OF cl_gui_alv_grid
            IMPORTING
              e_object
              e_interactive.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
    *       CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_data_changed.
    *   define local data
        DATA:
          ld_idx     TYPE i,
          ls_cell    TYPE lvc_s_modi,
          ls_msg     TYPE symsg.
        FIELD-SYMBOLS:
          <lt_outtab>  TYPE ty_t_outtab,
          <ls_outtab>  TYPE ty_s_outtab.
        ASSIGN er_data_changed->mp_mod_rows->* TO <lt_outtab>.
        LOOP AT er_data_changed->mt_mod_cells INTO ls_cell
                WHERE ( fieldname = 'ZUAWA' ).
          ld_idx = syst-tabix.
          IF ( ls_cell-value <= '010' ).
            READ TABLE <lt_outtab> ASSIGNING <ls_outtab> INDEX ld_idx.
            MODIFY gt_outtab FROM <ls_outtab> INDEX ls_cell-row_id. " !!!
          ELSE.
            CLEAR: ls_msg.
            ls_msg-msgv1 = 'Value'.
            ls_msg-msgv2 = ls_cell-value.
            ls_msg-msgv3 = 'too high (> 010)'.
            CALL METHOD er_data_changed->add_protocol_entry
              EXPORTING
                 i_msgid     = '00'
                 i_msgty     = 'E'
                 i_msgno     = '398'
                 i_msgv1     = ls_msg-msgv1
                 i_msgv2     = ls_msg-msgv2
                 i_msgv3     = ls_msg-msgv3
    *             I_MSGV4     =
                 i_fieldname = ls_cell-fieldname
                 i_row_id    = ls_cell-row_id
                 i_tabix     = ls_cell-tabix.
            DELETE er_data_changed->mt_mod_cells  INDEX ld_idx.
            DELETE er_data_changed->mt_good_cells INDEX ld_idx.
          ENDIF.
        ENDLOOP.
        IF ( syst-subrc = 0 ).
          er_data_changed->display_protocol( ).
        ENDIF.
    **    cl_gui_cfw=>set_new_ok_code( 'REFRESH' ). " not possible on 4.6c
        CALL METHOD cl_gui_cfw=>set_new_ok_code
          EXPORTING
            new_code = 'DUMMY'
    *      IMPORTING
    *        RC       =
      ENDMETHOD.                    "handle_data_changed
      METHOD handle_data_changed_finished.
    *   define local data
        DATA:
          ls_outtab      TYPE ty_s_outtab,
          ls_cell        TYPE lvc_s_modi.
      ENDMETHOD.                    "handle_data_changed_finished
      METHOD handle_user_command.
      ENDMETHOD.                    "handle_user_command
      METHOD handle_toolbar.
    *   define local data
        DATA:
          ls_button    TYPE stb_button.
        ls_button-function  = 'DEFAULT'.
        ls_button-icon      = icon_mass_change.
        ls_button-quickinfo = 'Set default value for column'.
        APPEND ls_button TO e_object->mt_toolbar.
      ENDMETHOD.                    "handle_toolbar
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
      SELECT * FROM knb1 INTO TABLE gt_outtab UP TO 20 ROWS
        WHERE bukrs = '1000'.
      gt_outtab_pbo = gt_outtab.  " store PBO data
    * Create docking container
      CREATE OBJECT go_docking
        EXPORTING
          parent                      = cl_gui_container=>screen0
          ratio                       = 90
        EXCEPTIONS
          OTHERS                      = 6.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Create ALV grid
      CREATE OBJECT go_grid
        EXPORTING
          i_parent          = go_docking
        EXCEPTIONS
          OTHERS            = 5.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Build fieldcatalog
      PERFORM build_fieldcatalog.
      PERFORM set_layout.
      SET HANDLER:
        lcl_eventhandler=>handle_toolbar               FOR go_grid,
        lcl_eventhandler=>handle_data_changed          FOR go_grid,
        lcl_eventhandler=>handle_data_changed_finished FOR go_grid.
    * Display data
      CALL METHOD go_grid->set_table_for_first_display
        EXPORTING
          is_layout       = gs_layout
        CHANGING
          it_outtab       = gt_outtab
          it_fieldcatalog = gt_fcat
        EXCEPTIONS
          OTHERS          = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      go_grid->set_toolbar_interactive( ).
      CALL METHOD go_grid->register_edit_event
        EXPORTING
          i_event_id = cl_gui_alv_grid=>mc_evt_enter
        EXCEPTIONS
          error      = 1
          OTHERS     = 2.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Link the docking container to the target dynpro
      gd_repid = syst-repid.
      CALL METHOD go_docking->link
        EXPORTING
          repid                       = gd_repid
          dynnr                       = '0100'
    *      CONTAINER                   =
        EXCEPTIONS
          OTHERS                      = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * ok-code field = GD_OKCODE
      CALL SCREEN '0100'.
    * Flow logic (no elements on screen):
    *  PROCESS BEFORE OUTPUT.
    *    MODULE STATUS_0100.
    *  PROCESS AFTER INPUT.
    *    MODULE USER_COMMAND_0100.
    END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STATUS_0100'.
    *  SET TITLEBAR 'xxx'.
      CALL METHOD go_grid->refresh_table_display
    *      EXPORTING
    *        IS_STABLE      =
    *        I_SOFT_REFRESH =
        EXCEPTIONS
          finished       = 1
          OTHERS         = 2.
      IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      TRANSLATE gd_okcode TO UPPER CASE.
    * Fetch changes on ALV grid
      go_grid->check_changed_data( ).
      CASE gd_okcode.
        WHEN 'BACK' OR
             'END'  OR
             'CANC'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN 'DUMMY'. " do nothing but pass PAI -> list refresh at PBO
        WHEN OTHERS.
      ENDCASE.
      CLEAR: gd_okcode.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  BUILD_FIELDCATALOG_KNB1
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM build_fieldcatalog .
    * define local data
      DATA:
        ls_fcat        TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
    *     I_BUFFER_ACTIVE              =
          i_structure_name             = 'KNB1'
    *     I_CLIENT_NEVER_DISPLAY       = 'X'
    *     I_BYPASSING_BUFFER           =
    *     I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = gt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      " Set required fields editable
      LOOP AT gt_fcat INTO ls_fcat
                      WHERE ( fieldname = 'ZUAWA'  OR
                              fieldname = 'BUSAB' ).
        ls_fcat-edit    = abap_true.
        MODIFY gt_fcat FROM ls_fcat.
      ENDLOOP.
      DELETE gt_fcat WHERE ( fieldname = 'ZINRT' ).
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  SET_LAYOUT
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM set_layout .
      CLEAR: gs_layout.
      gs_layout-cwidth_opt = abap_true.
      gs_layout-zebra      = abap_true.
    **  gs_layout-stylefname = 'CELLTAB'.
    ENDFORM.                    " SET_LAYOUT
    Regards,
      Uwe

  • 80GB ipod needs restoring but wont on a continuous loop

    every time i go to restore my i pod classic (80 gig) a box comes up saying "Itunes has detected an ipod in recovery mode You must restore this ipod so it can be used with Itunes" the process just goes on and on i go to restore it extracts data goes to recover the ipod and then it says back to factory settings wait 15 seconds then the 1 st fault re appears (detected i pod in recovery mode ..)HELP PLEASE
    Thanks so much to anyone who can help me =]

    Find your nearest apple service centre which you can find under the support link and give them a ring ,i did after my 80gb ipod went wrong all of a sudden after a month,they said bring it in we will try to fix it and if we cant we will get you a new one which they did and it took 2 days ,I had spent the previous 2 weeks trying various solutions from this forum untill it eventually fell into a continuous loop of "needs to be restored",warranty covers you for a year from purchase

  • RI started downloading a tv show and it is stuck at around 450MB in a continual loop and no way to cancel it.  How do I stop it?

    i started downloading a tv show and it is stuck at around 450MB in a continual loop and no way to cancel it.  How do I stop it?

    Ldme-
    Can you get to the Home screen?  If so, double-click the Home button.  A row of recent Apps will line up along the bottom of the screen.  Scroll across and look for the App that is stuck.  Press on its icon until it starts to wiggle.  A red minus sign should appear on each icon.  Press the minus sign to remove the App from the list, which will also stop it from running.
    Click the Home button to stop the wiggling, and again to return to the Home screen.
    If that does not help, try resetting (rebooting) the iPad.  Hold both the Home and Sleep buttons for several seconds until the Apple logo appears.  Ignore the "Slide to power off" arrow.  The iPad will restart after a couple of minutes.  Resetting this way will not hurt anything, and sometimes clears up mysterious problems.
    Fred

  • Nvidia driver in continuous loop

    When MS sent out those massive updates about a month ago, the computer said one of the updates caused the driver nv4_disp.ldll    to go into a  continuous loop.
    When turning on the computer after it started to load, the screen would go white.  The only way to stop that was to pull power cord.  On/off switch would not do it.
    I have (I think) uninstalled the driver and attempted to reinstall the driver.  The computer will only run in Safe Mode.
    After that I got a message that the BIOS might be out of date.  Using all the posts I could find and printing the info off the Toshiba websites, I have been unable to update my BIOS because I can not get the BIOS update screen to come up. I have tried F2 and ESC F1, and just for good measure, I've tried all the other F's.
    Toshiba Satellite Pro 6100  X86 based PC   Windows XP Pro SP3
    BIOS version 1.70  11/29/2002

    Complete instructions for buring the bios update files to a self booting CD are included in the archive file/  You have to decompress the file first prior to burning it otherwise it won't work.  Once you download the file you need to double click on it, uncheck the "When done unzipping open Launcher.exe" box so that it doesn't try to flash from windows.  Make a note of the location it unzips the files to.  Now follow these instructions to the letter to create a self booting BIOS flash CD.
    4) BOOT CD-ROM INSTALLATION METHOD
    If your Toshiba PC is equipped with a bootable CD-ROM device (CD-ROM,
    DVD-ROM, DVD-RW, DVD-Multi, etc.), and you have access to a CD writer
    (burner, either installed in your Toshiba PC or in another PC), you can
    create a bootable BIOS installation CD-ROM using the ISO CD image,
    2610v19.iso, provided in this distribution. Once you create the bootable
    CD-ROM, simply boot your computer from the resulting CD.
    To boot from CD, you can either hold down the "C" key while you turn your
    computer on, or you can use HWSetup to change the boot priority so the CD
    drive boots before the HDD.
    Note, if your CD burner supports it, you can use a rewritable CD (CD-RW) disc
    to create the bootable BIOS installation CD-ROM. Be sure to erase the
    rewritable disc (if it has data on it) before you proceed. Once you are
    finished updating your system's BIOS, you can erase and re-use the rewritable
    disc.
    IMPORTANT NOTE: Creating the bootable BIOS Installation CD requires a
    specific set of steps that is unique to each CD authoring application. You
    cannot simply copy the ISO image to a blank CD and expect to be able to boot
    from it.
    For your CD authoring/burning software, follow the instructions for creating
    a CD from an ISO image. Brief instructions for some CD authoring/burning
    software can be found in ISOCDROM.TXT, which is included in this package.
    Here are some brief instructions for creating the bootable BIOS Installation CD from the provided ISO image.
    Drag 'n Drop     Unfortunately the Drag 'n Drop CD application bundled with
    CD:              many Toshiba PC models does not support creating a CD from
                     an image.  You'll need to use a different CD burning
                     application.
                     One such application for Windows XP is Alex Feinman's free
                     "ISO Recorder Power Toy". This appears to be a desktop
                     extension for Windows XP that allows you to right-click on
                     the 2610v19.iso file and use Windows XP's built-in
                     CD writing wizard to create the bootable CD.  It's a
                     reasonable alternative to buying a commercial software
                     package just to be able to burn an ISO image.  Information
                     about the ISO Recorder Power Toy is available at
                     http://isorecorder.alexfeinman.com/isorecorder.htm
                     Note:  Toshiba neither recommends nor supports this
                     software.  Use it at your own risk.
    Roxio Easy       By default, Easy CD Creator 5 allows you to initiate the ISO
    CD Creator:      image recording process by simply double-clicking the .ISO
                     file in Windows Explorer.  Browse to C:\2610V19
                     and double-click the 2610v19.iso file.
                     Information about Easy CD Creator is available
                     at http://www.roxio.com
    Nero:            Using the Nero Wizard, choose "CD" as the medium (default
                     for CD-R and CD-RW drives), and click Next. On the
                     following dialogs, choose Compile a new CD, Other CD formats,
                     Create a CD from an image file, clicking Next after each
                     selection, then click Finish.  In the File Open dialog,
                     browse to C:\2610V19,
                     select 2610v19.iso as the image file and click Open.
                     From the Burn dialog, select your desired burn parameters,
                     and burn the CD. Information about Nero is available at
                     http://www.ahead.de
    If you don't post your COMPLETE model number it's very difficult to assist you. Please try to post in complete sentences with punctuation, capitals, and correct spelling. Toshiba does NOT provide any direct support in these forums. All support is User to User in their spare time.

  • Continuous Looping

    Hey Everybody!
    I've had quite a bit of luck with the devzone in the past, and I'm hoping you might be able to point me in a better direction.
    I attached the code that I'm currently working on implementing.  The large loop on the right handles a some counter/timer inputs, as well as a couple of digital output operations that I have to perform at regular intervals.  I have local variables that I'm continuously updating that are passed to this loop. 
    The problem that I'm currently running into is:  I have a couple of different operations that need to be able to independantly modify these local variables.  For instance, I have a homing sequence mode, a manual operation mode, and an automated run mode.  The issue is that I cannot continuously update those variables when I click into the manual operation mode tab, for instance.
    Any thoughts?
    Thanks very much!
    .jim
    Jim S
    GRA/Colorado School of Mines
    Attachments:
    2MOTORS_HOME_10302007.vi ‏117 KB

    As I mentionned in my previous email, avoid Local Variables.  Wire values directly.  You can make proper use of the Shift Registers (if needed) to update values within the loop.  If you have to update values from outside the loop, try a Functional Global variable, and better still, use Semaphores to avoid collision or to synchronize when valid data is ready to be read or updated.
    What is happening at the moment is the vi is reading the contents of the Locals (Capstan Freq Ind & Slide Freq Ind) before they are set from the Case structure to the left.
    See image below:
    Message Edited by JoeLabView on 10-30-2007 09:21 PM
    Attachments:
    AvoidLocals.PNG ‏27 KB

  • Third party process as inventory value

    Dear Experts,
    Kindly need help for third party process.
    We have third party process which triggered from Sales Order. This Sales Order will automatically created PR. PR will be convert into PO.
    The issue is we would like to have goods in Sales Order (or Purchase Order in next process) as inventory value when receiving goods.
    Can third party process be treated as inventory value when receiving it?
    Thank you in advance.
    Best Regards,

    In third party process your customer gets the goods directly from your vendor.
    You only make a statistical GR ("phantom" GR) in the system, the goods are physically received by your customer and your customer's inventory will increase after your customer's GR and not yours. Knowing this your question doesn't make any sense I think.
    If your third party process is not a real third party process and you receive the goods physically and after that you sell it your customer you can use individual PO scenario.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/dd/5601d4545a11d1a7020000e829fd11/frameset.htm
    Regards,
    Csaba

  • Soap:Server was unable to process request. --- Value does not fall within the expected range

    Brand spanking new Sharepoint 2010 RTM and Designer 2010 RTM install. Unable to edit any page whatsoever even when checking out. Error in SP Designer: soap:Server was unable to process request. ---> Value does not fall within the expected range.
    Like I said, this is a brand new RTM install with nothing altered yet. Why can't I edit any pages? I am using the highest credentials so there should be no permission issues. There isn't anything that is helping me on the Web for this.
    Why would I encounter a problem like this out of the box? This is not the beta - it is RTM!

    Go to :
    Site Collection Administration 
    SharePoint Designer Settings
    and Enable the following
    Enable Detaching Pages from the Site Definition
    Enable Customizing Master Pages and Page Layouts
    Enable Managing of the Web Site URL Structure
    This should resolve the SP Designer Edit Issues.

  • Nobody get back to me on my other question, so I'm going to try again. I am making a PowerPoint for a meeting and I want to take a 3D PDF and have it spin or rotate on a continuous loop. How can I accomplish this?

    Nobody get back to me on my other question, so I'm going to try again. I am making a PowerPoint for a meeting and I want to take a 3D PDF and have it spin or rotate on a continuous loop. How can I accomplish this?

    Please ignore PowerPoint comment, I can make the 3D PDF no problem with my converter plug-in for AutoCAD. Once it is made though you can spin it by hand/mouse in Adobe. but I want a video like scene with the object spinning by itself for modeling purposes?

  • Online Store 1.0  - which process set the value of App Item 'FULLNAME'

    Hi,
    I just very curious about which process set the value of App Item 'FULLNAME' ini the packaged Apex App - Online Store 1.0 .
    At Navigation Bar, there is a entry named "If you are not &FULLNAME., Click here |". However I can't find how the app set this application item value in any process when login.
    any idea, I will be very appreciated.
    Thanks in advance.
    PPMonkey

    Check the post-authentication process in the current authentication scheme and the call to ols_getname.
    Scott

  • LabVIEW 6.1 If For Loop count terminal is zero then value going through the loop is not passed on to the output of the loop

    Hello, one of our customers just encountered an execution error in a vi running under LabVIEW 6.1, which doesn't exist under LabVIEW 5.1 or 6.01. I have a simple vi that has two encapsulated For Loops. Two string arrays go in, one goes out of the outer loop. Inside the outer loop the first array is indexed. The string which results from this indexing is compared with all other strings from the second string array in the inner loop. If it matches one of the strings of the second array, it is not outputted, otherwise this string goes through the inner For Loop to the output of the inner loop and from there to the output of the outer loop. The count
    terminal of the outer/inner loop is connected to the Array Size of the first/second string array. If the second array is empty, that means that the element in test from the first arry cannot match anything from the second array, so the element in test is send to the output of the inner loop and from there to the output of the outer loop. This works fine in LabVIEW 5.1 and 6.01, but NOT in LabVIEW 6.1. In LabVIEW 6.1 the inner loop is never executed if the count value is zero (which is correct), but the data line running through the loop is not executed either, which is different to what LabVIEW 5.1 and 6.01 do. There, the input string is sent to the output of the inner loop correctly even if the loop counter is zero. The solution is easy - I just have to connect the output of the outer loop to the data line BEFORE it enters the inner loop. But: I don't know if this is a LabVIEW 6.1 bug or if it is supposed to be a feature, but it brings some incompatibility in programming between the
    different LabVIEW versions.
    Best regards,
    Gabsi

    Hi,
    When a for-loop runs zero times, all outputs are 'undefined' (and should
    be).
    Besides, how would LV know what the output of a not executed routine should
    be?
    It might be handled differently in LV5 and LV6, which is unfortunate. In
    both cases, the result is undefined.
    It's not a bug. It's just something that should be avoided in any LV
    version.
    > The solution is easy - I just have to connect the
    > output of the outer loop to the data line BEFORE it enters the inner
    > loop. But: I don't know if this is a LabVIEW 6.1 bug or if it is
    In some cases this does the trick. But if the data is changed in the inner
    loop, this will effect the results if the N is not zero.
    Technically, I think the output in this construction is also 'undefined'.
    But LV handles this as expected / desired.
    Another solution is to use a shift register. If N is zero, the input is
    directly passed through to the output.
    Regards,
    Wiebe.
    "Gabs" wrote in message
    news:[email protected]...
    > LabVIEW 6.1 If For Loop count terminal is zero then value going
    > through the loop is not passed on to the output of the loop
    >
    > Hello, one of our customers just encountered an execution error in a
    > vi running under LabVIEW 6.1, which doesn't exist under LabVIEW 5.1 or
    > 6.01. I have a simple vi that has two encapsulated For Loops. Two
    > string arrays go in, one goes out of the outer loop. Inside the outer
    > loop the first array is indexed. The string which results from this
    > indexing is compared with all other strings from the second string
    > array in the inner loop. If it matches one of the strings of the
    > second array, it is not outputted, otherwise this string goes through
    > the inner For Loop to the output of the inner loop and from there to
    > the output of the outer loop. The count terminal of the outer/inner
    > loop is connected to the Array Size of the first/second string array.
    > If the second array is empty, that means that the element in test from
    > the first arry cannot match anything from the second array, so the
    > element in test is send to the output of the inner loop and from there
    > to the output of the outer loop. This works fine in LabVIEW 5.1 and
    > 6.01, but NOT in LabVIEW 6.1. In LabVIEW 6.1 the inner loop is never
    > executed if the count value is zero (which is correct), but the data
    > line running through the loop is not executed either, which is
    > different to what LabVIEW 5.1 and 6.01 do. There, the input string is
    > sent to the output of the inner loop correctly even if the loop
    > counter is zero. The solution is easy - I just have to connect the
    > output of the outer loop to the data line BEFORE it enters the inner
    > loop. But: I don't know if this is a LabVIEW 6.1 bug or if it is
    > supposed to be a feature, but it brings some incompatibility in
    > programming between the different LabVIEW versions.
    > Best regards,
    > Gabsi

  • Iphoto has recently stopped working; it continually shows the loading circle. I’ve uninstalled and reinstalled it, updated it

    Iphoto has recently stopped working; it continually shows the loading circle. I’ve uninstalled and reinstalled it,updated it and reinstalled all my apps with the ‘applications install DVD’ however it still does not work. I have also tried holding the command and option key while pressing iphoto then when the pop up appears i press the checkboxes that have been suggested by other users however nothing happens. Any other suggestions would be great!

    Ok the program itself is likely fine, it's the files it depends on that are not.
    Step #1
    1: Open your Users/Library/Preferences folder (if on Lion you need to use the Go in Finder)
    2: Scroll down until you see a file called
    com.apple.iPhoto.plist
    3: Trash it and reboot, start iPhoto and see if it works.
    Step #2
    1: Go to your Users/Pictures/iPhoto Library and right (or hold option) click on it and "show package contents"
    2: Inside will be a folder with your originals, copy them out.
    3: Move and rename the iPhotoLibrary file outside of the Pictures folder.
    4: Reboot and restart iPhoto, check inside the Pictures folder if iPhotoLibrary was created.
    5: Download ClamXav and run a scan on the Original photo's and your whole machine too while your at it.
    (it's if there is a picture in there from Windows it could contain a corruption caused by malware)
    6: Reimport the originals back into iPhoto.
    See if those two steps resolve your issue, if not I could suspect next a network issue? Like iPhoto is trying to contact the internet and can't or gets hung?
    You can can create another user, use the Shared Drop box to transfer files and log into the other user and see if it's a issue with just your User account, and if so you might just want to transisition over and then one day delete the old user and it's problems.
    Please keep your Flash updated.
    http://flashbuilder.eu/flash-player-version.html
    Read my backup and restore etc., info here
    https://discussions.apple.com/message/16276201#16276201

Maybe you are looking for

  • Safari won't open after update!

    Routine update done on 06/19 and now even after several restarts Safari 5 won't open at all. Please, help. Process: Safari [1000] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0 (5533.16) Build Info: Web

  • VISACOM - Alloc Error using 488.2 USB-B Interface - too many open sessions

    I have been having the following issue in my VB .NET RF-ATE application.... It usually happens when my program enters a measurement loop (I.E. searching for P1dB). It begins to solve for P1dB and performs about 15 cycles (sets power level on SigGen a

  • XMLDOM package/ Plsql XML parser

    HI, I'm trying to build XML document using plsql parser 1.0.2 using xmldom package. The XML output given is not consistent and the AppendChild Call removed the Root node (from the XML document). This result in incomplete XML document. -------Expected

  • NullPointerException when deploying in WL7.0

    I get this exception when deploying a jar file. java.lang.NullPointerException at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMDField(ClientDrivenBeanInfoImpl.java:704) at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptor(C

  • Spell Check & Attachments in iCloud

    I'm learning to use iCloud email and have two issues. 1. The directions for Spell Check say: "Control-click a misspelled word, then choose one of the following options from the menu:" I  pushed Ctrl and clicked on the word but did not get any options