Link to the plot area slider

Hello

I'm having a problem with the cursor in a plot of intensity. I use two slider in the plot of the intensity and using these cursor position in my program. The input file is a 2D array and size of the file (table) differ from one experiment to another. Sometimes, when I load my file the cursor moves to a value of previous file and is so not visible in the plot (because the previous file can have larger size). Is there a way related to cursor to tell certain position (as in the center of the plot or half the value of size X and y axis). So in summary, I want that when I load my 2D cursor file in the plot of the intensity must be at a certain position depending on the size of the axes X and Y - but he should be able to freely slide so I can move and use the cursor position using node property to calculate other values.

BTW, I'm using Labview 8.2

Thank you

Yogesh

Just write the position of the cursor to move the cursor to the desired coordinates. For example if your new 2D matrix is 50 x 50, move to 25.25.

Later, you can intereactively move elsewhere as before.

You must also disable scrolling cursor (Right-Click Advanced...... Graphics Scroll cursors). This way you will not be able to move the curor outside the limits of the current area of the field.

Tags: NI Software

Similar Questions

  • Align WPF elements with the plot area

    Is there a recommended way to align WPF elements outside the graph with the plot area? I like my UI align the left edge of area of land. Another use case is lining up outside elements with a RangeCursor.

    The way we do now is to add a canvas as a child of the graph. The canvas contains a hidden Visual position ourselves with Canvas.SetLeft using values calculated from the graph margin and padding. Then, we call PointToScreen (new Point (0,0)) on the display. It works most of the time, but the position of the Visual sort of trolling the real edge graphic when the y-axis range changes (and a few other changes axis, that I've not completely nailed down). By calling UpdateLayout on the display when the range changes, I can make it work most of the time, but when I do that, I find that I spend a lot of time CPU in the user interface thread to this appeal.

    Currently, the graph does not directly expose the offset of the plot area in the border of the control. Your method of using a nested Visual to calculate the offset appears as a reasonable approach with the current API. I created a quick mock-up using this approach for certain forms of referring to the plot area and a range slider:

    XAML
        
            
                
                
                
            
            
                
                
                
            

    LayoutUpdated="OnGraphLayoutUpdated">
                
                    
                    
                
                
                    
                    
                
            


            
            
            
        

    Code
        public partial class MainWindow : Window {
            private static readonly Range RelativeRange = new Range( 0.0, 1.0 );

    public MainWindow( ) {
                InitializeComponent( );

    rangeCursor.HorizontalAxis = xAxis;
                rangeCursor.VerticalAxis = yAxis;
            }

    private void OnGraphLayoutUpdated( object sender, EventArgs e ) {
                UpdateAlignment( );
            }

    private void UpdateAlignment( ) {
                Size size = graph.RenderSize;
                if( size.Width <= 0.0 || size.Height <= 0.0 )
                    return;

    // Get reference point to canvas in bottom-left corner of graph.
                var referenceTransform = referenceVisual.TransformToVisual( graph );
                Point graphBottomLeft = referenceTransform.Transform( new Point( ) );

    // Apply margin to size and bottom-left reference point.
                Thickness margin = graph.Margin;
                size.Width += margin.Left + margin.Right;
                size.Height += margin.Top + margin.Bottom;
                graphBottomLeft.X += margin.Left;
                graphBottomLeft.Y += margin.Top;

    // Calculate top-right reference point.
                Size plotAreaSize = graph.GetPlotAreaSize( );
                Point graphTopRight = new Point(
                    graphBottomLeft.X + plotAreaSize.Width,
                    graphBottomLeft.Y - plotAreaSize.Height );

    // Get reference points for range cursor within plot area.
                var horizontalRange = rangeCursor.GetRelativeHorizontalRange( ) ?? RelativeRange;
                var verticalRange = rangeCursor.GetRelativeVerticalRange( ) ?? RelativeRange;
                Point cursorBottomLeft = graph.RelativeToScreen( new Point( horizontalRange.Minimum, verticalRange.Minimum ) );
                Point cursorTopRight = graph.RelativeToScreen( new Point( horizontalRange.Maximum, verticalRange.Maximum ) );
                cursorBottomLeft.X += graphBottomLeft.X;
                cursorBottomLeft.Y += graphTopRight.Y;
                cursorTopRight.X += graphBottomLeft.X;
                cursorTopRight.Y += graphTopRight.Y;

    // Set margin to align graph and cursor visuals.
                graphTopRectangle.Margin = new Thickness { Left = graphBottomLeft.X, Right = size.Width - graphTopRight.X };
                graphLeftRectangle.Margin = new Thickness { Top = graphTopRight.Y, Bottom = size.Height - graphBottomLeft.Y };
                cursorBottomRectangle.Margin = new Thickness { Left = cursorBottomLeft.X, Right = size.Width - cursorTopRight.X };
                cursorRightRectangle.Margin = new Thickness { Top = cursorTopRight.Y, Bottom = size.Height - cursorBottomLeft.Y };
            }
        }

  • No links to the local area network connection. But how to use the Internet again, please help establish a LAN connection.

    Original title: no local network connection

    No links to the local area network connection. But how to use the Internet again, please help establish a LAN connection.

    Hi H.mustafaakyurek,

    ·         What operating system is installed on your computer?

    You can view the following items on the creation of a network connection:

    Setting up a network home

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-home-network

     

    Start here to set up a home network in Windows 7

    http://Windows.Microsoft.com/en-us/Windows7/start-here-to-set-up-a-home-network-in-Windows-7

     

    Setting up a wireless network

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-wireless-network

    Also see the following articles on the connection of an Internet connection:

    What do I need to connect to the Internet?

    http://Windows.Microsoft.com/en-us/Windows7/what-do-I-need-to-connect-to-the-Internet

     

    Allows to connect to the Internet mobile broadband

    http://Windows.Microsoft.com/en-us/Windows7/use-mobile-broadband-to-connect-to-the-Internet

    Hope this information helps.

  • Table report - property of the plot area - more options of 5 series

    Version - SQL Developer 4.0 EA1

    It is possible to specify options of series more than 5 to the title of the "plot area' of a line chart report? I tried editing the file 'Report.xml user' to specify the option of more than 5 series, but he has made report not being is not practicable or editable.

    Kind regards

    Vishal Gupta

    http://blog.vishalgupta.com

    Hi Vishal,

    It is not currently possible to change the number of series options, but it is a very good suggestion which is taken to include in a future version.

    Phil Richens

    SQLDev development team.

  • Link to the embedded Captivate slide HR topics?

    RH10, WebHelp, Captivate 6

    Hello

    I use HR for years, but I am new to Captivate.

    I want to have a substitution effect in a topic of WebHelp, whereby the user can hover the mouse over a chart and a window will open. Inside the pop - up will be hyperlinks to topics of a WebHelp project.

    My understanding of this day, is that I can insert a Captivate slide in topic WebHelp to achieve this. The slide in Captivate would contain the graphic background and a "slidelet.

    My question is, at what point can I create hyperlinks to WebHelp topics in the slidelet? I have to do to Captivate, and if yes how can I specify the path the link target?

    Or I can make this link after I got the Captivate slide and slidelet in WebHelp project?

    Hmmm, for some reason, I forget that they have added the ability to Captivate 6.

    Good so what you have to do is consider where the Captivate movie will (as in which folder) at the time wherever it is presented in the WebHelp. If you are linking to the XXX.htm section and within RoboHelp, this topic is in a folder called FolderOne, it will depend on the folder that the Captivate movie is. Often, they are inserted in the root of the project. So if this proves to be the case, you should insert the following text in the field:

    FolderOne/XXX.htm

    I'll give my theory a try and see if it works for me.

    Remember that the links might fail when you test locally, unless you add the location of the project to the list of sites approved for the Flash Player.

    See you soon... Rick

  • URL links does not work in the lower left corner. Becomes blinking (between the address of link url and displayeble). Try for example push a few PHP my admin link (if the arrays are enough to bind apper in the corner at the bottom left). Fix this bug plea

    Hello world! I want to report a serious bug and very annoing.
    Go to www.kdevelop.org for example (or any other site), which has a link in the lower left corner. You will not be able to click on it! Cause firefox starts to Flash. Hard to explain what it looks like, it until I did a picture on here screenshot of a bug .
    Some examples of video too. Take a look at what comes when I want to click on the link above. video example of bug
    So try to any site you want, which has links (< a href > < /a >) if the bottom left corner. It's annoing. Is it possible to fix this? Actually this bug appeared because of the deletion status bar in firefox 4, where usually URL was exposed on the mouse on. Hope you understand my problem, sorry for my bad English. More info: System: 64-bit Linux (OpenSuSE 11.3). Firefox 4 b 12

    It looks like a problem with the theme. I see 'tooltip' in the right-hand corner in this case and not at the same position as this button.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > themes).

    • Makes no changes on the start safe mode window.
  • re installed XP. Which if I understand correctly it breaks the path (links) here, where are the pictures. Photos are still there. How to make to restore the links to the photos are located under my pictures. Thank you

    I have not read method 4 5 methods before re install XP on top of the instalation of gooseberry.  Somehow, I had picked up Paladan or palladium that froze my system and wouldn't let me go unless I bought it.  So I used the recovery disc to repair XP.  Once I did I found that all my photos did not appear in my photos.  I installed Picasa and can send pictures very well.  I would like to get XP to recognize the photos so I can use Outlook to send photos.

    I read a few other posts and wonder why in method 4 to install in a separate folder?

    The installation disc said repair and I just let it go in automatic mode. How does the system decide which version to boot from?  When it is in a different folder with a new name?  Is it the latest version installed to boot from or what.

    Thank you

    Hi Muddlinthru,

    · What article are you talking about for relocation?

    · Where are the photos?

    · You receive an option to select the operating system to load into the start menu?

    Important : reinstall the Windows operating system or upgrade your OS on-site is a troubleshooting step extreme that you should only take if you fully understand the ramifications and risks involved. If you decide to take this step, make sure that you have the original Windows XP media and product installation key provided with your operating system. If you are not comfortable trying to reinstall or to repair the Windows operating system, you can contact the manufacturer of your computer for help or bring your computer to a professional repair shop.

    You can check the link below: how to perform an upgrade on the spot (reinstallation) of Windows XP:http://support.microsoft.com/kb/978788

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to add a link to the html area to launch a dynamic action?

    Hey, guys:

    I need to add a link to a region of html hyper (I wish it could be a button :(), the value of the items in this region is loaded by a process of pl/sql before loading the header. And this link must trigger a dynamic action to update the database. I know how to add a link Super in this region, but how to define this link if I can launch a dynamic action by clicking on this link, could someone give me a hint?

    Thank you very much in advance.

    Sam

    Published by: lxiscas on April 11, 2013 17:04

    When I said updateRec I was just a name. Using the class alias_ncic will produce exactly the same result.
    Learn more about what you're trying to do, I wouldn't do that with DA at all. I would probably do the link send page and launch a process that call your PL/SQL. But if you must do a DA I'll try to explain a technique below.

    When you say

    Then, I pass two values of two hidden variables:

    P216_H_NCIC_APPROVE_TABLE_NAME---> "SOR_ALIAS".
    P216_H_NCIC_APPROVE_KEY_VALUE---> #ALIAS_ID #.

    Your link not pass anything because you never actually call the link, you have a DA of the substitution of the link action.

    So... try something like that. Use it for your link attributes:

    onclick="return false;" class="alias_ncic" title="NCIC Approve" id="#ALIAS_ID#" rel="SOR_ALIAS"
    

    This defines two attributes more to enter the values you need to.

    In yourself DA action on a.alias_ncic add two actions to "set the value.
    1.
    Action: Set
    Set Type: Javascript
    JavaScript expression: this.triggeringElement.getAttribute ("id")
    Assigned items: P216_H_NCIC_APPROVE_KEY_VALUE

    2.
    Action: Set
    Set Type: Javascript
    JavaScript expression: this.triggeringElement.getAttribute ("rel")
    Assigned items: P216_H_NCIC_APPROVE_TABLE_NAME

    Now you have your values defined.
    Make sure that in your PL/SQL Execute Code action you both of these elements in the field "Page to go" so that they values are actually passed.

    That should do it.
    Thank you
    -Jorge

    Published by: jrimblas on April 29, 2013 16:49

  • Links in the PDF are not open in Adobe Reader

    I created a PDF file from Adobe Acrobat that has links that open external web pages that works perfectly in Adobe Acrobat, but when the PDF file is opened in Adobe Reader, nothing happens when you click on links on. The cursor changes and the URL is displayed when hovering above, but when clicked on nothing happens. Now I tried the CTRL key and change various parameters "Trust Manager" in Preferences, but nothing seems to work. Do I need to save the PDF in a different format to allow links to be opened in Adobe Reader?

    Using Adobe Reader Version: 11.0.3 and Adobe Acrobat Version 11.0.10

    Hi Fallynn,

    Try this:

    Open drive

    Go in Edition > Preferences > Security (enhanced)

    Uncheck the Enable Protected Mode option

    Click OK and restart.

    Now, check the PDF file.

    Thank you

    Abhishek

  • plot area chart mixed signal displayed

    I have a graph of mixed signals with 2 areas of land and am trying to optimize the flexibility with the screen space and look at a.  Sometimes I want to see the two draw areas in display at half the height of the graphical display of any mixture GIS and sometimes I need better display resolution that makes me want to make one of the plot areas fill the full graph of the display area and then simply scroll down to see the other.

    What is the best way fo doing this if I want to press a button to easily switch between these 2 views?  Use display port size and properties limits or something else?  (The properties of ports and view limits are not well-defined dimensions of what I can find either)

    Hello

    You can do this by using a combination of several nodes of property.  You can use the PlotAreaSize property to manually set the size of the individual parcels (not the viewport).  Note that you need to use the ActPlotArea property to enable each parcel before resizing.  After you set the size of the plots, set the size of the window using the window-> size-> all the items property.

    I advise to use a structure of the event to change the properties when you click the button to toggle between the two views.

    Hope that helps.

  • Link on the Web page that returns the user to a specific slide in CBT?  CBT "named anchor"?

    Is there a way to give a user a Web page link that sends a user to a specific slide in a CBT?  (a bit like "named anchors" in HTML)

    I have a list of tasks that users can watch simultaneously OR individually.  Accessing the CBT of emails and Web sites.  Emails, he will lead them to a stage in the diagram below.  On the site, they can choose to start at the beginning, or choose a specific step.

    If this isn't the case, then I will have 2 versions.  One of the versions has all the sections in a single file.  The other version is a bunch of separate files in order to link the individual.

    Overview: Capture, manage, and complete performance objectives with employee (process with links to the different sections below diagram... like shortcuts)...
    Create / suggest new objectives of performance to the employee what to do / are not aligned with organizational objectives
    Approve, revise or reject the goals created by employee
    Change the approved objectives:
    Add or modify objective comments
    Change the alignment on organizational objectives
    Change objective rating criteria
    Complete the objective
    Mass create goals
    Enter objective filled

    Micky

    Hey Micky,

    You may need to use javascript to achieve this.

    Please visit this link: http://captivatedev.com/2011/05/01/how-to-jump-to-a-specific-slide-in-a-separate-course/

    Do you want what it this way, if I understood your query?

    Thank you

  • Why are all the links on the site of sierra going to El Capitan information...

    Why are all the links on the site of sierra going to El Capitan information...

    What site? The Apple - http://www.apple.com/macos/sierra/ - one is connected to what you expect, as do the links on the page at the top of this thread.

  • Where are the tabs to links in the toolbar?

    Cannot place fave links in the toolbar as before.

    Make sure you always have the "Bookmarks Toolbar items" on the personal bar

    If the menu bar is hidden, then press F10, or press and hold the ALT key, which should make the "menu bar" appear

    Ensure that all toolbars like the toolbar 'Navigation' and the 'personal bar' are visible: "view > toolbars".

    • Check in "view > toolbars > customize" "Bookmarks Toolbar items" are on the personal bar
    • If the "Bookmarks Toolbar items" is not on the bookmarks toolbar, then get it back from the window Customize on the bookmarks toolbar
    • If you do not see the "Bookmarks Toolbar items" or other items which do not appear in the palette of the toolbar or a toolbar, then click on the button "Restore Default Set"
  • Since the upgrade to ios 9.3 on my iphone 6, links in the email and SMS are not working and freeze the apps.

    Since the upgrade to ios 9.3 on my iphone 6, links in the email and SMS are not working and freeze the apps. If anyone has had this problem and if yes, how do solve you this problem?

    There has been a number of similar reports. See also http://osxdaily.com/2016/03/25/troubleshooting-ios-9-3-update-problems/

  • How to ensure that the graph xy plots are present?

    Hello community,

    Since the update to LabVIEW 2014 this week, I have a problem with the code that worked (or didn't, but the problem was unnoticable).

    As example the llb I created to present the question, I'm graphic xy filling with quiete some data and then color programmatically plots.

    The problem is that if there are too many plots then the property nodes that are to color the mistakes of Mr. thow plots as if the corresponding plots were not present in the graph still - even if I used a single flat sequence structure to try to ensure that the data is written in the plot before trying their color.

    Maybe this wouldn't be in LabVIEW 2013 too - but the threshold for the number of plots was higher. All I can say is that I have observed this with data sets that worked well in 2013 of LabVIEW.

    To reproduce simply run 'color of the graphs.vi' with values high enough to 'numerisch' and ' numerisch 2 "(50 on my machine can be more about yours).» I left the terminal nodes property unwired error so you get caught up in the right position when the error occurs.

    Somehow check if all parcels are in the charts again? This way I could introduce a delay that ensures that I don't have the color of the graphics that do not exist yet - regardless of the speed of the target computer.

    Xy graph behavior has changed in 2014 of LabVIEW? Or maybe his performance?

    Best regards

    Florian

    HM, your addendum somehow answered my question. We are indeed an against the user interface thread race condition.

    Unfortunately, I do not know a method to wait than the UI thread to have access to all plots. In addition, the waiting time that you need depends on the ability of the system, which is dynamic, you know not all processes background or in parallel, running applications.

    That being said, I recommend a work around:

    1. create the data for the plots

    2. how many plots you have in query data

    3 write short dummy data in the terminal, and not the data of the whole plot

    4 Recolor plots

    5. write the correct field data

    Norbert

Maybe you are looking for