ActionListener not executed

Something really strange happens to my jspx.
I set actionListener of a button to point a particular method in a managed bean. That method does nothing but prints out a message. What seems to be happening instead is Commit action being executed.
What could be causing this? I'm really stuck

When you click a button on a form, a Submit event is generated (as Frank indicated). Is that what is happening, or is your original posting indicating a "Commit" correct?
How is your actionlistener configured? I'm assuming you've already put a breakpoint in the target method to guarantee it's not being called? Have you turned on logging to see if anything is getting consumed on the event?
Regards,
Shaun O'Brien
Edited by: Shaun OBrien on Sep 30, 2008 1:54 PM

Similar Messages

  • Why processAction of  my ActionListener not execute??

    hello all:
    i put a command_button on my form ,and the actionevent is processed by myactionlistener,here is myactionlistener.java:
    public PhaseId getPhaseId() {
    return PhaseId.UPDATE_MODEL_VALUES;
    public void processAction(ActionEvent event) {
    if i set the return value of getPhaseId() to ANY_PHASE,APPLY_REQUEST_VALUES,PROCESS_VALIDATIONS ,it is ok,but if return value is UPDATE_MODEL_VALUES,RECONSTITUTE_REQUEST,and the processAction() will not be executed,why??

    I encountered a similar problem. My problem is caused by a trivial CSS link:
    <link rel="stylesheet" type="text/css" href='<c:url value="stylesheet.css"/>'>
    The above generates the href as /<context path>/faces/stylesheet.css,
    which triggers the FacesServlet to react. For some reason, it messes up the
    action event flow and thus no processAction() is called in ActionListener.
    The solution is to use
    <link rel="stylesheet" type="text/css" href='<c:url value="/stylesheet.css"/>'>
    Notice that there is a "/" preceding the css file. Thus, the href is
    /<context path>/stylesheet.css, which is more appropriate.
    So, it applies to other links such as javascript, css, and images.

  • Af:commandMenuItem action and actionListener are not executing

    Hello all!
    I use JDeveloper Studio Edition Version 11.1.1.2.0. Here's the problem. I have a popup menu like this
    <af:popup id="someMenu" animate="default">
    <af:menu id="pt_m1">
    <af:forEach var="item" items="#{ContextMenuHelperBean.availableUserRoles}">
    <af:commandMenuItem text="#{item.roleName}"
    action="#{ContextMenuHelperBean.changeUserRole_Action}"
    actionListener="#{ContextMenuHelperBean.changeUserRole_ActionListener}"
    immediate="true"
    partialSubmit="false"
    id="pt_cmi1" rendered="true">
    <f:attribute name="userRole" value="#{item}"/>
    </af:commandMenuItem>
    </af:forEach>
    </af:menu>
    </af:popup>
    The problem is that action and actionListener are not executing, when the menu item is selected (but the page is reloaded with no changes). ContextMenuHelperBean has a "session" scope set in adfc-config.xml. What can be wrong with this?

    Now I've encountered a new kind of error. I create a menu in a managed bean like this:
    In JSPX
    <f:view beforePhase="#{RolesMenuSupportBean.createMenus}">
    <af:popup id="cxtMenu" animate="default">
                            <af:menu id="pt_m1"
                                     binding="#{RolesMenuSupportBean.rolesMenu}">
                            </af:menu>
                          </af:popup>In com\cs\webb2\view\utils\menu\RolesMenuSupport.java
        public void createMenus(PhaseEvent phaseEvent) {                       
            List<IUserRole> rolesList = getAvailableUserRoles();
            for (IUserRole role: rolesList) {           
                Boolean hasItem = false;           
                for (Iterator iter = rolesMenu.getChildren().iterator(); iter.hasNext(); ) {
                    RichCommandMenuItem item = (RichCommandMenuItem) iter.next();
                    if (!hasItem)
                        hasItem = item.getText().equalsIgnoreCase(role.getRoleName());
                if (!hasItem) {
                    RichCommandMenuItem newItem = new RichCommandMenuItem();                                                       
                    newItem.getAttributes().put("userRole", role);
                    newItem.setText(role.getRoleName());
                    newItem.setId(ITEM_ID);               
                    newItem.setActionExpression(getActionExpression("#{RolesMenuSupportBean.changeUserRole_Action}"));                           
                    newItem.addActionListener(getExpressionActionListener("#{RolesMenuSupportBean.changeUserRole_ActionListener}"));                               
                    rolesMenu.getChildren().add(newItem);  
        } The menu is created successfully, but when I click on any item, I get an exception
    <b>javax.servlet.ServletException: Method not found: com.cs.webb2.view.utils.menu.RolesMenuSupport@d4702.changeUserRole_Action(void)</b>
    But of course I have such a method in my com.cs.webb2.view.utils.menu.RolesMenuSupport:
    In com\cs\webb2\view\utils\menu\RolesMenuSupport.java
        public String changeUserRole_Action()
            System.out.println("Action!");
            // no code yet
            return "adfMenu_Main";
        }And there <b>is</b> a managed bean named RolesMenuSupportBean, which is associated with class com.cs.webb2.view.utils.menu.RolesMenuSupport.
    Can anyone tell me, what can be wrong?

  • BPM send step not executed in BPM (after Message split)

    Hello everybody,
    we use BPM:
    We have a paralell Block which should send the rows of a multiline element. In SXMB_BPE_MONI the send step is not executed?
    Any idea?
    Thanks  lot, regards Mario

    HI,
    Go to SXMB_MONI_BPE->and check the workflow log (technical details).and go to SXI_CACHE and check the return code of the Integration Process. It should be zero. If not try to activate the same
    If there is no error then go with like this-
    Also check the Syntax in Integration Repository with F7. Change the IP and activate it. If there is no syntax errors.
    Then reimport the IP into Directory and then test your scenario
    Regards,
    Moorthy

  • MS Office Report (Report Generation toolkit) is not executable​, Xnode broken?

    Hi, I am trying to generate an excel report, and I figured it would be easier to use the MS Office report VI, but I am getting the broken arrow saying the SubVI is not executable and that the library that defines the xnode is broken... here is a screensot attached, I already uninstall and reinstall the report generation toolkit and still the same... this is what I found on NI: "This error occurs when the library that defines the XNode you used is broken. To correct this error, reconfigure the XNode." but no idea how to reconfigure xnode
    Attachments:
    Error.png ‏67 KB

    What version of LabVIEW are you using?
    What is the nature of your Report?  What should it look like?  What kind of data should it contain?
    Can you show us some code that you've tried to use?  If so, include the code as either a Snippet or as a VI attachment (so we can plug it into our own LabVIEW installations and experiment with it).
    I generally find that the Report Generation Toolkit is a very easy way to generate Excel Workbooks.  I work primarily with LabVIEW 2012 and LabVIEW 2014.
    Bob Schor

  • I recieve the following error when running an executable ("This VI is not Executable. The full development version of Labview is required to fix the errors"

    I recieve the following error when trying to build and run a labview executable. I am able to build the executable but when trying to run the executable, a pop up window comes up asking the user to select a dll. (please see screen shot attached). Once the DLL is selected, I get the error that This VI is not Executable. The full development version of Labview is required to fix the errors. (please see screen shot attached). I have also attached a snapshot of the project window.
    I have the professional development system
    I can run the main VI
    all the required DLL's are in the dependencies section of the project window.
    I am trying to find the root cause of this error but to no avail. can anyone give me a clue to what i am missing here. Any suggestions on where i should look to find the problem ?
    Thanks in advance to all labview users for your help
    Attachments:
    project window.PNG ‏36 KB

    other PNG
    Attachments:
    Broken Arrow on EXE.PNG ‏179 KB

  • I get a "vi is not executable" error when building an application.

    I have an ongoing project that has worked fine in the past when building an application. I have recently added some report generation toolkit vis(Excel) and get an error for some of the ni vis and some of my own that call lower level excel vis. The error is that he vi is not executable, however they run fine in the development environment. I do not get this error if I save all vi's into one llb with save with options command and then build. However, when I try to run the app, this error re-appears. Also, do I have to add the dynamically loaded vi's that are part of the toolkit in my build script? Could this be the cause of the problem? If so, what's the best way to find all of them? Any suggestions?

    You have hit in on the nail! You do need to add the dynamically loaded VIs when you are creating an executable from your VI. You need to add _wordsub.lib and _exclsub.lib as dynamically loaded VIs into your executable. Try this and let us know if you have any more problems with it.
    J.R. Allen

  • PROCEDURE IS NOT EXECUTED WITH IN THE DATABASE TRIGGER

    The follwing databse trigger works fine but the procedure lv_calc_pkg.p_orders_executed(:new.stock_code,:new.selling,:new.buying,:new.qty,:new.price); is not executed
    please help
    CREATE OR REPLACE TRIGGER SE.LV_SUMMARY_TRADE_TR
    AFTER INSERT
    ON SE.LV_DAILY_TRADES
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    vstock gn_stocks.stock_code%TYPE;
    CURSOR stock_cur
    IS
    SELECT stock_code
    FROM lv_trade_summary
    WHERE stock_code = :NEW.stock_code;
    BEGIN
    OPEN stock_cur;
    FETCH stock_cur
    INTO vstock;
    IF stock_cur%NOTFOUND
    THEN
    INSERT INTO lv_trade_summary(
         the_time,
         the_date,
         stock_code,
         stock_type_id,
         market_id,
         deals,
         price,
         qty,
         trade_value,
         le_value,
         buying,
         selling,
         rec_count,
         rec_serial,
         buying_count,
         close_price,
         coupon_value,
         currency,
         dividend_yield_perc,
         eps,
         free_stocks,
         hi_offer,
         hi_req,
         hi_req_qty,
         high_date,
         high_price,
         last_offer,
         last_request,
         last_trade_date,
         less_offer,
         less_offer_qty,
         less_request,
         liquid,
         low_date,
         low_price,
         market_cap,
         off_count,
         prev_close,
         prop_avg_ofr_10,
         prop_avg_rqst_10,
         prop_avg_ofr_5,
         prop_avg_rqst_5,
         prop_avg_offers,
         prop_avg_rqst,
         req_count,
         rqst_to_offers,
         sector_desc_a,
         sector_desc_e,
         selling_count,
         simple_avg_ofrs_10,
         simple_avg_rqst_10,
         simple_avg_ofr_5,
         simple_avg_rqst_5,
         simple_avg_offers,
         simple_avg_rqst,
         stock_count,
         stock_desc_a,
         stock_desc_e,
         sum_less_ofr_10,
         sum_less_rqst_10,
         sum_less_5_rqst,
         sum_offer,
         sum_volume_traded,
         trx_count,
         sum_request,
         last_request_qty,
         last_offer_qty )
    VALUES (
         :NEW.the_time,
         :NEW.the_date,
         :NEW.stock_code,
         :NEW.stock_type_id,
         :NEW.market_id,
         :NEW.deals,
         :NEW.price,
         :NEW.qty,
         :NEW.trade_value,
         :NEW.le_value,
         :NEW.buying,
         :NEW.selling,
         :NEW.rec_count,
         :NEW.rec_serial,
         lv_calc_pkg.f_buying_count (:NEW.stock_code),
         lv_calc_pkg.f_close_price (:NEW.stock_code),
         lv_calc_pkg.f_coupon_value (:NEW.stock_code),
         lv_calc_pkg.f_currency (:NEW.stock_code),
         lv_calc_pkg.f_dividend_yield_perc (:NEW.stock_code),
         lv_calc_pkg.f_eps (:NEW.stock_code),
         lv_calc_pkg.f_free_stocks (:NEW.stock_code),
         lv_calc_pkg.f_hi_offer (:NEW.stock_code),
         lv_calc_pkg.f_hi_request (:NEW.stock_code),
         lv_calc_pkg.f_hi_request_qty (:NEW.stock_code),
         lv_calc_pkg.F_HIGH_DATE (:new.stock_code),
         lv_calc_pkg.F_HIGH_price (:new.stock_code),
         lv_calc_pkg.f_last_offer (:NEW.stock_code),
         lv_calc_pkg.f_last_request (:NEW.stock_code),
         lv_calc_pkg. F_LAST_TRADE_DATE(:new.stock_code),
         lv_calc_pkg.f_less_offer (:NEW.stock_code),
         lv_calc_pkg.f_less_offer_qty (:NEW.stock_code),
         lv_calc_pkg.f_less_request (:NEW.stock_code),
         lv_calc_pkg.f_liquid (:NEW.stock_code),
         lv_calc_pkg.f_low_date(:new.stock_code),
         lv_calc_pkg.f_low_price(:new.stock_code),
         lv_calc_pkg.f_market_cap(:new.stock_code),
         lv_calc_pkg.f_off_count (:NEW.stock_code),
         lv_calc_pkg.f_prev_close (:NEW.stock_code),
         lv_calc_pkg.f_prop_avg_best_10_ofrs (:NEW.stock_code),
         lv_calc_pkg.f_prop_avg_best_10_rqst (:NEW.stock_code),
         lv_calc_pkg.f_prop_avg_best_5_ofrs (:NEW.stock_code),
         lv_calc_pkg.f_prop_avg_best_5_rqst (:NEW.stock_code),
         lv_calc_pkg.f_prop_avg_offers (:NEW.stock_code),
         lv_calc_pkg.f_prop_avg_rqst (:NEW.stock_code),
         lv_calc_pkg.f_req_count (:NEW.stock_code),
         lv_calc_pkg.f_rqst_to_offers (:NEW.stock_code),
         lv_calc_pkg.f_sector_desc_a(:new.stock_code),
         lv_calc_pkg.f_sector_desc_e(:new.stock_code),
         lv_calc_pkg.f_selling_count (:NEW.stock_code),
         lv_calc_pkg.f_simple_avg_best_10_ofrs (:NEW.stock_code),
         lv_calc_pkg.f_simple_avg_best_10_rqst (:NEW.stock_code),
         lv_calc_pkg.f_simple_avg_best_5_ofrs (:NEW.stock_code),
         lv_calc_pkg.f_simple_avg_best_5_rqst (:NEW.stock_code),
         lv_calc_pkg.f_simple_avg_offers (:NEW.stock_code),
         lv_calc_pkg.f_simple_avg_rqst (:NEW.stock_code),
         lv_calc_pkg.f_stock_count (:NEW.stock_code),
         lv_calc_pkg.f_stock_desc_a(:new.stock_code),
         lv_calc_pkg.f_stock_desc_e(:new.stock_code),
         lv_calc_pkg.f_sum_less_10_offers,
         lv_calc_pkg.f_sum_less_10_rqst,
         lv_calc_pkg.f_sum_less_5_rqst,
         lv_calc_pkg.f_sum_offerst (:NEW.stock_code),
         lv_calc_pkg.f_sum_volume_traded (:NEW.stock_code),
         lv_calc_pkg.f_trx_count (:NEW.stock_code),
         lv_calc_pkg.f_sum_request (:NEW.stock_code),
         lv_calc_pkg.f_last_request_qty (:NEW.stock_code),
         lv_calc_pkg.f_last_offer_qty (:NEW.stock_code) );
    ELSIF stock_cur%FOUND THEN
         UPDATE lv_trade_summary
         SET the_time = :NEW.the_time,
         deals = :NEW.deals,
         price = :NEW.price,
         qty = :NEW.qty,
         trade_value = :NEW.trade_value,
         le_value = :NEW.le_value,
         buying = :NEW.buying,
         selling = :NEW.selling,
         rec_count = :NEW.rec_count,
         rec_serial = :NEW.rec_serial,
         buying_count = lv_calc_pkg.f_buying_count (:NEW.stock_code),
         close_price = lv_calc_pkg.f_close_price (:NEW.stock_code),
         coupon_value = lv_calc_pkg.f_coupon_value (:NEW.stock_code),
         currency = lv_calc_pkg.f_currency (:NEW.stock_code),
         dividend_yield_perc =
         lv_calc_pkg.f_dividend_yield_perc (:NEW.stock_code),
         hi_offer = lv_calc_pkg.f_hi_offer (:NEW.stock_code),
         hi_req = lv_calc_pkg.f_hi_request (:NEW.stock_code),
         hi_req_qty = lv_calc_pkg.f_hi_request_qty (:NEW.stock_code),
         last_offer = lv_calc_pkg.f_last_offer (:NEW.stock_code),
         last_request = lv_calc_pkg.f_last_request (:NEW.stock_code),
         last_trade_date = lv_calc_pkg.f_last_trade_date (:NEW.stock_code),
         less_offer = lv_calc_pkg.f_less_offer (:NEW.stock_code),
         less_offer_qty = lv_calc_pkg.f_less_offer_qty (:NEW.stock_code),
         less_request = lv_calc_pkg.f_less_request (:NEW.stock_code),
         liquid = lv_calc_pkg.f_liquid (:NEW.stock_code),
         off_count = lv_calc_pkg.f_off_count (:NEW.stock_code),
         prev_close = lv_calc_pkg.f_prev_close (:NEW.stock_code),
         prop_avg_ofr_10 =
         lv_calc_pkg.f_prop_avg_best_10_ofrs (:NEW.stock_code),
         prop_avg_rqst_10 =
         lv_calc_pkg.f_prop_avg_best_10_rqst (:NEW.stock_code),
         prop_avg_ofr_5 =
         lv_calc_pkg.f_prop_avg_best_5_ofrs (:NEW.stock_code),
         prop_avg_rqst_5 =
         lv_calc_pkg.f_prop_avg_best_5_rqst (:NEW.stock_code),
         prop_avg_offers = lv_calc_pkg.f_prop_avg_offers (:NEW.stock_code),
         prop_avg_rqst = lv_calc_pkg.f_prop_avg_rqst (:NEW.stock_code),
         req_count = lv_calc_pkg.f_req_count (:NEW.stock_code),
         rqst_to_offers = lv_calc_pkg.f_rqst_to_offers (:NEW.stock_code),
         sector_desc_a = lv_calc_pkg.f_sector_desc_a (:NEW.stock_code),
         sector_desc_e = lv_calc_pkg.f_sector_desc_e (:NEW.stock_code),
         selling_count = lv_calc_pkg.f_selling_count (:NEW.stock_code),
         simple_avg_ofrs_10 =
         lv_calc_pkg.f_simple_avg_best_10_ofrs (:NEW.stock_code),
         simple_avg_rqst_10 =
         lv_calc_pkg.f_simple_avg_best_10_rqst (:NEW.stock_code),
         simple_avg_ofr_5 =
         lv_calc_pkg.f_simple_avg_best_5_ofrs (:NEW.stock_code),
         simple_avg_rqst_5 =
         lv_calc_pkg.f_simple_avg_best_5_rqst (:NEW.stock_code),
         simple_avg_offers =
         lv_calc_pkg.f_simple_avg_offers (:NEW.stock_code),
         simple_avg_rqst = lv_calc_pkg.f_simple_avg_rqst (:NEW.stock_code),
         stock_count = lv_calc_pkg.f_stock_count (:NEW.stock_code),
         stock_desc_a = lv_calc_pkg.f_stock_desc_a (:NEW.stock_code),
         stock_desc_e = lv_calc_pkg.f_stock_desc_e (:NEW.stock_code),
         sum_less_ofr_10 = lv_calc_pkg.f_sum_less_10_offers,
         sum_less_rqst_10 = lv_calc_pkg.f_sum_less_10_rqst,
         sum_less_5_rqst = lv_calc_pkg.f_sum_less_5_rqst,
         sum_offer = lv_calc_pkg.f_sum_offerst (:NEW.stock_code),
         sum_volume_traded =
         lv_calc_pkg.f_sum_volume_traded (:NEW.stock_code),
         trx_count = lv_calc_pkg.f_trx_count (:NEW.stock_code),
         sum_request = lv_calc_pkg.f_sum_request (:NEW.stock_code),
         last_request_qty = lv_calc_pkg.f_last_request_qty (:NEW.stock_code),
         last_offer_qty = lv_calc_pkg.f_last_offer_qty (:NEW.stock_code)
         WHERE stock_code = :NEW.stock_code;
    END IF;
    lv_calc_pkg.p_orders_executed(:new.stock_code,:new.selling,:new.buying,:new.qty,:new.price);
    CLOSE stock_cur;
    END;

    Well, you can use merge statement or exception :
    CREATE OR REPLACE TRIGGER SE.LV_SUMMARY_TRADE_TR
    AFTER INSERT
    ON SE.LV_DAILY_TRADES
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
         BEGIN
              UPDATE lv_trade_summary
              SET the_time = :NEW.the_time,
              deals = :NEW.deals,
              price = :NEW.price,
              qty = :NEW.qty,
              trade_value = :NEW.trade_value,
              le_value = :NEW.le_value,
              buying = :NEW.buying,
              selling = :NEW.selling,
              rec_count = :NEW.rec_count,
              rec_serial = :NEW.rec_serial,
              buying_count = lv_calc_pkg.f_buying_count (:NEW.stock_code),
              close_price = lv_calc_pkg.f_close_price (:NEW.stock_code),
              coupon_value = lv_calc_pkg.f_coupon_value (:NEW.stock_code),
              currency = lv_calc_pkg.f_currency (:NEW.stock_code),
              dividend_yield_perc =
              lv_calc_pkg.f_dividend_yield_perc (:NEW.stock_code),
              hi_offer = lv_calc_pkg.f_hi_offer (:NEW.stock_code),
              hi_req = lv_calc_pkg.f_hi_request (:NEW.stock_code),
              hi_req_qty = lv_calc_pkg.f_hi_request_qty (:NEW.stock_code),
              last_offer = lv_calc_pkg.f_last_offer (:NEW.stock_code),
              last_request = lv_calc_pkg.f_last_request (:NEW.stock_code),
              last_trade_date = lv_calc_pkg.f_last_trade_date (:NEW.stock_code),
              less_offer = lv_calc_pkg.f_less_offer (:NEW.stock_code),
              less_offer_qty = lv_calc_pkg.f_less_offer_qty (:NEW.stock_code),
              less_request = lv_calc_pkg.f_less_request (:NEW.stock_code),
              liquid = lv_calc_pkg.f_liquid (:NEW.stock_code),
              off_count = lv_calc_pkg.f_off_count (:NEW.stock_code),
              prev_close = lv_calc_pkg.f_prev_close (:NEW.stock_code),
              prop_avg_ofr_10 =
              lv_calc_pkg.f_prop_avg_best_10_ofrs (:NEW.stock_code),
              prop_avg_rqst_10 =
              lv_calc_pkg.f_prop_avg_best_10_rqst (:NEW.stock_code),
              prop_avg_ofr_5 =
              lv_calc_pkg.f_prop_avg_best_5_ofrs (:NEW.stock_code),
              prop_avg_rqst_5 =
              lv_calc_pkg.f_prop_avg_best_5_rqst (:NEW.stock_code),
              prop_avg_offers = lv_calc_pkg.f_prop_avg_offers (:NEW.stock_code),
              prop_avg_rqst = lv_calc_pkg.f_prop_avg_rqst (:NEW.stock_code),
              req_count = lv_calc_pkg.f_req_count (:NEW.stock_code),
              rqst_to_offers = lv_calc_pkg.f_rqst_to_offers (:NEW.stock_code),
              sector_desc_a = lv_calc_pkg.f_sector_desc_a (:NEW.stock_code),
              sector_desc_e = lv_calc_pkg.f_sector_desc_e (:NEW.stock_code),
              selling_count = lv_calc_pkg.f_selling_count (:NEW.stock_code),
              simple_avg_ofrs_10 =
              lv_calc_pkg.f_simple_avg_best_10_ofrs (:NEW.stock_code),
              simple_avg_rqst_10 =
              lv_calc_pkg.f_simple_avg_best_10_rqst (:NEW.stock_code),
              simple_avg_ofr_5 =
              lv_calc_pkg.f_simple_avg_best_5_ofrs (:NEW.stock_code),
              simple_avg_rqst_5 =
              lv_calc_pkg.f_simple_avg_best_5_rqst (:NEW.stock_code),
              simple_avg_offers =
              lv_calc_pkg.f_simple_avg_offers (:NEW.stock_code),
              simple_avg_rqst = lv_calc_pkg.f_simple_avg_rqst (:NEW.stock_code),
              stock_count = lv_calc_pkg.f_stock_count (:NEW.stock_code),
              stock_desc_a = lv_calc_pkg.f_stock_desc_a (:NEW.stock_code),
              stock_desc_e = lv_calc_pkg.f_stock_desc_e (:NEW.stock_code),
              sum_less_ofr_10 = lv_calc_pkg.f_sum_less_10_offers,
              sum_less_rqst_10 = lv_calc_pkg.f_sum_less_10_rqst,
              sum_less_5_rqst = lv_calc_pkg.f_sum_less_5_rqst,
              sum_offer = lv_calc_pkg.f_sum_offerst (:NEW.stock_code),
              sum_volume_traded =
              lv_calc_pkg.f_sum_volume_traded (:NEW.stock_code),
              trx_count = lv_calc_pkg.f_trx_count (:NEW.stock_code),
              sum_request = lv_calc_pkg.f_sum_request (:NEW.stock_code),
              last_request_qty = lv_calc_pkg.f_last_request_qty (:NEW.stock_code),
              last_offer_qty = lv_calc_pkg.f_last_offer_qty (:NEW.stock_code)
              WHERE stock_code = :NEW.stock_code;
         EXCEPTION WHEN OTHERS THEN
              INSERT INTO lv_trade_summary(
              the_time,
              the_date,
              stock_code,
              stock_type_id,
              market_id,
              deals,
              price,
              qty,
              trade_value,
              le_value,
              buying,
              selling,
              rec_count,
              rec_serial,
              buying_count,
              close_price,
              coupon_value,
              currency,
              dividend_yield_perc,
              eps,
              free_stocks,
              hi_offer,
              hi_req,
              hi_req_qty,
              high_date,
              high_price,
              last_offer,
              last_request,
              last_trade_date,
              less_offer,
              less_offer_qty,
              less_request,
              liquid,
              low_date,
              low_price,
              market_cap,
              off_count,
              prev_close,
              prop_avg_ofr_10,
              prop_avg_rqst_10,
              prop_avg_ofr_5,
              prop_avg_rqst_5,
              prop_avg_offers,
              prop_avg_rqst,
              req_count,
              rqst_to_offers,
              sector_desc_a,
              sector_desc_e,
              selling_count,
              simple_avg_ofrs_10,
              simple_avg_rqst_10,
              simple_avg_ofr_5,
              simple_avg_rqst_5,
              simple_avg_offers,
              simple_avg_rqst,
              stock_count,
              stock_desc_a,
              stock_desc_e,
              sum_less_ofr_10,
              sum_less_rqst_10,
              sum_less_5_rqst,
              sum_offer,
              sum_volume_traded,
              trx_count,
              sum_request,
              last_request_qty,
              last_offer_qty )
              VALUES (
              :NEW.the_time,
              :NEW.the_date,
              :NEW.stock_code,
              :NEW.stock_type_id,
              :NEW.market_id,
              :NEW.deals,
              :NEW.price,
              :NEW.qty,
              :NEW.trade_value,
              :NEW.le_value,
              :NEW.buying,
              :NEW.selling,
              :NEW.rec_count,
              :NEW.rec_serial,
              lv_calc_pkg.f_buying_count (:NEW.stock_code),
              lv_calc_pkg.f_close_price (:NEW.stock_code),
              lv_calc_pkg.f_coupon_value (:NEW.stock_code),
              lv_calc_pkg.f_currency (:NEW.stock_code),
              lv_calc_pkg.f_dividend_yield_perc (:NEW.stock_code),
              lv_calc_pkg.f_eps (:NEW.stock_code),
              lv_calc_pkg.f_free_stocks (:NEW.stock_code),
              lv_calc_pkg.f_hi_offer (:NEW.stock_code),
              lv_calc_pkg.f_hi_request (:NEW.stock_code),
              lv_calc_pkg.f_hi_request_qty (:NEW.stock_code),
              lv_calc_pkg.F_HIGH_DATE (:new.stock_code),
              lv_calc_pkg.F_HIGH_price (:new.stock_code),
              lv_calc_pkg.f_last_offer (:NEW.stock_code),
              lv_calc_pkg.f_last_request (:NEW.stock_code),
              lv_calc_pkg. F_LAST_TRADE_DATE(:new.stock_code),
              lv_calc_pkg.f_less_offer (:NEW.stock_code),
              lv_calc_pkg.f_less_offer_qty (:NEW.stock_code),
              lv_calc_pkg.f_less_request (:NEW.stock_code),
              lv_calc_pkg.f_liquid (:NEW.stock_code),
              lv_calc_pkg.f_low_date(:new.stock_code),
              lv_calc_pkg.f_low_price(:new.stock_code),
              lv_calc_pkg.f_market_cap(:new.stock_code),
              lv_calc_pkg.f_off_count (:NEW.stock_code),
              lv_calc_pkg.f_prev_close (:NEW.stock_code),
              lv_calc_pkg.f_prop_avg_best_10_ofrs (:NEW.stock_code),
              lv_calc_pkg.f_prop_avg_best_10_rqst (:NEW.stock_code),
              lv_calc_pkg.f_prop_avg_best_5_ofrs (:NEW.stock_code),
              lv_calc_pkg.f_prop_avg_best_5_rqst (:NEW.stock_code),
              lv_calc_pkg.f_prop_avg_offers (:NEW.stock_code),
              lv_calc_pkg.f_prop_avg_rqst (:NEW.stock_code),
              lv_calc_pkg.f_req_count (:NEW.stock_code),
              lv_calc_pkg.f_rqst_to_offers (:NEW.stock_code),
              lv_calc_pkg.f_sector_desc_a(:new.stock_code),
              lv_calc_pkg.f_sector_desc_e(:new.stock_code),
              lv_calc_pkg.f_selling_count (:NEW.stock_code),
              lv_calc_pkg.f_simple_avg_best_10_ofrs (:NEW.stock_code),
              lv_calc_pkg.f_simple_avg_best_10_rqst (:NEW.stock_code),
              lv_calc_pkg.f_simple_avg_best_5_ofrs (:NEW.stock_code),
              lv_calc_pkg.f_simple_avg_best_5_rqst (:NEW.stock_code),
              lv_calc_pkg.f_simple_avg_offers (:NEW.stock_code),
              lv_calc_pkg.f_simple_avg_rqst (:NEW.stock_code),
              lv_calc_pkg.f_stock_count (:NEW.stock_code),
              lv_calc_pkg.f_stock_desc_a(:new.stock_code),
              lv_calc_pkg.f_stock_desc_e(:new.stock_code),
              lv_calc_pkg.f_sum_less_10_offers,
              lv_calc_pkg.f_sum_less_10_rqst,
              lv_calc_pkg.f_sum_less_5_rqst,
              lv_calc_pkg.f_sum_offerst (:NEW.stock_code),
              lv_calc_pkg.f_sum_volume_traded (:NEW.stock_code),
              lv_calc_pkg.f_trx_count (:NEW.stock_code),
              lv_calc_pkg.f_sum_request (:NEW.stock_code),
              lv_calc_pkg.f_last_request_qty (:NEW.stock_code),
              lv_calc_pkg.f_last_offer_qty (:NEW.stock_code) );
         END;
         lv_calc_pkg.p_orders_executed(:new.stock_code,:new.selling,:new.buying,:new.qty,:new.price);
    END;
    /Nicolas.

  • For Loop Will Not Execute

    I have been a software engineer for a number of years now, and thus far I have never come across any coding issues that truly merit a post such as this. Someone has almost always run across the issue before, so there is no need to reinvent the wheel, or solution as it were.
    However, a number of times I have run across instances where the JRE simply... does not execute parts of my code, and throws no exceptions.
    The sample code is a simple logging application, watered down to the bare minimum for the purposes of this forum:
    public class Log {
    public static void main(String[] args)    {Log log = new Log();}
    public Log() {Logger.log("Hello World");}
    import java.util.*;*
    import java.io.*;
    import java.text.SimpleDateFormat;
    public abstract class Logger {
    private static final int SIZE = 2;
    private static final SimpleDateFormat DAY = new SimpleDateFormat("EEEE");
    private static final String
      DIR = "logs/",
      EXT = ".log",
      FILTER = ".*log\\z",
      DNE = "DNE";
    private static int i,oldest;
    private static long previous = 0;
    private static FileFilter filter = new LogFilter();
    private static FileWriter out;
    private static File file,directory;
    private static File[] list;
    public synchronized static void log(String param) {
      try {
       directory = new File(DIR);
       file = new File(DIR + getDay() + EXT);
       list = directory.listFiles(filter);
       if (file.createNewFile()) {
        readOnly();
        reconcile();
       write(param);
      catch (Exception exception) {}
    private static void write(String param) throws Exception {
      out = new FileWriter(file, true);
      out.write(param);
      out.close();
    private static void readOnly() throws Exception {
      for (i=0;i<list.length;i++) {list.setReadOnly();}
    private static void reconcile() {
    try {
    previous = list[SIZE].lastModified();
    oldest = SIZE;
    for (i=SIZE;i<=0;i--) {
    if (list[i].lastModified() <= previous) {
    previous = list[i].lastModified();
    oldest = i;
    list[oldest].delete();
    catch (Exception exception) {System.out.println("Skipping reconciliation...");}
    private static String getDay() throws Exception {
    return DAY.format(Calendar.getInstance().getTime());
    private static class LogFilter implements FileFilter {
    public LogFilter() {}
    public boolean accept(File param) {
    try {
    if ((param.getName()).matches(FILTER)) {return true;}
    else {return false;}
    catch (Exception exception) {return false;}
    *The problem*:
    Ok, easy visual, this is the "log/" directory as I run the Log.java application repeatedly and iterate the date on my computer as I do so.
    Thursday
    *log/*
    +Thursday.log+
    Friday
    *log/*
    +Thursday.log+
    +Friday.log+
    Saturday
    *log/*
    +Thursday.log+
    +Friday.log+
    +Saturday.log+
    Sunday
    *log/*
    +Friday.log+
    +Saturday.log+
    +Sunday.log+
    Monday
    *log/*
    +Friday.log+
    +Saturday.log+
    +Monday.log+
    This is the point at which I go ???
    Turns out, the JRE skips the execution of my for loop in the *reconcile()* method when the date rolls over to Monday, and from then on it simply deletes the previous day's log instead of the oldest log.
    Why?  Who knows.
    Things I have tried:
    - Using another variable integer for the *readOnly()* method
    - Removing the synchronized keyword from the *log(String param)* method
    - Second call to *directory.listFiles(filter)* and setting *SIZE* to *3* after the old files have been set to read-only
    - Removing the call to *readOnly()*
    - Verified that the call to *readOnly()* does not alter the +modified+ date on the log files
    - Changed Logger.java from a +static+ class to a +local+ class
    Things I cannot do:
    This log application stores privy information about end-users at locations across the country in the event that there are support issues that need to be resolved, and the agreement is that we store this information no more than three days.  Just wanted to make sure, that the hopefully informed respondants to this issue, know that the obvious solution (storing seven day records), is unfortunately not available to me.
    Edited by: Threadstorm on Jan 8, 2009 8:24 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    HA! Most excellent. The last place I would ever look.
    Yes, seems like Java sorts the files in such a way that everything works fine without the loop until Monday rolls over.
    Now I can have a better appreciation for that second set of eyes.
    I use for loops so frequently that I never look at them (though I did stare at this one myself prior to this post, much to my chagrin now) but the subtracting iteration (which I use once in a blue moon) was necessary for the nature of the code.
    But ok, up and running! (whew) was going to be a long day until now.
    To answer your question though, the Logger is static so I don't have to pass it around to dozens and dozens of other modules but rather just include the package on the fly as I develop new modules that need to log information, and I like to write most mundane things myself if I can, that way I have the freedom to modify them at will.
    Thanks again! I'm now a happy camper once more.
    I'm also thankful that I don't have to chalk up another notch on the wall of cases where the JRE behaves magically and truly ignores code which I have definitely run into before. Something about listCellRenderers and the order of calls made to them, or some such and JRE doesn't read one of the lines. It's been a year or two.
    Edited by: Threadstorm on Jan 8, 2009 8:47 AM

  • SSIS Script task not executing macro through SQL Agent (but it does through bids)

    <p>Hello everyone,</p><p>I am having an issue with SQL Agent when executing a macro contained in a script task component. The script task actually opens an excel file, runs the macro, save and closes the file. </p><p>When
    I execute the package via BIDS/Visual studio, it works like a charm. However, when i execute the package with SQL agent, the package runs successfully but it seems that the macro is not executed as the excel file has not been modified as it should have. Also,
    the history log does not show any error messages. </p><p>Could </p>

    Thanks!I did create a credential and a proxy too but still the macro is not executed.I have searched online for solutions but no one has experimented this kind of issue before it seems. Please have a look at the script task code:
    Imports
    Excel = Microsoft.Office.Interop.Excel
    Imports
    System
    Imports
    System.Data
    Imports
    System.Math
    Imports
    Microsoft.SqlServer.Dts.Runtime
    <System.AddIn.AddIn(
    "ScriptMain", Version:="1.0",
    Publisher:="", Description:="")>
    <System.CLSCompliantAttribute(
    False)> _
    Partial
    Public
    Class ScriptMain
    Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
    Enum ScriptResults
    Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
    Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
    End
    Enum
    Public
    Sub Main()
    Dim Macro_name
    As
    String
    Dim ExcelObject
    As
    New Microsoft.Office.Interop.Excel.Application
    Dim oBook
    As Microsoft.Office.Interop.Excel.Workbook
    Dim oBooks
    As Microsoft.Office.Interop.Excel.Workbooks
    Try
    Macro_name =
    "Macro001"
    ExcelObject =
    CType(CreateObject("Excel.Application"),
    Excel.Application)
    ExcelObject.Visible =
    True
    ExcelObject.UserControl =
    False
    ExcelObject.DisplayAlerts =
    False
    oBooks = ExcelObject.Workbooks
    oBook =
    CType(oBooks.Open("C\Book1.xls"),
    Excel.WorkbookClass)
    ExcelObject.Run(Macro_name)
    Catch ex
    As Exception
    ExcelObject.Application.Quit()
    ExcelObject.DisplayAlerts =
    True
    ExcelObject =
    Nothing
    End
    Try
    Dts.TaskResult = ScriptResults.Success
    End
    Sub
    End
    Class

  • Error message "VI is not executable"! Need help with Application Builder

    Hello,
    I have a problem with an application, built with the Application Builder. I have read some threads about the problem I have, but I still don't know a solution.
    When I run my front panel from LabVIEW, everything is good. So, now I created an application (and an installer) to be able to run it on other PCs as well. This application does not work. Everytime I start it on my PC, I get the error "VI is not executable. ...". I read in several forums solutions for this error, but I cannot fix it! I've changed my properties for the builder, but with no success. Perhaps, anybody has more ideas, what's the problem.
    To get a better idea from my project, here a little description of it:
    In the block diagram there is a while loop which is continuously runned. In this loop I only set some properties for the layout of the front panel, such as decorations which will be hidden/shown and changes of colours of indicators... For the rest, it waits for a click on the button "Start" in the front panel. After that, a DLL is called to communicate with a USB device. Some measurements are carried out and the DLL is closed. I hope, you can get a global idea from my block diagram...
    I use LabVIEW 8.5, the DLL is a third-party DLL, which we wrote on our own. But I think the DLL works properly, if it is called from a C# application it works and it works, too, by calling it from LabVIEW when I am in development mode.
    It's a project for university and I'm just a beginner in LabVIEW, so I don't have so much experiences in it, but I think i improved my knowlegde about LabVIEW very well in the last weeks!
    So, i hope to get an answer soon (the deadline for the project is not soooo far away )
    If you need more information, please let it know...
    I would be very grateful if there is someone with a working solution...
    Kind regards from the Netherlands,
    Sebastian

    Sebastian,
    Your architecture makes it very difficult to debug this and other problems.  Does the error message mention which VI is causing the problem?  It is very important to wire your error clusters everywhere.  In LabVIEW, when a node throws an error (Error.Status = T), future nodes do not execute.  At the end, place an error cluster indicator that you can see on your front panel.  When an error posts, you can right click the indicator (even in a compiled application) and select "Explain Error".
    This is a start, but you really need to push this into a queued-state machine before this gets any more complicated.  As it were, if anything in your loop hangs, your whole application hangs.  See attached for a queued-message handler (not advisable for actual applications, but you get the point.  You would want to have a type defined enum in lieu of strings, and shared data between states differently, etc.)
    -Jason
    Message Edited by LabBEAN on 01-20-2009 08:36 AM
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs
    Attachments:
    State Machine.vi ‏18 KB

  • The process could not execute 'sp_repldone/sp_replcounters' error for Log Reader Agent and SQL Server Assertion 17066 & 3624 errors in SQL Logs

    One of our SQL Server started creating SQLDUMP file and and on investigation I found the error longs are filled with Errors 3624 & 17066. There is transnational replication configured on one of the databases is the LogReader Agent is failing error "The
    process could not execute 'sp_repldone/sp_replcounters' on XXXXX". 
    Not sure if both these Assertion & Logreader Agent errors are related. Before I remove and put the replication, I wanted to check if anyone has experienced the same issues or aware of what the cause. 
    ***********Error messages from SQL Logs******
    **Dump thread - spid = 0, EC = 0x0000000111534460
    Message
    A system assertion check has failed. Check the SQL Server error log for details. Typically, an assertion failure is caused by a software bug or data corruption. To check for database corruption, consider running DBCC CHECKDB. If you agreed to send dumps to
    Microsoft during setup, a mini dump will be sent to Microsoft. An update might be available from Microsoft in the latest Service Pack or in a QFE from Technical Support.
    Error: 3624, Severity: 20, State: 1.
    SQL Server Assertion: File: <logscan.cpp>, line=2123 Failed Assertion = 'UtilDbccIsInsideDbcc () || (m_ProxyLogMgr->GetPru ()->GetStartupState () < RecoveryUnit::Recovered)'. This error may be timing-related. If the error persists after rerunning
    the statement, use DBCC CHECKDB to check the database for structural integrity, or restart the server to ensure in-memory data structures are not corrupted.
    Error: 17066, Severity: 16, State: 1.
    External dump process return code 0x20000001.
    External dump process returned no errors.
    Thank you in advance.

    You need to determine if this error is a transient one or a show stopper one.
    It sounds like your log reader agent has crashed and can't continue.
    If so your best bet is to call Microsoft CSS and open a support incident.
    It also sounds like DBCC CHECKDB was running while the log reader agent crashed.
    If you need to get up and running again run sp_replrestart, but then you might find that replicated commands are not picked up. You will need to run a validation to determine if you need to reinitialize the entire publication or a single article.
    I have run into errors like this, but they tend to be transient, ie the log reader agent crashes, and on restart it works fine.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • Remote procedure call failed and did not execute response after changing contents

    Hey Hey!
    I have reviewed the other posts related to this issue but have not found a solution.
    I have done myself quite a mischief and hope someone here can help me out!
    I'm running an old ACER laptop with Windows 7. This PC belonged to an old colleague and therefore all of the folders and user names were still under his name, so I decided to try to change them all to my name. The main issue was the USER folder which had
    the locked symbol next to it but it wasn't locked at all. I googled how to delete this folder and one bright spark suggested I create a new folder with my name, copy all of the folders from the other 'locked' user's folder into my folder, and then delete the
    old user's folder. 
    That was fine. All seemed well. When I tried to delete the old folder the computer sat around thinking saying it was 'moving' but not doing anything. So, I cancelled the operation in the Task Manager. When I attempted to open any folder from the start menu
    or desktop or task bar I was presented with a bunch of numbers and letters and the message "REMOTE PROCEDURE CALL FAILED AND DID NOT EXECUTE."
    I quickly googled the message realising I'd made a major error and the first response was to type in services.msc or something to that effect, so I typed that into the Start Menu search bar and hit enter and nothing came up. So, I tried again, but now I
    couldn't type anything into the search bar, I could not even select any programs from the Start Menu. 
    So, I can't access the Start Menu, search bar, or any of the folders unless I open uTorrent, select open containing folder, and from there I can access what I need.
    I'm too afraid to reboot the PC. I can't locate my copy of Windows 7 anywhere. I'm freaking out!!
    Before I pour my lowly student wage into getting a professional to fix it, could someone please offer some suggestions??
    Greatly appreciated in advance. 
    Paris, Texas. 

    Hi,
    Based on your description, for this question is more related to NetQueryDisplayInformation() API, in order to get better help, we may ask for suggestions in the following MSDN forum.
    MSDN Forum
    https://social.msdn.microsoft.com/Forums/en-US/home
    Besides, we can try to use a script to get all domain users. Regarding this point, the following script can be referred to as reference.
    How to list all active directory users in a particular domain using PowerShell
    https://gallery.technet.microsoft.com/office/How-to-list-all-active-0d9be7ce
    In addition, for scripts, we can also ask for help in the following forum.
    The Official Scripting Guys Forum
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Best regards
    Frank Shen 

  • PO Response approval Work item is not executing from approver inbox.

    Hi,
    PO Response approval Work item is not executing from approver inbox. After click the approve button system is not showing any error and also work item is not clearing from user inbox. When we checked the status of the work item in SWI1 Transaction is still READY.
    Standard Task: TS14508055 - Transfer purchase order response data to purchase order
    Business Object: BUS2209
    Scenario:
    1. Create PO in SRM System, Vendor belongs to SUS System Vendor
    2. SUS Vendor creates the PO Response SUS system, POR Value is greater Than PO Value
    3. Approval Work item will go to Buyers of purchasing group
    4. Buyer trying to approving The PO Response from his approval inbox
    Regards,
    Surya Sankar

    what all buttons do you see when you open the workitem in the approval inbox.
    as far as i know , there will only button 'transfer response to purchase order'..
    what happens if you click the above button.

  • Why is VI not executable using Labview 7.1 Run-Time Engine?

    Hi,
    In our Teststand sequence, we have a Labview Action step which is returning an error: "The VI is not executable", along with the error code: -18002.
    This error occurs on a Production PC using the L.V. 7.1 Run-Time Engine.
    I'm aware of Mass Compiling to ensure all the VI's are the correct version, but this has not resolved the problem.
    The software was installed on the production PC using a Teststand created installer, with the Labview Adapter set
    correctly to the Run-Time Engine, i.e. not trying to open the Labview Developer Server to execute the step at run time.
    Because it's the 1st Labview module to be executed, I added another similar step to run beforehand, i.e. the new simple
    Labview code ran first. This executed correctly, but then the next step caused the error above.
    The small number of associated sub-vi's are on the target PC, and have been mass compiled.
    I've had -18002 errors before, but this is one I cannot cure.
    All suggestions gratefully received.
    Gary.

    Hi Guys,
    Regarding this -18002 error when using the Run Time Engine instead of the Development Environment, what is the VI within the step that is failing (in any of the cases you've mentioned) trying to do? Are they built around any toolkits?
    In my experiments with a simple VI (with just a user dialogue) using the LabVIEW 7.1 RTE in both TestStand 3.1 and 3.5 this morning, I haven't found any issues
    There is a possibility if any of the sub-VIs or toolkits you use contain a Merge Errors.vi, that the Run Time Engine picks up a copy of the VI built for previous versions of the RunTime Engine (due to the order in which the sub-VI directories are scanned), and it cannot convert it.
    There are a few solutions for this, the easiest one looks to be to copy the error.llb\Merge Errors.vi for LabVIEW 7.1 into the same directory as the VI you're calling (so TestStand can pick it up easily).
    Can you let me know if this solution helps at all? If not, would it be possible to post up any of the code or sequence you're having problems with?
    Best wishes,
    Mark
    Applications Engineer
    National Instruments

Maybe you are looking for