Disable one axis on a multi-axis graph?

Hi, i have a graph with multiple y-axis values e.g. voltage, currrent, temperature. I want to be able to disable these at will. Would it possibel to use the property nodes to do this? e.g. making one invisible or clear. So it can not be seen.
Stu

Hi Stu,
The way I've done this in the past is to change individual plot colors.  I change the color to "transparent" on plots that I don't want to be visible. To accomplish this, select the "Active Plot" property and set it to the plot you want to modify.  {0, 1 2 ...} Then select "Plot.Plot Color".  Using the Color Box Constant off of the Dialog & User Interface pallette, you can view the colors you're setting.  Selecting the "T" in the upper right-hand corner selects a transparent color.
The other thing you can do is to manipulate the incoming data.  If you're plotting floating point numbers, NaN doesn't show up in plots.  You can switch the "real" data in and out, substituting it with NaNs.
If there's a more direct way with property nodes to enable and disable plots, I haven't stumbled across it yet.
I hope this helps.
Jim
Attachments:
TransparentPlot.png ‏23 KB

Similar Messages

  • Problem: XYGraph with units in one axis in LV7.0

    When I bundle one array with units (length) and another without units
    together into a cluster and wire it to an XY Graph, the unit label
    shows up correctly at the lower-right corner of the X axis.
    But when I rescale the unit by changing the unit label (from nm to
    uin), the Y axis rescales as well! Furthermore, if I change the unit
    label back to nm, the Y axis values to not revert back!
    It seems that there is a problem when units are in only one axis of an
    XY Graph. (I tried with units on both axis and that seems to work
    fine).
    Any solution/workaround?
    Thanks,
    germ Remove "nospam" to reply

    In article <[email protected]>,
    Philip C. wrote:
    > Hi Germ,
    >
    > Please post the VI that shows this behaviour. Then it will be easier
    > for me to troubleshoot.
    >
    > Thanks!
    >
    > Philip C.
    Philip, I tried to post one, but there's something wrong with my ISP or
    some other problem, so I cannot post.
    But it's very easy to create: Make two array controls, one for the X
    values and one for the Y values. Assign the unit nm to the X axis, and
    leave the Y array without units. Make a new XY Graph control.
    On the block diagram, bundle the two arrays and connect them to the XY
    graph. Go back to the front panel and make "unit" visible in the
    graph. A unit label will appear near the lower-right corner. Change m
    to nm
    Enter a couple of values in each to the two arrays.
    Execute the VI. The points will plot on the graph. Now change the unit
    lablel from nm to uin on the graph and then change it back. Watch the Y
    axis go berserk.
    germ Remove "nospam" to reply

  • Xcelcius 2008 - Dual Axis Graph Mouse Over Display

    I am working on a dual-axis graph where one value is a percentage and another is numeric. I am having an issue where I cannot format the hovers into multiple formats (i.e. one as numeric, the other as a percentage). In the graph properties I only see one property to modify Mouse-Over Values, but I need to modify it for each axis.
    Thanks ahead of time.

    Hi Diney,
    I Have to show all the projects per client requirement, I want to remove the legends(which I already did), and instead show the project name only when the mouse is rolled over in the graph. Is it possible?
    Thanks for your time and help.

  • Anyway to implement a dual axis graph in xcelsius?

    anyone know how to implement a dual axis graph in xcelsius?
    i tried faking a dual axis graph by super imposing 2 graphs, one with the axis labels and the other one without, but the legends would never line up especially if i placed the legend at the bottom of the chart.
    any ideas?
    -shawn

    i am not able to get exactly the problem where  you are getting that, if you get it in line chart or any other charts we can fake any chart on the basis of scenario by giving display status key and another options also there for this.
    i hope you get some idea, if u not able to understand pls mail me with your exact scenarion i will send the complete solution to you.
    Thank you,
    Santhosh.

  • 2 axis graphs

    Is it possible to have a two axis graph with values of one axis in the form of a stacked graph and the value of the second axis displayed as a line graph?
    I can do it in a regular bar graph but I need a "stacked" bar

    ogsamerz wrote:
    i read this answer on another post. Im having a hard time figuring out how to reset the background.
    Also is it possible to set the second graph to a second y axis? to the right side of the graph?
    Select the front chart, then use the Fill: color well to choose None (the square with a slash through it at the top left of the color palette).
    Numbers places the Y axis and its value labels at the left of the chart. Use the Y axis options popup menu in the Axis section of the Chart Inspector to turn off Show Axis, Show Value Labels and Show minimum value. Add a text box and type in the values, including the minimum value, with enough returns after each to align the numbers with the grid lines. Add a Line using the Shapes button, rotate it 90 degrees. Use these as the Y axis (on the right) and Y value labels.
    Regards,
    Barry

  • Jerk produced while disabling the axis

    Hello all,
    I have a 7344 Card with a Nu drive amplifier attached to a Velmex stepper motor attached to a bislide axis. Due to some noise problems created by the motor, for scanning in one direction, i have to disable the axis, do data acquistion, enable the axis and move to the next position. when the axis is switched on and off, there is a backward jerk created on the linear motion which is very much undesirable because the position of the axis is changed. I dont use any encoders hence cannot figure how much this backward jerk is. Has anyone encountered such kind of problem. I tried contacting NI and sent emails to the engineers i know , but didnt get any response. I woudl really appreciate if I can get a response to this message.
    Thanks
    Valli

    I think you first should check whether the problem is caused by the 7344 motor controller or the driver.
    To check this you should hook up a scope (or a logic analyzer) to the DIR input and, if possible, also to the STEP input of the driver. Usually a driver reverses moving direction only if the level of the DIR input is changed, and if there are still step pulses generated after such a change.

  • Limiting rotation of Transform to one axis at a time.

    I have a situation where I want to force a transform returned from a picking tool to only rotate around or translate along a single axis. To do this, I'm using the transformChanged() function shown below. It works fine for the translation changes, but has problems for the rotation case. If the rotations are about one axis only it's ok, but when rotations are combined (30 degrees on X, then 60 degrees on Y) say, the object flips around in strange ways.
    I understand that my approach to the rotation limit was too simplistic, but none of the other approaches I've tried has worked either. I'm very new to Java3D programming and have run out of ideas, can anyone else suggest something to try?
    // Callback from Picking tools.
    public void transformChanged(int type, TransformGroup tg)
        if((selObj != null) && (tg != null))
            // Get the current Transform3D
            Transform3D current = new Transform3D();
            tg.getTransform(current);
            // Get the current transform vector
            Quat4f currQuat = new Quat4f();
            Vector3f currVect = new Vector3f();
            current.get(currQuat, currVect);
            double currScale = current.getScale();
            System.out.println("transformChanged - scale = "+current.getScale());
            // Set global current variables
            curPosition = currVect;
            curQuat4f = currQuat;
            // Only allow movement on the chosen axis
            if(moveX)
                if(type == PickingCallback.TRANSLATE)
                    currVect.setY(oldPosition.getY());
                    currVect.setZ(oldPosition.getZ());
                else if(type == PickingCallback.ROTATE)
                    currQuat.setY(oldQuat4f.getY());
                    currQuat.setZ(oldQuat4f.getZ());
            else if(moveY)
                if(type == PickingCallback.TRANSLATE)
                    currVect.setX(oldPosition.getX());
                    currVect.setZ(oldPosition.getZ());
                else if(type == PickingCallback.ROTATE)
                    currQuat.setX(oldQuat4f.getX());
                    currQuat.setZ(oldQuat4f.getZ());
            else if(moveZ)
                if(type == PickingCallback.TRANSLATE)
                    currVect.setX(oldPosition.getX());
                    currVect.setY(oldPosition.getY());
                else if(type == PickingCallback.ROTATE)
                    currQuat.setX(oldQuat4f.getX());
                    currQuat.setY(oldQuat4f.getY());
            // Set old global variables.
            oldPosition = currVect;
            oldQuat4f = currQuat;
            // Set the rotation and position back
            // into the transform.
            current.set(currQuat, currVect, (float)currScale);
            // Set the Transform3D back into the TransformGroup
            try
                tg.setTransform(current);
            catch(BadTransformException btex)
                System.out.println(btex);
                System.out.println("current transform = \n"+current);
    }Edited by: billphil on Mar 17, 2008 10:56 AM
    Edited by: billphil on Mar 17, 2008 11:07 AM
    Edited by: billphil on Mar 17, 2008 11:18 AM
    Edited by: billphil on Mar 17, 2008 11:21 AM

    thanks!
    i have tried using a file as a shared resource, and i
    can now check whether an instance of my application
    is already running. however, i can't make the
    currently running application window to be
    automatically displayed after the checking. Ar running application could listen on a port so you could tell it to display itself by using TPC/IP. This would require some additinals code in your app, but that shouldn't be a real problem.
    If you shared resource is already a port then you could use this port. And if it is a file you could add some additionla information to this file. Like the port number. In this case you could avoid having to use a predefined port (that could be already used by a a completely different app even though it is not very likely) by using an anonymous ServerSocket (by using "new ServerSocker(0)" and "getLocalPort()")

  • Problem: Orbit Camera Tool Only Rotates One Axis

    Hey forum, please forgive the newbee question. I just upgraded to motion 4 and noticed that in a 3D project the orbit tool only swivels the view in one axis (I cannot tilt the view).
    I just opened a new project. Inserted an object. Created a camera. Switched to 3D. Choose the top view from the compass. Clicked and held on the 'orbit camera' in the top right... no 3D axis rotation (same protocol works perfectly in motion 3 with full 3D perspective rotation).
    Guessing I am missing something really simple... Any thoughts?

    That's how it works now. If you want to orbit on multiple axes, you need to be in an Active Camera or Perspective view.

  • Stabilizing only one axis in CS5.5?

    Hey there! I am attempting to stabilize a clip in after effects and attempting to stabilize only one axis of motion to avoid having to resize the frame. Any suggestions?

    The expression solution assumed that you were using the legacy point-tracker for stabilization, not the Warp Stabilizer.
    You say that you're needing to do this to "avoid having to resize the frame". But you don't need to resize the frame if your using Warp Stabilizer. Just use the Synthesize Edges option. It's very important that you use these basic learning resources before trying to us the Warp Stabilizer:
    http://blogs.adobe.com/toddkopriva/2011/04/warp-stabilizer-in-after-effects-cs5-5.html

  • Linear movement with 2 motors attached to one axis

    Hello,
    I have a PCI NI 7356 board to control the movement of two motors attached to one axis. This configuration is intended to have more power.  Each motor has its own encoder. I need the axis to turn to a specified position and return back to the initial position, it is a straight line move. There is no problem to do this with each of the motors separated, but if I try to make the two motors work together, the result is a clattering noise. It looks like the two motors are trying to do a slightly different movement.
    I tried two ways to program this: Master/slave (gearing one axis to the other axis) and sending the same position command to both the axis and starting them sychronised. In both cases the result is similar. I get this clattering noise for slow speeds and it dissapears once the axis gets to high speeds. 
    What can I try to get rid of this clattering noise?
    I plan to test how does it work if I put the same encoder signal for both the motors, intead of having one encoder at each motor? Should this improve behaviour?
    I think that the best solution would be to control one motor in position and send to the other its DAC output.  It this possible ? I am using the flexmotion library programing in C.
    Thank you

    The best option was to command the two motors separately. We could get
    rid of the clattering with the help of some mechanical adjustments.
    We are doing some tests with the device. Some straight line movements
    moving different loads.  It works OK until 20KN at 300rpm and
    acceleration of 1rpss but when we try a stright line movement with 22KN
    the device stops giving a following error. We wanted to test if it
    could move the the load, so we took the following error check off. We
    found the behaviour to be similar, but this time the following error
    bit is not set to 1.  I copy the axis state data of one test:
    t            Pos1    V        DAC1    DAC2    STATUS1            STATUS2
    (seg)    (mm)   (rpm)    (volt)    (volt)
    0.17    -0.03    0.00      1.92    1.14      :0100010000000000    :0100000000000000
    0.34    -0.02    13.46      3.77    2.84    :0100010000000000    :0100000000000000
    0.47    0.17    40.39      3.20    2.77      :0100010000000000    :0100000000000000
    0.61    0.37    53.85      3.27    2.84      :0100010000000000    :0100000000000000
    0.80    0.67    81.43      2.92    2.42      :0100010000000000    :0100000000000000
    0.94    1.20    114.43      3.34    2.70    :0100010000000000    :0100000000000000
    1.11    1.66    122.23      1.99    2.70    :0100010000000000    :0100000000000000
    1.25    2.34    158.97      2.42    2.92    :0100010000000000    :0100000000000000
    1.38    2.96    164.08      1.99    2.21    :0100010000000000    :0100000000000000
    1.55    3.62    184.93      2.63    2.70    :0100010000000000    :0100000000000000
    1.69    4.53    212.79      2.92    2.56    :0100010000000000    :0100000000000000
    1.83    5.42    226.74      2.28    2.56    :0100010000000000    :0100000000000000
    2.00    6.57    255.35      2.70    3.55    :0100010000000000    :0100000000000001
    2.13    -1.21    -2512.54  7.00    7.00    :0100010000000001    :0100000000000001
    2.25    -9.83    -2558.19  7.00    7.00    :1100010000100011    :0100000000000001
    2.45    -22.64    -1691.88  7.00    7.00  :1100010000010010    :1100000000010010
    2.58    -22.18    -33.69      7.00    7.00  :1100010000010010    :1100000000010010
    2.75    -22.19    13.46      7.00    7.00   :1100010000010010    :1100000000010010
    The tests start OK, but after getting to 5.42 mm on the position (when
    the command was 200mm) the motor 2 goes to Off (pin 0) and then the
    motor 1. We don't understand why could this happen. The following error
    check has been dissabled and we see that the pin for it stays in 0, but
    why is the pin 0 set suddenly to 1?
    Thank you,

  • Where the interrupt routine vectors stored in if I disable the AXI interrupt controller fast interrupt option?

    In an IPI system, I have several IPs connected their interrupt output with AXI interrupt controller. In the software part, I can create several interrupt callback functions for different interrupts. I wonder Where the interrupt routine vectors stored in if I disable the AXI interrupt controller fast interrupt option? Are they stored inside the specific IP?
    E.g.: if I have an VDMA and setup its callback function for general and error, then the callback function starting addresses are stored inside VDMA registers?
    Thank  you.

    >> The address of the ISR is stored in this table", so is the table stored inside the interrupt controller on inside ARM cpu? But when I used microblaze, it seems there is no interrupt controller inside the microblaze
    No, that table is in a memory which implements the processor's address space. If you use MB, you can add an interrupt controller to it but that's not relevant. Interrupt controllers cause processors to jump to a fixed location in their address space. At this point in time there are two main options: either some program has registered to respond to this interrupt or not. In the latter case, the OS, bare-metal app etc takes a decision on what to do: ignore the interrupt, crash, just turn off that interrupt and return etc. If an interrupt has been registered to respond to that interrupt, the address of the interrupt service routine is in table belonging to the OS, bare-metal app etc so the code at the fixed offset jumps to the address inside that table ie it jumps to the ISR.

  • [iPhone] Enable paging for only one axis?

    Hi! Basically what I am looking to do is exactly like the AIM application where I want to have a paging effect horizontally, but I want to scroll vertically.
    Unfortunately, the best I can come up with is a scrollview inside another scrollview. This doesn't seem to work as the inner scrollview (that controls vertical scrolling) doesn't pick up any touches when it's inside the paging scrollview.
    I was wondering whether it really is two scrollviews or whether I can enable paging for only one axis.
    How would I go about programming this?
    Thanks!

    {quote}You need to have only one scrollview that handles the vertical scrolling. Then add code to the touchesBegan:withEvent: method to detect a horizontal swipe. When you detect one, programmatically animate the page change.{quote}
    I had the same question as this topic and this answer was what I ended up doing.

  • How to set a keyframe with setValueAtTime for only one axis?

    Hi,
    I´d like to set a keyframe for the layer´s scale, anchor point values but separately. Let´s say I want to add the following keyframes to a layer:
    time: 0, value: 100, axis: X
    time: 0.3, value: 10, axis: Y
    time: 1, value: 110, axis: X
    If I use setValueAtTime(time ,[x, y]) it always places a keyframe for both axis.
    How can I set a keyframe with setValueAtTime for only one axis?
    Regards,
    Thomas

    Dan, thanks for your fast reply. But the problem is a bit difficult to describe for a german like me
    I´m try to convert given keyframes from another application. Let me visually show how it handles keyframes that are set on different axis at different times:
    X: O---O---O
    Y: ---O--O-O
    You see when the user sets a keyframe and both axis were modified, both have a keyframe (see the last key). But if only one axis is transformed and the other not, there is only one keyframe. The problem that I try to solve is that AE is only able to set a keyframe for both axis at a given time. So if I set the 3 keyframes of the X axis first, the AE script will set keys on the Y axis simultaneously. That´s bad because it adds keyframe to the other axis where there is no value "cache". So if I would set all keyframes it would look like this:
    X: O--•O-•-O
    Y: •--O•-O-O
    The small dots indicate those "forced" in-between keys.
    So is there a "native" scripting way to separate the dimensions (like the position prop) for other props and add independent keyframes?

  • Importing a velocity vector when blending moves on one axis

    I have altered the template of 'Sequence of Blended One-Axis Moves' such that it imports a vector of moves, but am trying to also import a vector of varying velocity values to accompany each position value that is input into the program. I have tried moving the velocity input into the loop as well with no success. Any suggestions?

    Dear Iaf3g,
    Have you tried creating an array of Velocities corresponding to the Target Position Array and then auto-indexing it into the while loop much the same way as the Target position array? Then you could input a different velocity to the Load Velocity VI each iteration of the loop. You also need to make sure that both the Load Position and Load Velocity VIs execute before the Start Motion VI, and you can ensure this by the way you route the error wires. It sounds like you tried something similar to this. Why didn't it work? What errors were you getting when trying to load velocities in this way?
    Best Regards,
    ~Nate

  • Multi scale graph

    I have made an LV in 6.0. It has a multi scale graph. it is attached. As you see there are three types of plots on this graph. How do I show only one scale and hide the other two scales? I want to avoid editing everytime I want to use a particular plot or scale.
    Attachments:
    forum.doc ‏31 KB

    I hope I understood you well. There is a property node that changes the scale labels.
    Just associate the scale names with the graph type selector, as shown in the picture below
    Message Edité par chilly charly le 10-22-2005 03:25 AM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Example_BD.png ‏4 KB

Maybe you are looking for

  • Create Project Web App Instance - Failed to find Project Site object. Are there any database mounted?

    Hi New Installation. Sharepoint 2013, Project Server 2013 and SQL Server 2008 SP1 (another box). When I try to create Project Web App Instance, I get  Provisioning 'PWA': Post provisioning setup failed. Exception 'Microsoft.SharePoint.SPException: Fa

  • How to Resolve Name in IIS 8.

    Dear I Try to Configure IIS 8 and its Working Properly in IP Address Like For Example "125.209.86.102", Now Problem is How To Configure to Name and Resolve like for Example "www.test.com" But yet not Working... Please Help me and My question is How t

  • Importing song files between computers

    Hi. I've been trying to help my wife import song files from her desktop PC iTunes library to her laptop PC iTunes library, without much success (I'm a Mac guy). Her iTunes libraries can "see" each other, but when you try to access them, a message app

  • Embed pdf in email

    is there a way to embed a pdf in and email?

  • Trying to write an application to mount Windows Share in osx

    Hello, I am very new to the osx environment and I was hoping someone could point me in the right direction. I have a decent amount of programming experience in windows environment, but absolutely no experience writing apps for osx. I would like to wr