Series LOG (base 10)

Hi all

I'm embarrassed to ask this, but I know not all math, I used to know.  I want to create a series of N points of X to Y, with an increase of NEWSPAPER, and Yes, I implement it in LabVIEW (7.1, please post a picture instead of a VI if you want to see an example).  I started with LOG(Y/X)/n and adding tried various additions, multiplications, etc. but I can't understand this.  Would be it someone please let me know the correct calculation?  Thank you!

Michael Tracy

Synergy microwave

Tags: NI Software

Similar Questions

  • Series R FPGA, calculate log base 10 number > = 1

    Hi all

    I'm stuck on a problem with the calculation of a log base 10 of a number greater than 1.  It seems that natural logarithm in the high throughput math library is limited to the range of 1/1.  There must be others who need to work outside this range - how do we?

    Thank you

    George

    Hey gharris,.

    The only way I know to do this is through lookup tables.

    You want to probably use BlockRAM and use VI initialization, as described here. You also have a table of logarithms, which covers the range that you expect to encounter. For values outside of your table, you'll need to interpolate.

    To get this right for your application may take a bit of tweaking, especially if you have a tight deadline or a need for high precision.

  • Calculation of log base 2 of 35 s new

    I would like to calculate the necessary resolution for an ADC with analog input will accept a +/-10V swing with a background noise of 0.4mV. The counties of RMS are 20.0V/0.0004V = 50 000 points - just easy. To set the 50 000 RMS number of bits is: bits = log2 (50,000). How can I make my new imagination 35 s to calculate log base 2 of 50 000? Help is appreciated - thanks.

    Hello

    To calculate LOG2(A) use LOG (A) / log (2) or LN (A) /LN (2).

    Here is a program to do this (run in RPN mode):

    To use, type number and XEQ, then, ENTERED.

    HTH

  • Javascript EA - calculate log() base 10?


    I am writing an algorithm to calculate the value and the graduations on the y-axis of a dynamic chart.

    For the calculation, the cleanest way, I need to be able to calculate a log() with a base of 10.

    JavaScript has a logarithmic base-10 - Math.log10 - function as a constant - Math.LN10 - and to open a session can be calculated for any base - Math.log (number, base). Unfortunately, none of them seem to work in version Edge lead CC of javascript.

    Can someone tell me how to get the log of a number in base 10 on board animate CC?

    TIA,

    Carolyn

    You should have regular access to all javascript mathematical functions on the edge. I tried the ones you mention and they return the correct values. Outside Math.log (number, base) which I have never seen elsewhere. The following should work as well:

    function getBaseLog (num, base) {}

    return Math.log (y) / Math.log (x);

    }

    Math.log - JavaScript | DND

    There may be another error in your code - what results you get if you write in the console?

  • vmware var log base file

    Hello

    Trying to do a cleaning on our box ESX3.  There are a lot of old log files accumulate so we removed most of them.  Can someone explain the "core" file/s in/var/log/vmware /?  There are much more like core.1234, core.8793 etc and we are not really sure what they are since then, except that they were 2007 unlike the one below;

    # ls - lh, / var/log/vmware

    total of 206 M

    -rw - 1 root root 163M 13 April 2009 core

    service console core dumps unannounced? You can remove...

    Duncan

    VMware communities user moderator | VCP | VCDX

    -

  • SQL and Log!

    Hi all
    I am facing problem in the calculation of LOG base 2 for 0.33

    I used this
     
    select log(0.33,2) from dual;
    the results that showe me is
    -0.62521
    but the correct answer is
    -1.58
    y at - it an idea.

    Thank you very much
    Isabelle

    Hi, Isabelle,

    Isabelle wrote:
    Hi all
    I am facing problem in the calculation of LOG base 2 for 0.33

    Whenever you have a problem with a built-in function, check the Manual of the SQL language to know if you uisng it correctly. I find certain features not intuitive.

    I used this

    
    select log(0.33,2) from dual;
    

    The first argument of JOURNAL is the basis. I think you have the opposite arguments.

    the results that showe me is

    -0.62521
    

    but the correct answer is

    -1.58
    

    Do you mean - 1.5994621...? (Remember,.33 is not quite equal to 1/3).

    y at - it an idea.

    Try

    LOG (2, .33)
    

    or

    LOG (2, 1/3)
    
  • Generate the log file for the dialog box

    Hi all


    I'm generating information for the dialog box as a .txt log file format. That means that if the box is checked, the log file will be give ' checkbox1 - 01.»   Check the report, sizes against the information on tickets and slug jobs"is checked


    If the checkbox is not checked, the log file will be give ' checkbox1 - 01.»   Check the report, sizes against ticket and slug information on employment"is not checked


    and also the entry "myText2" also needs to generate the log file


    Can someone help on this... Help would be appreciated!



    var l is new window ('dialogue');.

    myGroup1 var = w.add ("panel", undefined, ' P & & G check the list ');

    myGroup1.alignChildren = 'left ';

    CheckBox1 var = myGroup1.add ("checkbox", not defined, '01.   (Check the ratio, size against the information on tickets and slug jobs");

    CheckBox2 var = myGroup1.add ("checkbox", not defined, '02.   "" "Check images are linked");

    var checkbox3 = myGroup1.add ("checkbox", not defined, '03.   Visually check the progress of KV/model/CP images");

    var checkbox4 = myGroup1.add ("checkbox", not defined, '04.   Visually check the progress of other elements such as Logo and bottle");

    var checkbox5 = myGroup1.add ("checkbox", not defined, '05.   Check the positioning of the markup language");

    var checkbox6 = myGroup1.add ("checkbox", not defined, '06.   Ensure that all measures are calculated Live based area");

    var checkbox7 = myGroup1.add ("checkbox", not defined, '07.   After that the resizing of the picture KV frame open to cut and bleed");

    var checkbox8 = myGroup1.add ("checkbox", not defined, '08.   Complete Magenta if there is insufficient image');

    var checkbox9 = myGroup1.add ("checkbox", not defined, '09.   ("To ensure that the document's bleed, crop gutter and slug information brands ');

    var checkbox10 = myGroup1.add ("checkbox", not defined, '10.   Make sure that the final work is updated on the server");

    var checkbox11 = myGroup1.add ("checkbox", not defined, '11.   ("Enter time cmd");

    var myGroup2 = w.add ('panel', undefined, 'The operator name');

    var myText2 = myGroup2.add ("edittext", undefined, "");

    myText2.characters = 25;

    myGroup2.orientation = 'left ';

    var buttons = w.add ("group");

    Buttons.Add ('button', undefined, 'Export to PDF', {name: 'ok'});

    Buttons.Add ('button', undefined, 'Cancel');

    w.Show ();

    ~ group();

    ~ If (myGroup1.alignChildren.value! = true) {}

    ~ alert ('yes')

    //~ }


    myDoc = app.activeDocument;

    w = [];


    DESCRIPTION: Make a TXT file

    myDoc = app.activeDocument;

    Log1 = makeLogFile (app.activeDocument.name.split('.') ([0], myDoc, true);

    log (log1, app.activeDocument.name);

    ~ log2 = makeLogFile ("test", myDoc, false);

    ~ Journal (log2, "Text file log base 2");

    Log1. Execute();

    ~ log2.execute ();

    function makeLogFile (aName, aDoc, deleteIt) {}

    var logLoc; path to the folder that will contain the log file

    try {}

    logLoc = aDoc.filePath;

    } catch (e) {}

    logLoc = getmyDoc (). parent.fsName

    }

    var queue = aFile (logLoc + "/" + name + ".txt");

    If {(deleteIt)

    aFile.remove ();

    return aFile;

    }

    var n = 1;

    so that {(aFile.exists)

    aFile = File (logLoc + "/" + String (n) + ".txt" aName);

    n ++

    }

    return aFile

    }

    function getScriptPath() {}

    try {}

    Return app.activeScript;

    } catch (e) {}

    Return File (e.fileName);

    }

    }

    function log (aFile, message) {}

    var today = new Date();

    If (! aFile.exists) {}

    do the new log file

    aFile.open ("w");

    aFile.write (String (today) + "\n");

    aFile.close ();

    }

    }

    function log (aFile, message) {}

    var text = o;

    If (! aFile.exists) {}

    do the new log file

    aFile.open ("w");

    aFile.write (message + "\n" + "\n" + String (w) + "\n");

    aFile.close ();

    }

    ~ aFile.open ("e");

    ~ aFile.seek (0.2);

    ~ aFile.write ("\n" + message);

    ~ aFile.close ();

    }

    myDoc.close (SaveOptions.no);

    Thanks in advance

    Steve

    Hi Steve,.

    There are some errors in your code.

    1. function 'getmyDoc' is used, but not created.
    2. fucntion 'getScriptPath' is created but not used. (In any case, this will not give you error)
    3. function 'journal' has defined two times with the same length of the parameter.

    etc...

    Here, I have modified your code. Try this.

    var w = new Window ("dialog");
    var myGroup1 = w.add('panel', undefined, 'P&&G Check List');
    myGroup1.alignChildren = "left";
    var checkbox1 = myGroup1.add ("checkbox", undefined, "  01.  Check the ratio, sizes against job ticket and slug information");
    var checkbox2 = myGroup1.add ("checkbox", undefined, "  02.  Check images are linked");
    var checkbox3 = myGroup1.add ("checkbox", undefined, "  03.  Visually check the progression of KV/Model/CP images");
    var checkbox4 = myGroup1.add ("checkbox", undefined, "  04.  Visually check the progression of other elements like Logo and Bottle");
    var checkbox5 = myGroup1.add ("checkbox", undefined, "  05.  Check the placement of Language Tagging");
    var checkbox6 = myGroup1.add ("checkbox", undefined, "  06.  Ensure that all measurements are calculated based on Live area");
    var checkbox7 = myGroup1.add ("checkbox", undefined, "  07.  After resizing the KV image frame opened up to trim and bleed");
    var checkbox8 = myGroup1.add ("checkbox", undefined, "  08.  Fill Magenta if there is inadequate image");
    var checkbox9 = myGroup1.add ("checkbox", undefined, "  09.  Ensure the document has bleed, crop marks, gutter marks and slug information");
    var checkbox10 = myGroup1.add ("checkbox", undefined, "  10.  Ensure the final artwork is updated in the Server");
    var checkbox11 = myGroup1.add ("checkbox", undefined, "  11.  Enter time in CMD");
    var myGroup2 = w.add('panel', undefined, ' Operator Name');
    var myText2 = myGroup2.add("edittext", undefined, "");
    myText2.characters = 25;
    myGroup2.orientation = "left";
    var buttons = w.add ("group");
    buttons.add ("button", undefined, "Export PDF", {name: "ok"});
    buttons.add ("button", undefined, "Cancel");
    w.show ();
    myDoc = app.activeDocument;
    log1 = makeLogFile(app.activeDocument.name.split('.')[0], myDoc, true);
    log(log1, app.activeDocument.name);
    log1.execute();
    function makeLogFile(aName, aDoc, deleteIt)
    {
        var logLoc = "";
        try
        {
            logLoc = aDoc.filePath;
            } catch (e) {}
        var aFile = File(logLoc + "/" + aName + ".txt");
        var n = 1;
        while (aFile.exists)
        {
            aFile = File(logLoc + "/" + aName + String(n) + ".txt");
            n++;
            }
        return aFile
        }
    function log(aFile, message)
    {
        var text = w;
        var rep = "";
        if (!aFile.exists)
        {
            aFile.open("w");
            var today = new Date();
            rep += String(today) + "\n";
            rep += message + "\n" + "\n\n";
            for(var i =0;i
    

    Kind regards

    Cognet

  • HP OfficeJet 7510 G3J47A: Problem drivers with OfficeJet 7510 G3J47A unsupported operating system and driver universal NOK

    try to install the driver for HP OfficeJet 7510 G3J47A on Windows 2008 32-bit server with the file "HP OfficeJet series 7510 base driver - OJ7510_Basicx86_72" or "HP 7510 series OfficeJet full feature software and drivers - OJ7510_72" on HP site where I chose the version windows Server2008. I have the message "Unsupported OS Version".

    If I try to use the universal driver, I get several pages with "printing language.

    I have the driver version mischoose? The G3J47A is compatible with the universal driver?

    Hello

    The printer is not supported by the HP UPD (universal print driver), it is a printer PCL3 and UPD support PCL 6 and PostScript printers only.

    You should not install the printer on a server by following a standard installation, these must be performed through the command line.

    Year annual can use the OJ7510_Basicx86_72 or OJ7510_72 file, but it must be extracted and installed by following the steps listed in the "Customize installation" section below:

    http://support.HP.com/us-en/product/HP-OfficeJet-7510-wide-format-all-in-one-printer-series/7127198/model/7127199/document/c03351547/

    Kind regards

    Shlomi

  • Synchronization with Serial read/write problems. can not get the functionality of the terminal emulator

    Hello

    I am writing a VI to control PWM with a microcontroller via a serial port. I wrote a simple code for the microcontroller that allows me to set the ratio of duty cycle on a scale of 0-65535. It works very well with Termite of Compuphase (RS-232 plug); The microcontroller invited me to an entry, expected that I would one, updates and expected another entry when I decided to send him. Now, I'm trying to get the same functionality on a LabVIEW vi but hit a snag.

    When I tried to send my orders with a series read base and an example of writing, everything worked fine. I could see the prompt entry, write an entry and if I was quick enough, check out the update message. Even when I was not fast enough, I was able to check the update by monitoring the PWM pin with a Logic Analyzer. The problem with the basic example, however, is that I need to update the report to aura cyclical ratio, so I went for an example of reading continues writing. The problem I've met; is that I have to switch between reading and writing to make it work. When I do that, either I don't hold write it down long enough and nothing happens, or I get several updates when I switch to reading. Some of these updates don't even match and produce updates to defective upgrades for example; 16000 16000, 16000, 16000, 6000, 600, 60, 16000, 1600, 60, 0, 0, 0, 16000, 60, 0, 0 etc.

    I tried which allows characters of endpoint in the hope that the writing would end at the end and go to reading where he would receive a termination character and wait for me allow writing once again, but nothing helped. I still have to alternate between the two and either get no response on reading several updates of variable accuracy. I tried to remove her allows read/write and their structures of matter in the hope that the loop flow, associated with the characters of endpoint would the case, but then the updates don't register at all. The funny thing is I did a VI like this before with an Arduino and that there not even no need to switch between writing and reading (I'm now using a Board of Freescale FRDM).

    I was also the frequency of timeout errors; Error-1073807339 at VISA Read, reason Possible: VISA Hex 0xBFFF0015. I removed the option to stop the while loop if there is an error so I can run but always pops up an error on the judgment occasionally. Could the problem of synchronization always cause me problems?

    Would appreciate all advice really, I am providing my slightly modified example screws and can provide the code for microcontroller on request, even if it's very simple.

    Thanks in advance, it is
    Yusif Nurizade

    In other words, frankly, a good bad example you according to your code. Also, you have the order of writing and read upside down in your amendment if the instrument requires a command to return something. It should really be using a structure of the event. The structure of the event around a write and read and use a value change event. I have attached a quick change. This mod is still a reading after writing. If necessary, you may have two separate events to write and read.

  • Pavilion 15-E078EA: spare parts

    I have a 15-e078ea Pavilion, product = E9J38EA #ABU [personal information]

    Model United Kingdom

    I need a new cover of base, but cannot find the part number or replacement parts

    Can someone advise me on parts, order and fresh numbers please

    Thank you very much

    Here is the Manual:

    Repair manuals

    See page 20 for exploded diagram and I assume you mean, you need the #16 diagram part or:

    Attachment (including the 4 rubber feet, latch release battery, battery latch and cover of RJ - 45) the base of 719866-001

    This is a great seller on eBay. I buy from them me occasionally:

    http://www.eBay.ca/ITM/genuine-HP-Pavilion-15-series-bottom-base-719866-001-37R65TP003A-/171610197251?hash=item27f4c3cd03:g:xesAAOSwiYFXFTDy

    The price is much less than what it would be on HP Partsurfer.

    I also found on amazon.com Canada, but for 90 Canadian dollars.

    https://www.Amazon.ca/base-enclosure-wuthout-DC-cone/DP/B00GHD5Z2W/ref=sr_1_1?ie=UTF8&QID=1464718888&SR=8-1&keywords=719866-001

    Any other questions? After the return.

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • DeskJet 3050 a scan button a: 3050 - can't scan button scan printer

    Hello!

    I'm unable to scan using the scan on the printer via Wifi button. I get the message not found computer. Ensure that the HP software has been installed on the computer.

    I was printing fine, but I just downloaded the latest version of the software and I have now installed the following:

    HP Deskjet 3050 J611 series a base Device Software - 28.0.1315.0

    HP Deskjet 3050 a J611 series help 140.0.2.2

    HP Support Assistant - 8.4.10.3

    HP - 5.005.005.002 update

    I can scan my PC using the Scan function via the HP AiO application, but it's a pain to have to keep walking printer scanner and vice versa.

    (One more thing if anyone knows - is in any way the software will be incremently save the file name of the analysis - whenever I touched except that I have to give it a new name, and it would be easier if it automatically names the files Doc1, Doc2...)

    Thank you!

    Simon

    @MonkeyButler

    Assuming that you have tried the basics > Download Full Feature Software > delete old program > restart > install full feature software > restart

    then

    sometimes updates may interfere with the setting enable scan-to-PC

    The following can be useful - when you are satisfied with the installation of the printer software, consult the section: Scan to PC App Enable

    Printer:

    HP Deskjet 3050 has e-All-in-One Printer - J611a

    Full software features:

  • Cisco IOS IPS in router 2921/k9

    Hi all

    I have a router from Cisco 2921 box database (error C2921/K9) series with BAse IP IOS (IOS SL-29-IPB-K9) image. I want to activate the function of IOS IPS level on this router now. Based on the Cisco Document, I found that I need to purchase a license additional subscripton enale the IPS feature. My querry is-

    It will build on the IOS for basic IP base or do I have to change the IOS?

    If I need to buy the Licesne subscription, how can I get the part number and the cost for the same thing?

    Do I need to purchase any additional module for this as (NME-IPS-K9)?

    Thanks in advance for your quick help

    concerning

    Sunny

    Hi Sunny,

    You do not need a module (however you might install a module instead function in IOS IPS).

    You need 2 licenses:

    1 - a 'security' for your 2921 license enable the IPS feature:

    SL-29-SEC-K9

    License security (paper) for Cisco 2901-2951 (the two system & spare)

    (if you don't have a router, but you can order it with the license as a Pack: CISCO2921-SEC/K9)

    2 - a signature subscription license, which is part of a contract of "services to SPI.

    A "services for IPS" is essentially a SmartNet contract (including the replacement of equipment, to the TAC, etc) more access to the update of the signature.

    SKU for that start with CON-SU or CON - SUO and depends on what level of service for the replacement of HW, and if you want a replacement service on the spot.

    for example CON - SU1 - 2921SEC - this includes a SMARTnet agreement with 8x5xNBD without on-site intervention

    For more information:

    http://www.Cisco.com/en/us/prod/collateral/modules/ps10598/ordering_guide_c07_557736_ps10538_Products_Data_Sheet.html#wp9000630

    http://www.Cisco.com/en/us/prod/collateral/iosswrel/ps6537/ps6586/ps6634/product_data_sheet0900aecd803137cf.html

    http://www.Cisco.com/en/us/products/ps6076/serv_group_home.html

    WARNING: I'm not in the sale so you can check with your local sales office or with a partner of Cisco, Cisco. In fact, some partners may offer a signature subscription service that is clean (without cover material).

    HTH

    Herbert

  • How to select Records databases on a group

    Have a nice day together.

    I have two tables and their records are inserted as below.

    1. CREATE THE INVOICE_HEADER TABLE (INVOICE_NUMBER NUMBER (6), VAT_INDICATOR CHAR (1));

    insert into invoice_header values('000001','E');

    2. CREATE THE INVOICE_SELECTOR TABLE (INVOICE_NUMBER NUMBER (6), INVICE_LINE VARCHAR2 (3), APPROVED_INDICATOR CHAR (1));

    insert into invoice_selector values('000001','A00','Y');

    insert into invoice_selector values('000001','B00','N');

    Now, I want to show the invoice_number '000001' only if the approved flag is set to 'Y' for the two invoice lines.  If one of the two has the value "n" while the header should not be recovered.


    I tried this using pl/sql. But do I know what a concept I'd be familiar in SQL. I am pleased that those who are interested in helping.



    Thank you

    Mohammed


    Set serveroutput on;

    declare

    flag_set VARCHAR2 (1);

    Start

    FOR (IN) logi

    Select inh.invoice_number in the inh invoice_header join invoice_selector ivs

    We inh.invoice_number = ivs.invoice_number)

    loop

    for log base 2 in (select INVICE_LINE from the invoice_selector where invoice_number = logi.invoice_number)

    loop

    If (log2.invice_line = 'Y') then

    flag_set: = 'Y ';

    -dbms_output.put_line ("No Found Bill" | logi.invoice_number);

    on the other

    -dbms_output.put_line ("Found Bill" | logi.invoice_number);

    flag_set: = 'n';

    end if;

    end loop;

    end loop;

    If flag_set = "Y" then

    dbms_output.put_line ('valid invoice");

    on the other

    dbms_output.put_line ('invalid invoice");

    end if;

    end;


    Select * from invoice_header:

    where there is not (select null to s invoice_selector

    where s.invoice_number = h.invoice_number

    and (s.approved_indicator! = 'Y' or s.approved_indicator is null))

  • When the Jepp is most engaged when HT is enabled?

    Hello!

    Let's say I have a lot of 4.0u3 ESX with below spec:

    4 cpu sockets x 6 cores per socket = 24 physical cores

    with HT active gives me 48 logical processors

    Now I have 23 virtual machines running on this host configured with 2vcpu each vcpu 46 =.

    Have I already overcommitted to the physical processor?

    I read a lot of articles that concludes that it HT would give me an average of only around 10 - 20% performance increase and found an article which States that the number of logical processors (with HT enabled) is considered to be a number of Jepp in host... Don't really understand why people feel this way...

    I think that it should be considered as Jepp = number of carrots and HT active physics can just help ESX to deal with overcommittement.

    What is your opinion on this and far would you go to the deployment of the virtual machine in this situation?

    Let's say vm host different services such as sql, Exchange cases, the blackberry, the application servers that are occasionally used for complilations, Terminal servers, etc..

    Thanks in advance!

    Upgrade to vSphere 4.1 or 5.0 for the better planning of the SMP...

    That said, since you are indicating 6 cores and 12-son (4 x 12 = 48), you have a Xeon E7200 processor. If you analyze the results of VMware VMmark 2 comparing single thread by the Basic with MTS results results you should find a number of scaling of the order of 1.6 to 1.8. That tells me you get a 60 to 80 per cent increase in the planning and execution of performance for the 'typical' application profiles defined by VMmark.

    Doesn't mean for criticism CPU intensive workloads (i.e. where your workloads of coresident are all stressing / demaning 50% + CPU utilization) that you will continue to evolve in this range. It is pretty well proven for CPU utilization volumes of work (static as opposed to sharp), so you can disable SMT (your average boost of 10 to 20% - some workloads show negative results). However, if you push the difficult CPU usage, you are - as you say - overcommitting your CPU resources.

    It's a matter of angle for loads of the company the most/typical where you are on average 15-20% CPU (for example, the virtualized OS) use that case, you're probably very well and NOT too committed using SMT to deliver vCPU to your workloads. If you are hosting the applications that you have indicated on the same platform, you're most likely going to run into bottlenecks from storage until you hit limits of CPU. IOPS / s shared is generally much more expensive than carrots, scaling of computation is relatively cheap in comparison.

    Suffice it to say, if I were to create a revenue model hosted, I ignore the 'benefits' of SMT in this calculation and the loading on carrots of strict (i.e. without SMT Xeon or Opteron 6200 series mail) base. I would, too, the model of income offset based platform vCPU and vRAM large resources (as opposed to users) to discourage the provision of waste. The same internal models ' chargeback' of interdepartmental billing.

  • How to manage the connection failure of network at the service of bussiness on OSB

    Hello everyone.

    Thank you for your attentions. I need help with the error handling in the OSB 11 g. I have a proxy that road to a business service to check the status of the service profile. I use the java client to use the proxy service and return the results to clients. The problem that I am facing manipulation is failure of the network connection.

    I want to get some message (or any useful information) of proxy service to indicate that the connection to the business service is not available when the connection fails. I tried to add the management of errors, but I can't found the action from the list of options.

    Can you review my proxy service and tell me some resolutions?
    Any suggestion is appreciated.

    I thank in advance
    <?xml version="1.0" encoding="UTF-8"?>
    <xml-fragment xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:env="http://www.bea.com/wli/config/env" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://www.bea.com/wli/sb/pipeline/config" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:con2="http://www.bea.com/wli/sb/stages/config" xmlns:con3="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con4="http://www.bea.com/wli/sb/stages/logging/config">
      <ser:coreEntry isProxy="true" isEnabled="true">
        <ser:binding type="SOAP" isSoap12="false" xsi:type="con5:SoapBindingType" xmlns:con5="http://www.bea.com/wli/sb/services/bindings/config">
          <con5:wsdl ref="Test/resources/wsdl/PortalSide"/>
          <con5:port>
            <con5:name>PortalSideSOAP</con5:name>
            <con5:namespace>http://www.example.org/PortalSide/</con5:namespace>
          </con5:port>
          <con5:selector type="SOAP body"/>
          <con5:WSI-compliant>false</con5:WSI-compliant>
        </ser:binding>
        <ser:monitoring isEnabled="false">
          <ser:aggregationInterval>10</ser:aggregationInterval>
          <ser:pipelineMonitoringLevel>Pipeline</ser:pipelineMonitoringLevel>
        </ser:monitoring>
        <ser:reporting>true</ser:reporting>
        <ser:logging isEnabled="true">
          <ser:logLevel>debug</ser:logLevel>
        </ser:logging>
        <ser:sla-alerting isEnabled="true">
          <ser:alertLevel>normal</ser:alertLevel>
        </ser:sla-alerting>
        <ser:pipeline-alerting isEnabled="true">
          <ser:alertLevel>normal</ser:alertLevel>
        </ser:pipeline-alerting>
        <ser:ws-policy>
          <ser:binding-mode>wsdl-policy-attachments</ser:binding-mode>
        </ser:ws-policy>
      </ser:coreEntry>
      <ser:endpointConfig>
        <tran:provider-id>http</tran:provider-id>
        <tran:inbound>true</tran:inbound>
        <tran:URI>
          <env:value>/Test/proxy-services/DnICT_WSDL_PS</env:value>
        </tran:URI>
        <tran:inbound-properties/>
        <tran:all-headers>false</tran:all-headers>
        <tran:provider-specific>
          <http:inbound-properties/>
        </tran:provider-specific>
      </ser:endpointConfig>
      <ser:router>
        <con:pipeline type="request" name="GetRequestInfo_pipeline_pair_request">
          <con:stage name="InputProcess_stage">
            <con:context>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide_Test/" prefix="por1"/>
              <con2:varNsDecl namespace="http://www.example.org/OutputSchema" prefix="out"/>
            </con:context>
            <con:actions>
              <con1:assign varName="docId">
                <con2:id>_ActionId-2456490176600649155--723117a.130d7d91065.-7b86</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/documentId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
              <con1:assign varName="depId">
                <con2:id>_ActionId-2456490176600649155--723117a.130d7d91065.-7b69</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/departmentId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
              <con1:assign varName="srvId">
                <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7d41</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/serviceId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
            </con:actions>
          </con:stage>
        </con:pipeline>
        <con:pipeline type="response" name="GetRequestInfo_pipeline_pair_response">
          <con:stage name="ErrorHandling">
            <con:context/>
            <con:actions/>
          </con:stage>
        </con:pipeline>
        <con:flow>
          <con:pipeline-node name="GetRequestInfo_pipeline_pair">
            <con:comment>Lay cac thong tin trong form search</con:comment>
            <con:request>GetRequestInfo_pipeline_pair_request</con:request>
            <con:response>GetRequestInfo_pipeline_pair_response</con:response>
          </con:pipeline-node>
          <con:branch-node type="condition" name="branching_public_services">
            <con:context>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
            </con:context>
            <con:branch-table variable="depId">
              <con:branch name="SoTTTT">
                <con:operator>equals</con:operator>
                <con:value>1</con:value>
                <con:flow>
                  <con:branch-node type="condition" name="DnICT_dept_services">
                    <con:context/>
                    <con:branch-table variable="srvId">
                      <con:branch name="DichVu_1">
                        <con:operator>equals</con:operator>
                        <con:value>1</con:value>
                        <con:flow>
                          <con:route-node name="RouteToDnICT_BS">
                            <con:context>
                              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
                              <con2:varNsDecl namespace="http://www.example.org/PortalSide_Test/" prefix="por1"/>
                              <con2:varNsDecl namespace="http://www.example.org/OutputSchema" prefix="out"/>
                            </con:context>
                            <con:actions>
                              <con3:route>
                                <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4c</con2:id>
                                <con3:service ref="Test/busines-services/DnictServiceBS" xsi:type="ref:BusinessServiceRef" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
                                <con3:operation>selecttrangthai</con3:operation>
                                <con3:outboundTransform>
                                  <con1:assign varName="username">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4b</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText>fn:string('stttt')</con2:xqueryText>
                                    </con1:expr>
                                  </con1:assign>
                                  <con1:assign varName="password">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4a</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText>fn:string('123456')</con2:xqueryText>
                                    </con1:expr>
                                  </con1:assign>
                                  <con1:replace contents-only="true" varName="body">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b49</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText><![CDATA[<soap:selecttrangthai       xmlns:soap="http://soapinterop.org/">
         <username       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$username}</username>
         <password       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$password}</password>
         <masohoso       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$docId}</masohoso>
    </soap:selecttrangthai>]]></con2:xqueryText>
                                    </con1:expr>
                                  </con1:replace>
                                </con3:outboundTransform>
                                <con3:responseTransform/>
                              </con3:route>
                            </con:actions>
                          </con:route-node>
                        </con:flow>
                      </con:branch>
                      <con:default-branch>
                        <con:flow/>
                      </con:default-branch>
                    </con:branch-table>
                  </con:branch-node>
                </con:flow>
              </con:branch>
              <con:branch name="SoGTVT">
                <con:operator>equals</con:operator>
                <con:value>2</con:value>
                <con:flow/>
              </con:branch>
              <con:default-branch>
                <con:flow/>
              </con:default-branch>
            </con:branch-table>
          </con:branch-node>
        </con:flow>
      </ser:router>
    </xml-fragment>
    P/S:

    When the connection to the business service is failure, I received this SOAP message:
    <soapenv:Envelope       xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>BEA-380002: No route to host</faultstring>
         <detail>
         <con:fault       xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-380002</con:errorCode>
         <con:reason>No route to host</con:reason>
         <con:location>
         <con:node>RouteToDnICT_BS</con:node>
         <con:path>request-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>
    Kind regards.
    CUONG Pham

    Published by: Doubt_Man on July 28, 2011 10:26

    You can add an error on the route action handler in your proxy service.

    you could investigate the $fault variable and check example what errorcode BEA... comes back.
    Then, you can decide what to answer in return... for example, create your own SOAP-fault and set your own messages.

    now the default $fault value generated by the OSB will be get back

    http://www.xenta.nl/Blog/2010/07/17/Oracle-service-bus-11g-handling-SOAP-faults/
    Maybe we can help you a bit

Maybe you are looking for