X-axis

Hi Friends,
I have a doubt  in xy graph.........
I have 3 parameters..for example 1.length,
                                                       2.topspeed,
                                                        3.bottom speed.....
all these parametes are in real-time (keeps changing.........)
I need parameter "length" to be in x-axis....I need this parameters to be used as scale in x-axis
and other parameters  "topspeed,bottomspeed" should plot  accordingly  with respect to length
In short topspeed,bottomspeed shold plot with respect to length  not with time...
(x-axis---->length)
(y-axis------->topspeed,bottomspped)
Expecting help...........
Regards
Rajasekar

See pics
Message Edited by AndrewAlford on 04-03-2007 09:17 AM
Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
Attachments:
xyd.png ‏3 KB
xyp.png ‏7 KB

Similar Messages

  • Error while invoking a webservice using Axis deployed in  tomacat from Bpel

    Hi,
    I am trying to invoke a Axis webservice(from Java class to WSDL- bottom up java bean webservice approach) developed in Exclipse IDE, deployed in Tomcat.
    When i am trying to invoke the service, from Bpel from Jdeveloper it is throwing error as such :
    Invoke_1 (faulted)
    [2009/05/22 14:32:18] Faulted while invoking operation "storeLoanData" on provider "LoanDataPersist".less
    -<messages>
    -<input>
    -<Invoke_1_storeLoanData_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="p_request">
    -<p_request xmlns="" xmlns:def="http://dtos.demo.com" xsi:type="def:LoanDataPersistRequest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <customerName>wew
    </customerName>
    <netIncome>12
    </netIncome>
    <loanAmount>12
    </loanAmount>
    <realEstateAddress>wew
    </realEstateAddress>
    <customerID/>
    </p_request>
    </part>
    </Invoke_1_storeLoanData_InputVariable>
    </input>
    -<fault>
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>exception on JaxRpc invoke: trailing block elements must have an id attribute
    </summary>
    </part>
    </remoteFault>
    </fault>
    </messages>
    I may add that, the WSDL generated is using "soap:enc:array ", rpc style.
    Can anyone tell me the reason and suggest .

    Hi Marc,
    Thanks for the guidancer. But sir, i am unable to detect at which place i have to do the required changes.I found p_request as a parameter in the method only in the interface only.
    As bcos ultimately , i am generating the tomcat /axis web service (WSDL) from the java class, which is using 2 Request and response java bean, in which they are doing someing like this:
    private static org.apache.axis.description.TypeDesc typeDesc =
    new org.apache.axis.description.TypeDesc(LoanDataPersistRequest.class, true);
    static {
    typeDesc.setXmlType(new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistRequest"));
    org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
    elemField.setFieldName("customerName");
    elemField.setXmlName(new javax.xml.namespace.QName("", "customerName"));
    elemField.setXmlType(new javax.xml.namespace.QName("", "string"));
    elemField.setNillable(true);
    etc etc...................}
    And second thing is when the WSDL is generated, from that the stubs and skeletons is generated to test the service.
    There in the Stub i found out "p_request" in this place:
    private static void _initOperationDesc1(){
    org.apache.axis.description.OperationDesc oper;
    org.apache.axis.description.ParameterDesc param;
    oper = new org.apache.axis.description.OperationDesc();
    oper.setName("storeLoanData");
    param = new org.apache.axis.description.ParameterDesc(*new javax.xml.namespace.QName("", "p_request")*, org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistRequest"), com.demo.dtos.LoanDataPersistRequest.class, false, false);
    oper.addParameter(param);
    oper.setReturnType(new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistResponse"));
    oper.setReturnClass(com.demo.dtos.LoanDataPersistResponse.class);
    oper.setReturnQName(new javax.xml.namespace.QName("", "storeLoanDataReturn"));
    oper.setStyle(org.apache.axis.constants.Style.RPC);
    oper.setUse(org.apache.axis.constants.Use.ENCODED);
    _operations[0] = oper;
    And in skeleton :
    static {
    org.apache.axis.description.OperationDesc _oper;
    org.apache.axis.description.FaultDesc _fault;
    org.apache.axis.description.ParameterDesc [] _params;
    _params = new org.apache.axis.description.ParameterDesc [] {
    new org.apache.axis.description.ParameterDesc(*new javax.xml.namespace.QName("", "p_request")*, org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistRequest"), com.demo.dtos.LoanDataPersistRequest.class, false, false),
    oper = new org.apache.axis.description.OperationDesc("storeLoanData", params, new javax.xml.namespace.QName("", "storeLoanDataReturn"));
    _oper.setReturnType(new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistResponse"));
    _oper.setElementQName(new javax.xml.namespace.QName("urn:com.demo.service", "storeLoanData"));
    _oper.setSoapAction("");
    myOperationsList.add(oper);
    if (_myOperations.get("storeLoanData") == null) {
    _myOperations.put("storeLoanData", new java.util.ArrayList());
    ((java.util.List)_myOperations.get("storeLoanData")).add(_oper);
    PLease suggest if i make some changes in stub and skeleton how it would reflect the WSDL... or else please suggest where shud i do the required changes.

  • PI 7.11 Receiver SOAP (Axis) Adapter with MTOM (Attachments)

    Hello,
    Iu2019m trying to configure the Receiver SOAP (Axis) adapter for sending SOAP attachments via MTOM to a third-party webservice, but I'm not getting that PI transform the binary encode64 data in an payload element into a MTOM attachment (xop:include).
    The configuration looks like this:
    Transport Protocol: HTTP (Axis)
    SOAP Version: 1.2
    Encapsulation Format: MTOM
    Keep Attchments: enabled
    Payload Extraction: SOAP Body Child
    First of all, could you confirm if this is supported?
    Or Axis only supports MTOM for the transport protocol 'File (Axis)' like it seems refered in [Configuring the Receiver Axis SOAP Adapter|http://help.sap.com/saphelp_nwpi711/helpdata/en/45/a3c48c87cd0039e10000000a11466f/frameset.htm]
    Can you please provide me some guidance here?
    Thanks in advance!
    Kind Regards,
    Alexandre

    Hello,
    I am facing the exact same issue.
    I can't seem to set the cookie in the http header after following the guide.
    Cookie: WSL-credential=MyOwnCookie
    I managed to set the SOAPAction though.
    Anyone has any ideas?

  • How to capture an image with the camera axis

    Hi,
    I have an camera axis. I can receive the video. Now I try to capture an image, for example when I push the button take. I do the .vi but I confused between the different Method.
    SaveCurrentImageave the current Image
    GetImage:Gets the data corresponding to the image currently being
    displayed.SetImage:Adds an Image to the Clipboard in the Bitmap format
    That I search is to know if to capture image and saving when I push an button  I need to put all Icons so SetImage after Getimage and SavecurrentImage.
    I put my .vi.  
    Attachments:
    Capture_image.vi ‏11 KB

    Hello,
    Did you download the kit sdkfor using the axis media control active X:
    http://www.axis.com/fr/techsup/cam_servers/dev/activex.htm
    Did you test the sample and did you test with another language?
    Regards,
    Nacer M. | Certified LabVIEW Architecte

  • MyRIO FPGA FFT Express VI timing analysis for multiple input mode - trying to perform fft's on a 3-axis accelerometer

    Hi Everyone!
    Project Background:
    I've been working with the myRIO FPGA in an attempt to generate an application capable of sampling a tri-axis accelerometer and performing an fft on each axis. I've successfully developed an application for a single axis, but attempting to duplicate the code to sample the second and third axes in parallel results in an estimated 150% resource utilization for the tiny FPGA's LUT's. Additionally, I'm looking to avoid sequentially processing each accelerometer input using triggers and a single fft block because that reduces my fft update frequency significantly (e.g. I can't calculate another fft for input 1 until I calculate an fft for inputs 2 and 3).
    After reading up on the fft vi, I'm thinking that I can use the M-interval input indexes / Continuous output indexes Input/Output Index Pattern mode. My thought is that I can edit the vi to remove any math that "recombines" these three vectors into a single fft, resulting in 3 separate fft's. I'm also hoping that this process requires less time than using the sequential method described above. 
    The Questions:
    1. Has anyone done an fft on three inputs using the myRIO at sampling rates > 20kHz and fft sizes of 1024 or larger? If so, I may just be lacking some proper resource management.
    2. Does anyone know where to find timing information on the M-interval input indexes / Continuous output indexes Input/Output Index Pattern mode? The manual only provides timing diagrams for singel channel / single input modes. I don't want to waste my time modifying the vi if it will still take 3x as long (assuming modifying the vi is even a possibility).
    Further Information:
    I already have an application written that samples the accelerometers at >20kHz and then performs the fft on the main processor, but now I'm looking to see if it is possible to perform all signal processing on the FPGA side. The processor performs decently enough, but the timing is not as consistent as I would like it to be. Lastly, I am aware that the myRIO itself has a built in accelerometer, but I need to mount the accelerometer in an environment where the myRIO would probably be damaged and definitely cannot fit.
    Any thoughts are much appreciated! The excessive FPGA compile times for this thing make the old guess and check method less appealing.
    -Chris 

    Hi Chris,
    Thanks for posting and the detailed background on the project! To answer some of your questions:
    1. The FFT Express VI does use a significant amount of space. The FPGA on the myRIO is somewhat limited space-wise. Your best option may to implement the FFT for 1 channel on the FPGA and the other two on the RT side.
    2. I converted the FFT Express VI to a subVI and I am not sure if you can trim too much code from it. The subVI is also very complex so re-working it would be a significant amount of work. I could not find much documentation on M-interval input indexes / Continuous output indexes Input/Output Index Pattern mode timing. 
    I hope that this helps!
    Thanks,
    Frank
    Application Engineer
    National Instruments

  • Re: How to have more than one vertical axis in graphs...

    As a matter of fact, there is a library of dual-Y-axis controls, developed
    by National Instruments, but for some reason it did not make it into the
    official release. I've been using it under v.5.01 quite successfully. The
    only problem with it is that if you try to edit it using control editor, LV
    crashes (under v.5.1 and WinNT 4).
    -- Sergey Liberman
    -- Don't use Reply button! Thank you.

    I'm running into the same problem... can somewhere give me a pointer
    to where I might find a library like this? I have done the "put
    the y-axis on the right side of the second graph" and it works pretty
    well, but I'd like to see how other people might do it.
    Hopefully the LabView folk will also implement a scrollbar for X-Y plots
    (like they have for the charts) sometime... sometimes strip charts aren't
    sampled evenly.
    Andrew Berkley
    Physics Department
    University of Maryland
    RE:
    >> As a matter of fact, there is a library of dual-Y-axis controls, developed
    >> by National Instruments, but for some reason it did not make it into the
    >> official release...

  • How to use Axis to access a web service through Authentication  proxy

    Using axis access internat web service is success,but access a web service through Authentication proxy is failure.But other java classes connect through a proxy to the internet which works very well:
    please help me ,thank you!!!
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.namespace.QName;
    //this is my access webservice faliure   codes
    public class TestClient
       public static void main(String [] args) {
           try {
                System.getProperties().setProperty("http.proxySet", "true");
                System.getProperties().setProperty("http.proxyHost","proxy.com");
                System.getProperties().setProperty("http.proxyPort", "8080");
                System.getProperties().setProperty("http.proxyUser", "username");
                System.getProperties().setProperty("http.proxyPassword","password");
               String endpoint =
                        "http://nagoya.apache.org:5049/axis/services/echo";
               Service  service = new Service();
               Call     call    = (Call) service.createCall();
               call.setTargetEndpointAddress( new java.net.URL(endpoint) );
               call.setOperationName(new QName("http://soapinterop.org/", "echoString") );
               String ret = (String) call.invoke( new Object[] { "Hello!" } );
               System.out.println("Sent 'Hello!', got '" + ret + "'");
           } catch (Exception e) {
               System.err.println(e.toString());
       }I get an "(407)Proxy authorization required" error?

    I am also looking for a solution. Does any one know how to do through code instead of jvm settings?
    Thanks in advance!

  • Collisions (Separating Axis Theorem)

    Hi,
    I'm working on a 2D game, it's top-down like GTA2, but I'm havinfgproblems with the collision detector. I know there are a lot of posts about collision already but they didn't help me much. I'm using the separating axis theorem (explained here: http://www.harveycartel.org/metanet/tutorials/tutorialA.html#section1) and most of the code is inspired by http://www.codeproject.com/cs/media/PolygonCollision.asp .
    Separating axis theorem:
    find all axis perpendicular to all the edges of both objects,
    project both objects on the axis,
    if there is an axis where the projections do not overlap, then the objects do not overlap.
    The problem is that I think my code should work. And guess what, it doesn't. I checked the code 30 times this weekend but maybe there is some tiny mistake I overlook each time..
    When I run the program with 6 objects I get this:
    1 2 3 4 5 6
    1: - 0 0 0 0 0
    2: 0 - 1 0 0 0
    3: 0 1 - 0 0 0
    4: 0 0 0 - 0 0
    5: 0 0 0 0 - 0
    6: 0 0 0 0 0 - (1=intersect, 0=doesn't intersect)
    but this is completely wrong. You can run the program yourself to see the exact locations of the objects.
    1 is the triangle at the top,
    2 and 3 are the triangles who share an edge
    4 is the one on the left intersecting with 3
    5 is the triangle on the right
    6 is the parallelogram
    But it really gets weird when I add a 7th object (the one in the comments):
    1 2 3 4 5 6 7
    1: - 0 0 0 0 0 0
    2: 0 - 0 0 0 0 0
    3: 0 0 - 0 0 0 0
    4: 0 0 0 - 0 0 0
    5: 0 0 0 0 - 0 0
    6: 0 0 0 0 0 - 0
    7: 0 0 0 0 0 0 -
    Now 2 and 3 don't intersect anymore! They didn't change I just added another object.
    I'm adding a short explanationof all the classes and the code itself. I know it's a lot of code but I added all the test classes so you can just run Test.Test
    I hope someone can help me with this.
    Thanks,
    El Bandano
    _<h5>package CollisionDetector:</h5>_
    <h6>CollisionDetector</h6>
    The class that is supposed to check for collisions. It will take 2 Props and return a CollisionResult
    <h6>CollisionResult</h6>
    A small class with 2 public fields. For now only the boolean Intersect matters.
    <h6>Interval</h6>
    Another small class that represents an interval of floats. It's pretty simple. Distance should return something negative if 2 intervals overlap.
    _<h5>package World</h5>_
    <h6>MovableProp</h6>
    An interface of an object. All objects should be convex.
    <h6>Vector2D</h6>
    A 2D-vector. It has an x and a y value (floats) and some simple methods. a 2D vector can represent a point or an edge/axis. For a point the x and y are the coordinates. For an axis you need a normalized vector (x^2+y^2=1) and the x and y are coordinates on a parrallell line through (0,0).
    _<h5>package Test</h5>_
    <h6>Test</h6>
    The main class. It makes some objects, prints a matrix showin which intersect eachother and shows a window with all objects.
    <h6>TestMovProp</h6>
    A basic implementation of MovableProp.
    <h6>TestPanel</h6>
    A panel that draws MovableProp.
    _<h5>package CollisionDetector:</h5>_
    <h6>CollisionDetector</h6>
    package CollsisionDetector;
    import World.MovableProp;
    import World.Vector2D;
    import java.util.ArrayList;
    public class CollisionDetector {
        public CollisionDetector(){
        public CollisionResult DetectCollision(MovableProp propA, MovableProp propB) {
            CollisionResult result = new CollisionResult();
            result.Intersect = true;
            result.WillIntersect = true;
            Vector2D[] edges = UniqueEdges(propA, propB);
            // loop through the edges
            // find an axis perpendicular to the edge
            // project the props on the axis
            // check wether they intersect on that axis
            for (Vector2D edge: edges){
                Vector2D axis = edge.getPerpendicular();
                Interval intA = projectPointsOnAxis(propA.getCoordinates(), axis);
                Interval intB = projectPointsOnAxis(propB.getCoordinates(), axis);
                if (intA.distance(intB) > 0)
                    result.Intersect = false;
            return result;
        public Interval projectPointsOnAxis(Vector2D[] points, Vector2D axis){
            Interval i = new Interval();
            for (Vector2D p: points)
                i.add(projectPointOnAxis(p, axis));
            return i;
        public float projectPointOnAxis(Vector2D point, Vector2D axis){
            // axis <-> y=a*x
            float a  = axis.y / axis.x;
            // line <-> y=(-a/1)*x+b
            float a2 = -axis.x / axis.y;
            // b = y-a2*x
            float b = point.y - a2*point.x;
            // y = a *x
            // y = a2*x + b
            // => a*x = a2*x + b
            float x = b/(a-a2);
            float y = a*x;
            // is there a better way to do this?
            return new Float(Math.sqrt(x*x + y*y)).floatValue();
         * Put all edges in 1 array, eliminate doubles (parallels).
        public Vector2D[] UniqueEdges(MovableProp propA,MovableProp propB){
            Vector2D[] aEdges = propA.getEdges();
            Vector2D[] bEdges = propB.getEdges();
            ArrayList<Vector2D> tmp = new ArrayList<Vector2D>();
            for (Vector2D v: aEdges){
                tmp.add(v);
            for (Vector2D v: bEdges){
               if (! tmp.contains(v))
                    tmp.add(v);
            return tmp.toArray(new Vector2D[tmp.size()]);
    }<h6>CollisionResult</h6>
    package CollsisionDetector;
    import World.Vector2D;
    public class CollisionResult {
        public boolean WillIntersect;
        public boolean Intersect;
        public Vector2D MinimumTranslationVector;
        public CollisionResult() {
    }<h6>Interval</h6>
    package CollsisionDetector;
    public class Interval {
        public float min;
        public float max;
        public Interval() {
            min = Float.MAX_VALUE;
            max = Float.MIN_VALUE;
        public void add(float f){
            // no 'else'! In an empty interval both will be true
            if (f>max)
                max = f;
            if (f<min)
                min = f;
        public float distance(Interval interval){
            if (this.min < interval.min) {
                return interval.min - this.min;
            } else {
                return this.min - interval.min;
    }_<h5>package World</h5>_
    <h6>MovableProp</h6>
    package World;
    public interface MovableProp {
        public int getNPoints();
        public Vector2D[] getEdges();
        public Vector2D[] getCoordinates();
    }<h6>Vector2D</h6>
    package World;
    public class Vector2D {
        public float x;
        public float y;
        public Vector2D(float x, float y) {
            this.x = x;
            this.y = y;
        public boolean equals(Object obj){
            if (!(obj instanceof Vector2D)){
                return false;
            }else
                return (this.x == ((Vector2D)obj).x && this.y == ((Vector2D)obj).y);
        public String toString() {
            return ("Vector2D  x=" + x + " ,  y=" + y);
        public void normalize(){
            if (x*x + y*y != 1){
                float x2 = x;
                x /= Math.sqrt(x2*x2+y*y);
                y /= Math.sqrt(x2*x2+y*y);
        public Vector2D getPerpendicular(){
            Vector2D per = new Vector2D(-y,x);
            per.normalize();
            return per;
    }_<h5>package Test</h5>_
    <h6>Test</h6>
    package Test;
    import CollsisionDetector.CollisionDetector;
    import World.MovableProp;
    import java.awt.Polygon;
    import java.util.ArrayList;
    import java.util.Vector;
    import javax.swing.JFrame;
    public class Test {
        public static void main(String args[]) {
            CollisionDetector detect = new CollisionDetector();
            float[] x = new float[3];
            float[] y = new float[3];
            ArrayList<MovableProp> list = new ArrayList<MovableProp>();
            x[0] = 200; x[1] = 300; x[2] = 500;
            y[0] = 400; y[1] = 200; y[2] = 300;
            list.add(new TestMovProp(x,y));
            x[0] = 300; x[1] = 500; x[2] = 600;
            y[0] = 400; y[1] = 400; y[2] = 500;
            list.add(new TestMovProp(x,y));
            x[0] = 200; x[1] = 300; x[2] = 600;
            y[0] = 600; y[1] = 400; y[2] = 500;
            list.add(new TestMovProp(x,y));
            x[0] = 100; x[1] = 200; x[2] = 300;
            y[0] = 800; y[1] = 500; y[2] = 700;
            list.add(new TestMovProp(x,y));
            x[0] = 600; x[1] = 600; x[2] = 700;
            y[0] = 400; y[1] = 700; y[2] = 500;
            list.add(new TestMovProp(x,y));
    //        x[0] = 100; x[1] = 001; x[2] = 900;
    //        y[0] = 001; y[1] = 900; y[2] = 500;
    //        list.add(new TestMovProp(x,y));
            x = new float[4];
            y = new float[4];
            x[0] = 450; x[1] = 550; x[2] = 500; x[3] = 400;
            y[0] = 200; y[1] = 250; y[2] = 650; y[3] = 600;
            list.add(new TestMovProp(x,y));
            int n = list.size();
            boolean[][] matrix = new boolean[n][n];
            for (int i=0; i<n; i++){
                for (int j=0; j<n; j++){
                    if (i!=j)
                    matrix[i][j] = detect.DetectCollision(list.get(i),list.get(j)).Intersect;
            System.out.print("  ");
            for (int i=0; i<n; i++){
                System.out.print("  " + (i+1));
            for (int i=0; i<n; i++){
                System.out.print("\n" + (i+1) + ":  ");
                for (int j=0; j<n; j++){
                    if (i==j)
                        System.out.print("-  ");
                    else if (matrix[i][j])
                        System.out.print("1  ");
                    else
                        System.out.print("0  ");
            System.out.println();
            JFrame window = new JFrame();
            window.setDefaultCloseOperation(window.EXIT_ON_CLOSE);
            window.pack();
            window.setVisible(true);
            window.setContentPane( new TestPanel(list));
            window.pack();
    }<h6>TestMovProp</h6>
    package Test;
    import World.MovableProp;
    import World.Vector2D;
    public class TestMovProp implements MovableProp{
        float[] X;
        float[] Y;
        Vector2D[] coor;
        public TestMovProp(float[] x, float[] y) {
            X=x; Y=y;
            coor = new Vector2D[getNPoints()];
            for(int i=0; i< getNPoints(); i++){
                coor[i] = new Vector2D(X, Y[i]);
    public Vector2D[] getCoordinates(){
    return coor;
    public int getNPoints() {
    return X.length;
    public Vector2D[] getEdges() {
    int n = getNPoints();
    Vector2D[] v = new Vector2D[n];
    for (int i=0; i<n-1; i++){
    v[i] = new Vector2D(X[i]-X[i+1], Y[i]-Y[i+1]);
    v[i].normalize();
    v[n-1] = new Vector2D(X[0]-X[n-1], Y[0]-Y[n-1]);
    v[n-1].normalize();
    return v;
    public String toString() {
    String s = "\n";
    for (Vector2D v: getCoordinates())
    s += ("\n" + v);
    return s;
    <h6>TestPanel</h6>package Test;
    import World.MovableProp;
    import World.Vector2D;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.Polygon;
    import java.util.ArrayList;
    import javax.swing.JPanel;
    public class TestPanel extends JPanel {
    public ArrayList<MovableProp> list;
    public TestPanel(ArrayList<MovableProp> list) {
    super();
    this.list = list;
    setPreferredSize(new Dimension(1000,850));
    public void paint(Graphics g) {
    super.paint(g);
    for (MovableProp prop:list){
    Vector2D[] coor = prop.getCoordinates();
    int n = prop.getNPoints();
    g.drawLine((int)coor[0].x, (int)coor[0].y, (int)coor[n-1].x, (int)coor[n-1].y);
    for (int i=0; i<n-1; i++){
    g.drawLine((int)coor[i].x, (int)coor[i].y, (int)coor[i+1].x, (int)coor[i+1].y);

    .java wrote:
    I have been search for what seems like hours, Nice try, but in less than 15 seconds I found a complete discussion on the subject.
    and I still have not managed to find anybody or anything that can clearly answer these three questions:
    1. What is SAT?
    2. How does it apply to 2D collision detection? (How would it be different with 3D collision detection?)
    3. How can this be implemented in Java using Shape objects?
    Note: I am easily confused by geometric terminology.This really looks like a question you should have an answer for in your notes from class, or in your book. If not perhaps you need to go ask your teacher what it is and explain why you don't have it in your notes or book.

  • SOAP Axis receiver: host parameter is null

    Hello,
    we are on a PI 7.11 (SP06) system & we are trying to setup a scenario SOAP - SOAP (Axis) where we initiate a third party webservice. To connect to this service we are obliged to go through our proxy, which we defined in our JVM parameters:
    http.nonProxyHosts: [*.ont.local|*.val.local|*.mon.local]
    http.proxyHost: [proxypac.mon.local]
    http.proxyPort: [8080]
    http.proxySet: true
    When we execute our scenario via soapUI we get following error:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    java.lang.IllegalArgumentException: host parameter is null
    We already tried with http://proxypac.mon.local as parameter as well but still we get this error.
    Furthermore we are able to make a connection to the service via a SM59 connection.
    Axis details:
    Adapter Common Library Version: 1.7.1106.20110202095400.0000, NW711_06_REL
    Adapter Application Version: 1.7.1106.20110202095400.0000, NW711_06_REL
    Axis Version: Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT)
    Many thanks in advance for your help,
    Frédéric.

    Hello Mark,
    we get this last error when connecting with SOAP receiver instead of Axis receiver.
    We are sending different headers (wsa & wsse) in our soapUI request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:klip="http://ws.agiv.be/klipws" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
    <wsa:Action xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://ws.agiv.be/klipws/ListKLB</wsa:Action>
    <wsa:MessageID>urn:uuid:2a46571e-d5a7-4b33-a4a1-a174330cd36c</wsa:MessageID>
    <wsa:ReplyTo> <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo>
    <wsa:To>http://wsklip.beta.agiv.be/**********.asmx</wsa:To>
    <wsse:Security soapenv:mustUnderstand="1" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:klip="http://ws.agiv.be/klipws" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
    <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
      <wsu:Created>2011-09-27T10:00:31Z</wsu:Created>
      <wsu:Expires>2011-09-30T18:01:31Z</wsu:Expires>
      </wsu:Timestamp>
    <wsse:UsernameToken>
      <wsse:Username>*********</wsse:Username>
      <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">***************************************wsse:Password>
      <wsse:Nonce>****************************************</wsse:Nonce>
      <wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2011-09-12T14:01:31Z</wsu:Created>
      </wsse:UsernameToken>
      </wsse:Security>
    </soapenv:Header>
       <soapenv:Body> <klip:ListKLB xmlns="http://ws.agiv.be/klipws"/>
       </soapenv:Body>
    </soapenv:Envelope>
    For the Axis receiver it looks like one of the handlers can't get the value of our host parameter.
    Any help or tips would be really appreciated!
    Regards,
    Frédéric.

  • DigitalGraph Annotation at different axis-Y level although the value is same

    Hi,
    I have plot a graph with annotation and I found it labeling the axis-Y at the different level, with the same value.
    Please look at the screenshot I attached. I have attached the Vi too, simply run it will get the result as preview in screenshot. 
    So, 
    Any idea to fix this ? 
    and I need to know, 
    How the annotation actually label the axis-Y level ? (sometimes label at  '1', sometimes at '0', a reason behind it that cause this inconsistently ? a fix setting as written in cluster should have all the label at the same level, but why it behave up and down..) 
     Please help .. Thanks in advance..
    Attachments:
    forum.JPG ‏103 KB
    waveformlabel.vi ‏28 KB

    Hi,
    Thanks for sending your VI with your question. I've tried running it and it appears to run fine with the digital input waveform you have specified. Do you have any input data that you know causes an error that you could send to me? I have attached a screenshot of what happens when I run the VI, so let me know if that looks more like what you are trying to achieve.
    Also, the reason for the annotation switching between a 1 and a 0 along the various lines is because it is an indication of whether the digital signal on that line is high or low at that point, rather than a label on the y-axis itself. It shows that on, for example, line 4, the signal begins low, hence the 0 on the axis, before switching to high, hence the 1 on the axis. I'd be very grateful if you could let me know if this answers your question and don't hesitate to ask if you need anything else clarifying.
    Regards
    Jeremy T
    Technical Marketing Engineer
    National Instruments UK & Ireland
    Attachments:
    Digi waveform.JPG ‏146 KB

  • How to get the cookie from a web service using Axis

    I used the AXIS wizard to consume a WSDL and create a bunch of boiler plate code. It works great in that I can talk to the web service and submit requests.
    The problem is that I need to retrieve the cookie from the login request and use it when making subsequent requests. I have been unable to find the cookie and would appreciate a point in the right direction.
    Currently I'm trying something like this
    String cookie = (String)((Stub)service)._getCall().getMessageContext().getProperty(HTTPConstants.HEADER_COOKIE);
    Thanks in advance.

    Answered on my own:
    Just have to use
    x_result = http_client->response->get_data( ).
    instead of
    x_result = http_client->response->to_xstring( ).
    Just don't knwo why the filesize is wrong also - but I can work with this image!

  • We have a problem when we hitting instrumented axis services in weblogic 8.

    First we create a domain its only support for axis services.we need to set classpath according to my project.The classpath is going to set in my creating domian name like as "AxisDomain" in that "startweblogic.cmd" file set classpath like
    "%JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME% -Div.home=c:/work/build/Java/ -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy="%WL_HOME%\server\lib\weblogic.policy" weblogic.Server"
    in this we add our classpath like " Div.home=c:/work/build/Java/ ".Then i start the server and deploy the sample axis service war file it contains " server-config.wsdd" file.In that file the following line shows.
    <service name="CalCService" provider="java:RPC">
    <parameter name="allowedMethods" value="*"/>
    <parameter name="className" value="test.chap.calc"/>
    </service>
    In this sample war works fine.After that used my project and configure the services to getting log file purpose.Then used my project Configure/Instrument the Sample War file.we have config.xml file in our project use that file we configure the sample war file.Configuration is used for added our expected jar like "Handle.jar" file into the deployed services lib folder.Our hadlers are also added into the server-config.wsdd file like
    <service name="CalCService" provider="java:RPC"><responseFlow><chain name="HANDLER_JAVA"><handler type="java:org.apache.axis.handlers.JAXRPCHandler"><parameter name="className" value="com.collectors.jt.WebServiceCollector"/><parameter name="endpointId" value="http://localhost:7001/calc1/services/CalCService"/></handler></chain></responseFlow><requestFlow><chain name="HANDLER_JAVA"><handler type="java:org.apache.axis.handlers.JAXRPCHandler"><parameter name="className" value="com.collectors.jt.WebServiceCollector"/><parameter name="endpointId" value="http://localhost:7001/calc1/services/CalCService"/></handler></chain></requestFlow>
    <parameter name="allowedMethods" value="*"/>
    <parameter name="className" value="test.chap.calc"/>
    </service>
    Configuration finished after that i want to restart my server that time only redeploy the configured services into the below location :
    "C:\bea\user_projects\domains\javadomain\myserver\.wlnotdelete\extract".
    Our nedded jar files also added into this location given below:
    "C:\bea\user_projects\domains\javadomain\myserver\.wlnotdelete\extract\myserver_calc1_calc1\jarfiles\WEB-INF\lib"
    Its not happening in weblogic 8.1.1 and weblogic 8.1.3.
    But its not added the needed jar files into the above location in weblogic 8.1.1 and 8.1.3.when i deploy the same configured services that time only its works fine.I don't need to redeploy the service whenever i restart the server that time only i want to added jar files into that location.
    This problem is only happening in weblogic 8.1.1 and 8.1.3 its not happening in weblogic 7.5 and 8.1.4 .
    In the weblogic 7.5 and 8.1.4 when finished my configuration and restart the server that time its added the jar files into the below location
    "C:\bea\user_projects\domains\javadomain\myserver\.wlnotdelete\extract\myserver_calc1_calc1\jarfiles\WEB-INF\lib"
    after that i hitted the services using vordel box its working fine and getting log files.
    can any one give me a solution to rectify this problem in Weblogic 8.1.1 and 8.1.3.?

    forgot to say that I can only use 1 core and it´s not possible/locked to change in preferences/memory and multiprocessing

  • Problem with the Z axis...blurred objects...what'd I miss?

    Howdy,
    I've got some vector objects in Flash that start out real small--like 20-30 pixels square. When I change their position on the Z axis to 'zoom in' on them, the larger they get, the blurrier they get.
    When I just tween the x/y size, and not move the z axis they look fine.
    For example draw a 20x20 square on the stage.
    Convert it to a movie clip so that I can 3D it.
    Scale it up to 300 pixels.
    Looks fine.
    Adjust the Z axis by 1.
    Blllluuuurrrrrrrrr.
    Did I miss a setting somewhere or is this just a limitation that needs to be worked around?
    Thanks in advance,
    -Ted

    Rothrock, Excellent link, thanks for that! Have some points.
    After reading it:
    crap.
    Looks like I need to learn about hand coding the 3d effects, or using scaling instead and adding switch when I need the z....
    Hmmm...that'll require a little mor coffee.

  • Can I use axis.jar in my custom component

    Can I use axis.jar in my custom component.
    Is there any license need to user this jar ??
    Thanks

    In our UCM setup axis has been implemented in a custom component to consume webservices. As Axis falls under the Apache license you can freely import it in your custom java classes.

  • Y axis auto scale not working in DIAdem 11

    Hi
    A few years ago I created a user dialog box for selecting and displaying channels in DIAdem view.
    It worked fine for all DIAdem 10.X releases, but for DIAdem 11.X there is a problem with the y-axis scaling.
    The channels are displayd as [n  Systems (Linear)]
    In DIAdem 10.X the y-axis for each separate graph would be scaled automatically accoring to the min. and max. values of the displayed channel.
    In DIAdem 11.X the y-axis for each graph is scaled from 55.0397 to 133.7655.... for all channels, no matter what the values are for the displayed channel.
    When I click the "Zoom Off" button the scaling becomes correct.
    What do I need to put in to my script to make the y-axis scale correctly?
    Below is the code that is used to set the scaling (no scaling for Y axis is set):
        R1 = SelectedStartTime 'this is a variable defined earlier in the code
        R2 = SelectedEndTime 'this is a variable defined earlier in the code
        View.ActiveSheet.Cursor.X1 = R1
        View.ActiveSheet.Cursor.X2 = R2
        View.ActiveSheet.Areas(1).DisplayObj.XScaling = "RangeZoom"
    I've tried adding this code, to no effect:
        View.ActiveSheet.Areas(1).DisplayObj.YScaling = "n systems [phys.]"
        View.ActiveSheet.Areas(1).DisplayObj.YScalingMode = "automatic"
    Solved!
    Go to Solution.

    I tried with Macro recording and Ctrl+A and the result was
    Option Explicit 'Forces the explicit declaration of all the variables in a script.
    R1 = 30
    R2 = 52
    Call View.NewLayout()
    View.Sheets("Sheet 1").Areas("Area : 1").DisplayObjType = "CurveChart2D"
    Dim oMyDisplayObj
    Set oMyDisplayObj = View.Sheets("Sheet 1").Areas("Area : 1").DisplayObj
    oMyDisplayObj.Curves.Add "[1]/Time", "[1]/Speed"
    oMyDisplayObj.YScalingMode ="automatic"
    oMyDisplayObj.Abscissa ="X-Cursor"
    oMyDisplayObj.Ordinate ="Y-Cursor"
    View.ActiveSheet.Cursor.X1 = R1
    View.ActiveSheet.Cursor.X2 = R2
    View.Sheets("Sheet 1").Areas("Area : 1").DisplayObj.XScalingMode = "RangeZoom"
    WndShow "VIEW", ""
    which seems to work fine. So there is only one difference to your code which is
    .XScalingMode
    instead of XScaling. Does changing this work with your code?

  • Manipulate y-axis of built-in tooltip?

    Hi all,
         Quick question...is there a way to manipulate the y-axis position of a tooltip without using a custom tooltip? For example, I have an image that has uses the builtin tooltip and I need to have it display above the image.
         I have a series of images, side by side, in the bottom right of my screen...when a user hovers over one of the images, because they are already grounded in the bottom right, the tooltip shows up and covers the images so the user has to really pay attention to the text to realize which image they are clicking.
    <mx:Image id="cascadePic" source="{cascadeBtn}" buttonMode="true" click="cascadeWindows()" verticalCenter="0" right="70" toolTip="Click to rearrange your widgets staggered one on another." />
         I'm trying to see if there is an easy way to deal with this without having to dig into custom tooltips.
    Appreciate the help!
    Adrian

    Nope. If you want to move the tooltip, tou need to use ToolTipManager:
    http://livedocs.adobe.com/flex/3/html/help.html?content=tooltips_4.html
    If this post answers your question or helps, please mark it as such.

Maybe you are looking for

  • Downloads from iTunes are not going into my library

    When I download songs and podcasts from iTunes on my iPhone they seem to download fine but they do not go into my library. Any ideas? All software is up to date.

  • Serial numbers in handling unit

    We generate handling units at the end of production line; the requirement is to capture and store the serial numbers into the handling unit (which works fine) and when the u201Csameu201D handling units are picked for outbound deliveries, the serial n

  • How To Create Image Based PDF

    Hi, Currently we are Converting Text-based PDF to Image-Based PDF using Adobe Reader/Adobe Acrobat by using Print(Adobe PDF)->Advanced->Print as image. So i can save the file as image based pdf. How to do this in C# using Adobe Dlls.. Please Give me

  • Settings of MT103

    Goodafternoon, We want to configure the PMW for the creation of DME files for our company in Romania. According to the specification of the bank we need format MT103. I configured this and managed to create an DME file. However a couple of mandatory

  • Where to buy the Pearl 9105 in the US?

    I've been searching all over the blackberry site as well as all major service providers , and I can't find anyone who sells the new Blackberry Pearl 9105 in the US  (particularly the Boston area)  Has anyone managed to find it? It seems like it is po