chart with 2 scales of y

Hello, I use the Labview 8.2.1 and I would ask for a solution.

I use a graph of waveform with 1 x-scale and 2 scales of y. The scale is a rest and the other is on the right side of the chart.

I created 2 plots and I assigned corresponding scales.

I want to draw 2 XY tables one after the other with different scales there. Specifically, there must be a plot that ends at a value of the x-axis and from there the other plot should continue to use the other ladder there.

For this I tried a 'sequence Structure', in the first image, I create the first path using 3 'nodes of property': Plot.YScaleIndex, ActivePlot & ActiveYScale and I give zero for them in order to use the first scale y.

In the second frame, the second conspiracy giving the integer 1 I have create the above 'nodes of property', but the first plot disappears and the second plot does not use the second ladder there but the first.

This is the frame1:

It's the frame2:

What can I do?

Thank you in advance.

What happens in your sequence structure, is the second celebrity replaces the data of the first case.

You must create your two data sets and build an array of those, fed this in a loop for, then by all data, select the right:

-field (ActPlot)

-Y-scale (Plot.ScaleIdx)

-Y-scale to edit (ActYscl)

We then put the max and min, be aware that the second ladder must be created before running this code.

Another option would be to auto scale just scales-Y.

Tone

Tags: NI Software

Similar Questions

  • Chart with multiple scales of Y

    Hello

    As you can see in the excerpt, I'm trying to plot a graph with several scales of Y. What do you think is wrong with it to get the following error.

    Possible reasons:

    LabVIEW: invalid property value.

    I wouldn't change nothing to indexing.  You already wrote this code.

    I clicked the balance you already had and clicked on "Double ladder" to create the second and third.  Once they have existed, the crux of your property has worked fine as it was.

  • Chart with graphic behavior

    I would ask for advice about how to best manage the following scenario:

    I often update a XY Chart, with 12 curves. I created a Subvi ActionEngine which acts as a buffer (add points, read out data) of the graph, and has a few other actions, like emptying the buffer, decimating the data points, etc. So at 1 Hz rate I send data to this XYGraph 12 curves, and it will redraw, everything is OK.

    There are 12 permanent tasks of data acquisition, with a frequency of 1 Hz, I want to show the user how to change the curves. It is also important to have a line of vertical slider so that the user can examine the values to different timestamps (X - values are absolute timestamps). Everything works fine, except that when I turn off the X-autoscale, if the user cannot see lets say the last hour of data points (3600 X 12 points curves, I know I should decimate usually, but LabView usually completely manipulates the situation OK when you have several points and pixels... at least then I can live with that).

    So the problem: If X autoscale is disabled and I have send new data to the chart sets every second, the chart does not display the points on the right side, as in the case of a graph. Shell how I make the chart handle this situation? Shell, I put the 'max' (X-scale - range - Maximum property) of the scale-x via property nodes every second? Is this OK to do? Any other idea?

    A kind of workaround would be to use a chart XY-Graph. The user could inspect lets say later 1 hour of data with the table (or disable autoscale, the last minutes if necessary) and the XY-Graph would work as an overview, the user can manually update by a button and after the game with the zoom features, etc...

    What do you think? How do you manage such a request for data acquisition? If the user needs to see what is happening recently with curves (pressure, flow rates, temperatures), but also be able to examine the evolution of the curves of the last 24 hours...

    Edit: hmm, usually I get new ideas after writing my problem I think I try to attack the problem from the wrong side: instead of fighting with the properties of the graph, I could just create a 'Set Range' action in my Subvi buffer, so when the user wants to see lets say that the last 10 minutes of data , I only send these data to the Subvi points to the curve... hmm I think this would be a more pleasant solution... What do you think?

    Here are a few options. You may want to consider depending on your actual application:

    1. A graph-based mouse event opens a new VI, where you put all the data that you want and let the user to play with him. When they are done, they close and you will return to the live graph. It's somehow easier, because you are working on a separate copy.
    2. The range of the actual data fed to the curve is controlled by a separate scrollbar X. The scale is then set to autoscale. When the user changes the value of the bar to scroll or zoom, you stop the chart update. That you take back the update after a time-out or after the user makes the scrollbar of the max value or after they have pushed a button to refresh.
    3. Feed you all the data in the chart, but you control the X scale. In this case, you must still decide when to stop the change of scale and when come back.
  • Aligning a zero position on a graph with several scales & Auto scale

    Hello!

    I hope it's a quick - but google searches and browse the forums nothing have mounted.

    I have a graph with two scales - a position and a speed (which can obviously differ from each other). I want to be able to do is to have the scale auto chart/scales - but for the 0 position to stay in the center of the chart. With 0 balance point to different places, this is the graph that is very difficult to understand at a quick glance.

    If you see the attached screenshot - the positions of two 0 are in different places.

    Is it possible to have the scale automatically, but for zero to stay in the center of the graph for the two scales?

    Many thanks in advance,

    Sam

    (As I know) you can't do this with auto scale.

    Disable the autoscale, and then manually set the interval to be symmetric compared to zero for each scale.

    Find the maximum of the absolute value of each table of marks.  Then put it away on + and - of this value.  (in the example below, I did a loose fit by multiplying by 1.1).  Since you have more than one scale of the axis, you need to browse to treat each of them at a time.  First of all, he must be told what balance Y you want to adjust, then, set the values.

    Another option would be to have align the zeros, but not that the scale is symmetrical around them.  You can do that too, it takes just a little more math.  I would like to know if that's what you want.

  • Calculating the value of output with custom scale

    Hello

    I defined a custom in MAX scale.

    I want just to calculate the value of an input applied with this scale value.

    Process is simple:

    X-online custom-online output value scale

    in the process of

    Is there a way to do it simply (reminder: custom scale can be linear, polygon, table etc...)?

    Looks like you might need to check the interpolation
    http://zone.NI.com/reference/en-XX/help/371361J-01/GMATH/interpolate_1d/

  • bar graph with two scales of y

    Hello

    I have a graph with two scales different (one on the left side from 0 to 50, the other to the right of 0 to 1)

    Now I want to draw horizontal lines limit. I do this with the programately adjustment sliders.

    But I can only put the sliders that "belongs" to the first scale.

    Is there a solution?

    Thanks for any help

    Yves

    LV 8.6

    Hi Yves,

    You can assign each slider to a YScale. Simple right click on the cursor and choose the YScale. I think you can also do it programmatically.

  • line chart with a single point of data not displaying not

    I work with the line chart and I am facing problem
    (1) if I get a data with a single point to draw, the graphic is not
    the graphic line required at least 2 data raising the graph appear
    How to make a graph to display when I get one record in my
    data provider.

    I'm housing one gettong point (x, y) in a single record.
    so this table does not appear I need two points, two points (x 1, y1) and
    (x 2, y2)
    y at - it a solutioin to draw the line chart with a point (x, y) and
    show some points in the chart?

    Looking forward to hear from you guyzz, thanks for looking into it.

    Thank you

    I tried in IE and Firefox - everything is OK.

    What version on FP for IE and Firefox are you using?

  • Table of clusters with graph - scale change event Y

    Hello everyone

    I have an array of Clusters with a graphic within each cluster. I need raise an event when the user, type a new value to the scale of the graphs Y and press "Enter" to apply the change. Any ideas how to trigger that?

    I am not considering event 'mouse enter' because I have other events related to that already.

    Thank you

    Dan07

    Given that the graph is in a table, you must dynamically record the event of change of scale. Typical static records are not allowed for the elements of the array, and it is not a good reason why they cannot be admitted, that's why I created an idea for allow static event registration of items in the array. I hope you go to the exchange of ideas and vote for this idea.

  • How to see the chart with labview WebService

    Hi all

    I am looking in the labview 8.6 web services option. I've seen some simple examples that can be found here on the website of the NC. But these examples generally deal with static data. As in the example of the sum, you enter your parameters in the URL, and the result is displayed in your web browser.

    What I want to do now is display a chart in my web browser that show a mobile signal. But I'm having a hard time the realization of this. How to make this work? Do I need AJAX, Measurement studio? or is it sufficient to use the labview web service.

    Best regards.

    ynse,

    You are right that web services do not require runtime must be installed on the client. Unlike the remote panels that make the VI on the client, web services nothing do with the client at all. Simply, the web service is running on the server and returns data to the client. The customer can return the data, but he wishes.

    Your question about studio of measure and AJAX is really asking questions on the client end. You can certainly use the AJAX controls that are updated with the data they acquire a web service from LV. A graph, however, is extremely difficult because javascript has not yet drawing capabilities.

    Web graphics I've seen do one of the following:

    -'Draw' the points on graph using HTML elements with javascript. It of complicated, would be difficult to get working on all browsers and would have problems of severe performance with large data sets.

    -The web service returns an image of a graph that refreshes the client. It takes more bandwidth than necessary, and the server must be able to take a snapshot of the graph. (LV real-time cannot use this approach.)

    -The graph is rendered using a plugin for the browser. There are many technologies that can be used to do this: Java, Flash, Silverlight, etc. The example you mentioned used flex from Adobe which is a valid approach that you should not be quick to dismiss.

    Measurement Studio is not my area of expertise, and I don't know what it can provide for the creation of a graph. What it provides probably made use of one of the above methods.

    Nathan

  • Video playback with the scale is "scrambled" and not

    Hello

    I have been working on it quite widely and could not find a solution. I've seen this thread:

    http://www.BlackBerryForums.com/developer-forum/159304-playing-videos-BlackBerry-J2ME-app.html

    But the presented solution did not help me.

    I am creating a video player using MMAPI I can use the RIM API too if necessary, but given that my request is more focused on canvas I prefer using MMAPI (the application derives from full screen and use the rim API). When I try to play a video the application adapts to the position of the user interface, it works on all devices non - rim with the MMAPI code that I use but the breaks on the RIM.

    Is there a form any workaround on the video scale on RIM devices?

    I am currently using VideoControl.USE_DIRECT_VIDEO, but I tried the USE_GUI_PRIMITIVE sunk to the field with similar results. The only solution that worked for me was to avoid the scaling that is not a solution... Are there examples of code that does something like that with success?

    BTW I use 4.7 and 4.5 simulators and video, I'm playing is of the video sample that comes with the Simulator (EmbeddedMediaDemo: BlackBerry.mp4).

    Thank you.

    If the size of the original video (I mean dimensions) is smaller that you use during playback - video will be blurred.

    It doesn't matter how device, API, regardless.

  • refresh when resizing? to avoid blur with sensitive scale

    Does anyone know how to make edge to refresh when a window is resized?

    I ask because "of the blur in resizing' that some of us have lived aboard.

    This was considered a "matter of browser" so I'm not holding my breath so that it can be fixed soon.

    The project is here:Interactive map of Walkabout Bellevue

    It has the value of sensitive scale. When you size a window, it evolves with it, but the end result can be blurry.

    I found this is the case on some browsers, but not all (Firefox and IE seem to be ok, but Safari and Chrome get blur)

    If the window is resized, and then you click "Refresh", generally the picture becomes clear.

    I was hoping there was a code that would automatically refresh when the window is resized.

    Ideas, any help would be appreciated!

    Jason

    Hello

    This top-up code

    Location.Reload ();

    If you can put it on the function of resizing on the scene here:

  • What is the point of the column with 0 scale?

    DB version: 11.2

    What is my understanding on the precision and scale data number type
    NUMBER (p, s)


    Example: In NUMBER (5,3)
    5 ==> stands for the total number of digits including the numbers after the decimal point
    3 ==>. stands for the digits to right of the decimal point.
    But for the number type defined with scale 0 how I am able to INSERT numbers with decimal places as shown below? I even managed to INSERT numbers whose total length is crossing the precision 5 below (93939.223)

    SQL> drop table t1;
    
    Table dropped.
    
    SQL> create table t1 (empid number (5,0));
    
    Table created.
    
    SQL> insert into t1 values (883.2);
    
    1 row created.
    
    SQL> insert into t1 values (883.22);
    
    1 row created.
    
    SQL> insert into t1 values (883.332);
    
    1 row created.
    
    SQL> insert into t1 values (93939.223);
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.

    Decimal values are eliminated.

    SQL> drop table t1;
    create table t1 (empid number (5,0));
    insert into t1 values (883.2);
    insert into t1 values (883.22);
    insert into t1 values (883.332);
    insert into t1 values (93939.223);
    drop table t1
               *
    ERROR at line 1:
    ORA-00942: table or view does not exist
    
    SQL>
    Table created.
    
    SQL>
    1 row created.
    
    SQL>
    1 row created.
    
    SQL>
    1 row created.
    
    SQL>
    1 row created.
    
    SQL>
    SQL> select * from t1;
    
         EMPID
    ----------
           883
           883
           883
         93939
    
    SQL> 
    
  • Fields of text or objects move with background scale

    Hi, I'm pretty new to Muse and have encountered a problem. I put the browser fill either an image set to scale to fill. In this way, it evolves based on their browser. I put text fields in some places that interact with the background, but when the browser size changes and background image size changes the text field does not follow. Is there a way to set the text field to the size with the browser/background. I think it would be just an absolute based position on the bottom or top, but I'm not sure. Any help is appreciated. Thank you

    Reactive Adobe Muse CC 2015 is now online. Please install the update of CC > Apps.

    What's new: news summary

    Release notes: https://helpx.adobe.com/muse/release-note/adobe-muse-release-notes.html

    Delicate design:

    Adobe help Muse | Create responsive Web sites

    Adobe help Muse | Responsive web design in Adobe Muse

    Adobe help Muse | Migrate existing Adobe Muse Web sites to answer

    Tutorials

    To get started with Adobe Muse (replaces how to make a website with Adobe Muse (coffee of Katie)):

    - https://helpx.adobe.com/muse/how-to/create-responsive-website.html

    Create a sensitive webpage with Adobe Muse:

    - https://helpx.adobe.com/muse/how-to/responsive-web-design.html (more detailed features RWD of Muse demo)

    Thank you

    Sanjit

  • Bug of the scrollbar with script "scale to fit".

    Hello

    I meet some sort of bug with this nice script "appropriate size":

    http://sarahjustine.com/2013/04/08/create-scale-to-fit-projects-with-Adobe-edge-animate/

    I create an animation simple, consisting of a single image (step = 1024px X 3000px) with the script (see below) to do the test: everything works, the animation is snug, BUT when I resize the browser, the scroll bar keeps its original size, even if the height of the animation is very low.

    The bug concerns all popular browsers (version desktop and mobile *) except chrome.

    * I use this meta: < = happy 'viewport' meta name = "width = device-width " >

    example:

    animation = 3000px original height

    the scroll bar height = 3000px

    - - - - - - - - - - - - - -

    animation-scaled height = 600px

    height of the scroll bar does not change = 3000px

    I use no CSS, I just publish the animation with EDGE CC (not 1.5).

    Could someone give me some advice to fix this "bug"?

    Oliver.

    Sorry for my English, I'm French...

    A living example that seems to use this script (not),

    You can see the scroll bar bug if you resize the browser (IE or Firefox)

    http://www.ryanterry.NET/resume/HTML5/

    -the script (on.compositon.ready)-

    var stageHeight = sym.$('Stage').height (); Set a variable for the height of the stage

    SYM. $("#Stage") .css ({/ / set the origin of the transformation to always fit in the upper left corner of the scene})

    'transform-origin': "0 0".

    "- ms - transformation-origin": "0 0".

    ' - webkit - transform-origin ":"0 0".

    ' - moz - transform-origin ":"0 0".

    "transform - o - origin": "0 0"

    });

    function scaleStage() {}

    var point = sym.$('Stage'); Define a reusable variable to refer to the scene

    var parent = sym.$('Stage').parent (); Define a reusable variable to reference the container parent of the scene

    var parentWidth = stage.parent () .width (); Get the parent of the soundstage

    var stageWidth = stage.width (); Retrieves the width of stage

    var desiredWidth = Math.round(parentWidth * 1); Set the new width of the scene as it evolves

    var scale = (desiredWidth / stageWidth); Set a variable to calculate the new width of the scene he puts on the scale

    Resize the stage!

    internship. CSS ('transform', ' scale (' + scale + ')');

    internship. CSS ('- o - transform', ' scale (' + scale + ')');

    internship. CSS (' - SM - transform ', ' scale (' + scale + ')');

    internship. CSS (' - webkit - transform ', ' scale (' + scale + ')');

    internship. CSS (' - moz - transform ', ' scale (' + scale + ')');

    internship. CSS ('- o - transform', ' scale (' + scale + ')');

    parent. Height(stageHeight * Rescale); Reset the height of the container parent for objects below will be redistributed as the ADJUSTABLE height

    }

    When the browser is also

    $(window) .one ("Resize", function() {}

    scaleStage();

    });

    When the first load of the page

    $(document) .ready (function () {}

    scaleStage();

    });

    - - - - - - - - - - - - - - - - - - - - -

    Hey Oliver,.

    Try to encapsulate another div around the div. #Stage I think that scroll bars appear with the Animate script will recalculate the height of the parent, because if that parent is the body it is not adjusted for he thinks it is the initial height of your composition. If your HTML page will look like this:

    I found that I had to apply the height property to get it to hide the scroll bar, but the value is obsolete as it gets when even crushed by the script. Who give a shot.

    Good luck!

    Sarah

  • Update a chart with dynamic action

    Hi all:

    I have a page that has a form and a graphic, and I want when you change that a certain element will automatically update the chart. To do this use a dynamic action to run the following javascript code:
    apex_RefreshFlashChart (3, '34122504914708573 ',' en ');
    apex_SWFFormFix ('c34122504914708573');
    The first parameter is the page number, the second is the id of the card and the third is the language.

    Everything works as I need.

    The question is, how to get the id of the graph in a different way? To get it, I had to check the source of the page with Firebug

    concerning

    Gerardo

    can a dynamic chart refreshed? Capture of the substitution string "#CHART_NAME #" in the region of graphic source is the key.

Maybe you are looking for