XY position help

Hi everyone, I am working on a xy stage movement vi based of the XY Grid Inspector template. I am having problems doing a couple of things, I posted the code below, it is stripped of the motor vis it just plots the path of a 'virtual stage'. 
Here are the things I am trying to add:
A percentage for each 'position' to be overlapped by its nearest neighbors. 
The second thing is more tricky: I would like to be able to remove or add points (they are called grids on my vi) by clicking on them and then adjusting the movement array so that position is removed from the path (ie it moves to the next available position).
Finally, is there a way to add a mouse over event so that images that are taken at a given grid position are shown like a minimap by moving the mouse over the position of the grid?
Thanks.
Attachments:
Movement_xygridtest.vi ‏32 KB

Hi,
You can find a vi that describes how to use a mouse over event at the following link:
https://decibel.ni.com/content/docs/DOC-2226
Regards,

Similar Messages

  • IWeb - Fixed position - help!

    Hello,
    I have the problem with menu on my site. Trying to make it flow but nothing is working for me and I don't know why.
    Can anyone help me?
    Thanks

    Nothing wrong with your code.
    Since the code is displayed in a HTML snippet the fixed attribute of the div has no meaning.
    What needs to be fixed on the page is the HTML snippet itself.
    This page comes close to what you want :
    http://www.wyodor.net/_Demo/FloatingMenu/Fixed.html
    It was a first attempt to add custom menus to any part of the page.
    The menu you see there is not an HTML snippet, but a text box.
    It contains a word, which I find with a JavaScript and then replace the content of the texbox with the menu code.
    This is the HTML snippet. Look at the source :
    http://www.wyodor.net/_Demo/FloatingMenu/Fixed_files/widget1_markup.html
    And this is the javascript that makes it work.
    http://www.wyodor.net/_Demo/duckmenu/FloatingMenu.js
    It's what they call obsolete, because since then I have figured out a more convenient way to add menus.
    See the Maaskant en Roodhout pages.
    These menus are more manegable because you can add/delete menus and menu items without iWeb.
    Your menu would fit. The only thing to do is to separate the HTML menu code and the <style>.
    To fix the menu to the page, use the code in the Fixed menu page :
    elem.style.position='fixed';
    Practice.

  • Pdf watermark, positioning help

    I've recently been playing around with the idea of automatically updating pdf's that are submitted to our website with our web address. Idealy the text would be a clickable link that is centered and positioned at the very top of the page (although im not quite sure if the clickable link part is even possible with cfpdf or itext).  I've been able to add watermarks using both cfpdf and itext, but the watermarks always seem to be pushed down almost an inch from the top of the page and i need the watermark to be at the very top of the page so that it doesn't interfere with the other text (even though the watermark has an opacity of 85%).  I'm looking for suggestions on how i can:
    A. position the text/watermark at the very top of the page.
    B. make the text a clickable link.
    Any help is greatly appreciated!
    Thanks!

    jcdev01 wrote:
    but the watermarks always seem to be pushed down almost an inch from the top of the page
    It sounds like your positioning is off.  Can you post the code you are using to position the watermark?
    Regarding hyperlinks, you can use an Anchor object to add a hyperlink to an existing pdf.
    http://itextdocs.lowagie.com/tutorial/objects/anchors/index.php

  • Spry submenu positioning help

    Can anyone help me with this? I have a horizontal spry menu
    that takes the entire width of the page. There are submenus for
    each item that default to appearing below and extend to the right
    of each item. This is fine except for the last two items on the
    right whose submenus extend off the screen to the right. I've tried
    making a class to change the positioning of these last two
    submenus, but this changes their visibility to alway visible,
    instead of just when moused-over. Sorry if someone's answered this
    before, but I been searching and not found anything.
    Thank you.

    Hi,
    I finally figured out how to post the page on another site. The link below shows the page with the poorly positioned spry menu.
    http://www.emiliocorsetti.com/publish/two_column.html
    Thanks,
    Emilio

  • Absoulte Position Help

    Hello im creating an email campain and they keep mentioning to make sure the right colum is not absolute position and needs to be in a table...
    here is a link of what it looks like www.proofsnow.com
    thats what it should look like... but im using absolute position to achive this...
    is there another way with out using the absolute position???
    Thanks!

    Not Sure if this helps but here is the code that i set up as well...
    I highlighted the area that im questioning...
    <html xmlns="http://www.w3.org/TR/REC-html40">
    <head>
    <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
    <title>Golf N' Stuff - Principal Days</title>
    <style>
    <!--
    p.Arial, li.Arial, div.Arial {
        text-indent:0pt;
        font-family:Arial;
        font-size:12pt;
        color:black;
        text-align: justify;
    -->
    </style>
    </head>
    <body topmargin="0">
      <table cellpadding=0 cellspacing=0>
        <tr>
          <td width=350 height=48 style='padding:0pt 2.88pt 0pt 2.88pt'>
              <p class=Arial style='text-align:center;text-align:center;font-size:14.0pt;font-family:Arial;font-weight :bold;'>Come and join us for<br>
                Directors Days in May at</span></p>
          </td>
        </tr>
      </table>
      <table cellpadding=0 cellspacing=0>
        <tr>
          <td width=320 height=50 style='padding:0pt 2.88pt 5pt 25pt'>
                <img
    src="images/image2681.jpg" width=276 height=101 align="middle">
            </td>
        </tr>
      </table>
      <table cellpadding=0 cellspacing=0>
        <tr>
          <td width=350 height=48 style='padding:0pt 2.88pt 0pt 2.88pt'>
              <p class=Arial style='text-align:center;text-align:center;font-size:14.0pt;font-family:Arial;font-weight :bold;'>We're offering you two complimentary tickets for you to enjoy the park!</span></p>
            </td>
        </tr>
      </table>
      <table cellpadding=0 cellspacing=0>
        <tr>
    <td width=132 height=132 style='padding:2.88pt 2.88pt 2.88pt 2.88pt'>
    <img width=132 height=174
    src="images/image365.jpg">
            </td>
        <td width=210 height=132 style='padding:2.88pt 2.88pt 2.88pt 2.88pt'>
              <p class=Arial>This is a great opportunity for you to experience what Golf N' Stuff in Norwalk offers in the way of company picnics and group events!</p>
              <p class=Arial style='text-align:center; text-align:justify; font-size:14.0pt; font-family:Arial; font-weight:bold;'>Pick a weekend day in May 2011 and the Park is on us! </span></p>
            </td>
            </tr>
    </table>
    <table cellpadding=0 cellspacing=0>
        <tr>
    <td width=350 height=132 style='padding:2.88pt 2.88pt 2.88pt 2.88pt'>
            <p class=Arial><span lang=en-US style='language:en-US; text-align: justify;'>Choose any Saturday and Sunday to enjoy miniature golf, go karts, bumper boats, bumper cars, Disk'O Thrill ride, and more. Discount coupons will also be available for additional attendees so you can invite family and friends. Tickets will be placed on a will call basis. </span></p>
            <p class=Arial><span lang=en-US style='language:en-US; text-align: justify;'>Contact the Group Sales office to reserve your FREE tickets and discount coupons today! </span><span lang=en-US style='language:en-US; text-align: justify;'>Call 562-864-7706 Monday-Friday 9 a.m. to 5 p.m. </span></p></td>
        </tr>
    </table>
    <table cellpadding=0 cellspacing=0>
        <tr>
          <td width=350 height=20 style='padding:5pt 2.88pt 0pt 2.88pt'>
              <p class=Arial style='text-align:center;text-align:center;font-size:18.0pt;font-family:Arial;font-weight :bold;'><a href="www.golfnstuff.com">www.golfnstuff.com</a><br/>562-868-9956<br/>10555 E. Firestone Blvd. <br/>Norwalk, CA 90650</p>
          </td>
        </tr>
      </table>
    <table cellpadding=0 cellspacing=0>
        <tr>
          <td width=257 height=651 style='padding:5pt 2.88pt 0pt 2.88pt'>
    <span style='position:absolute; left:375px; top:15px; width:256px; height:653px'><img width=257 height=651
    src="images/image292.jpg"></span></td>
        </tr>
    </table>

  • Layer or div tag positioning help wanted

    Okay, actually I have two problems: 1) I have managed to
    create a navigation bar, but I can't find out how to save it other
    than saving the html page it was created on. The help literature
    seems to vaguely indicate that a nav bar created can be saved and
    used on other pages, but I'll be damned if I can find where there
    are any details of this process.
    *BTW, my navbar has multiple elements or buttons, so I can't
    just copy paste, ctrl/shift doesn't seem to work selecting multiple
    elements, tho it works on regular images*
    2) Once I solve problem #1, I am goin to want to have the
    navigation bar "stay put" in it's position on the screen, immune to
    any scrolling that occurs on the page(s). So, I plan on putting
    into a layer or div that can be given this behavior or property.
    Unfortunately, I can't find or figure out how to do that, either.
    Is this a good plan? Is there a better way to make the Nav bar
    exempt from page scrolling?

    billuminatti wrote:
    > Thank you very much for the help. As someone who has
    done virtually ZERO
    > coding, even something as simple as copying and pasting
    code per
    > instructions...well, let's just say, it's not my forte.
    Needless to say, my
    > attempts to do just that, copy and paste per "persistent
    layer" instructions,
    > have not succeeded yet. There could be several reasons
    for this, that I have
    > noted, anyway. One is, I have an animated timeline, so
    when I replace my body
    > tag:
    > <body onload="MM_timelinePlay('Timeline1')">
    > with the new one (per instructions), my timeline
    animation goes bye bye.
    > Plus, the "persistence" desired is still not achieved,
    which leaves me to my
    > next observation: I can't see how the code refers to the
    layer that I want to
    > persist. IOW, how does it "know" which layer to persist?
    > I took the comon-sense measure of having that layer
    selected when I pasted my
    > code, but I'm not fool enough to think that this would
    make any difference.
    > I didn't even look into the Server Side Include yet, as
    i am just aiming at
    > making a layer, any layer, "persist". My comment at this
    point is that it seems
    > very hard for me to believe that a layer behavior
    (persistence, or floating) so
    > web-common wouldn't have a "design-view only" solution,
    in a package as
    > sophisticated as Dreamweaver. This is not a slander on
    your answer, BTW, which
    > I am sure is a fine one. Thanks again.
    >
    >
    No offense, but I think your approach may be a bit off base
    here (of
    course I have not seen a link to a a page showing what you
    are trying to
    achieve, so I could be completely wrong). The first part of
    your
    question already makes me nervous, because it makes me think
    you have
    used Fireworks or another image program to create your
    navbars.
    Depending on which version of Fireworks you are using, that
    could be
    disastrous or only unwieldly. The navigation bars created by
    Fireworks
    are definitely not the best solution,and you can go through
    years of
    posts, particularly by Murray, advising against their use.
    If you are interested in an easier way to create your
    navigation, post back.
    Second, wanting your navigation to stay put while the rest of
    the page
    scrolls is something I see here a lot, but it's not
    necessarily how the
    web works. People plunge into frame hell in order to
    accomplish it,
    but it is like trying to kill a mosquito with a jackhammer.
    There is a good extension that will do this for you if you
    insist, but
    given the problems you are having now, I would first create a
    properly
    coded page that behaves as a normal web page should, and ONLY
    THEN
    worry about server-side includes
    revisit the issue of fixed and scrolling page elements.
    An excellent tutorial for creating a cross-browser friendly,
    modern
    (e.g.not relying on tables for layout) page can be found at
    www.projectseven.com (search for "quickdraw" without the
    quotation
    marks), where you can also find an excellent tutorial for
    creating
    horizontal or vertical navigation menus that are simple and
    can be used
    in templates or server-side includes (search for "uberlink"
    without the
    quotation marks).
    Good luck.
    Oh, and don't apologize for not understanding code: learn to
    understand
    and write good, solid html and css. Elizabeth Castro's book
    HTML for
    the World Wide Web is excellent. For beginning css you might
    want to
    start here:
    http://www.mako4css.com/
    Bonnie in California
    kroko at
    sbcglobal dot net
    http://www.theanimalrescuesite.com/cgi-bin/WebObjects/CTDSites.woa

  • Ipod nano locked in the Pause position HELP!!!!!

    Ipod was working fine lastnight. Turned it on this morning and the Cover Flow hesitates to work when turned sideways. Now it won't even show the covers and all the sudden the ipod locked itself in the pause position!
    Can ANYONE help me with this? I just got this and now I can't even use it!

    I had to reset the settings by holding down the menu and center keys for a few seconds until the iPod screen shows up. After that showed up it seems to be working fine now.

  • Regions Position Help!

    Hi everyone,
    My problem is I just cant organize my regions in the way I want and I'm wondering if someone could help me out.
    This is a sketch of what I'm trying to do:
    !http://img682.imageshack.us/img682/294/regions.jpg!
    As you see I want 2 regions one next to the other in the same column, it is that possible in APEX? The only thing I can do is setting the region into column 3 but it moves next to the parameters region which is not what I actually want.
    I tried to change page templates bodies and that stuff without success.
    I hope you could help me.
    Thanks in advance,
    Fury

    Hi,
    There is many ways to do it.
    If you did not succeed edit page template try this:
    Think that you can wrap your regions to table cells creating dummy regions containing simple html.
    Just experement this by creating new blank page.
    Then create 2 HTML regions. just use default what wizard gives.
    Place few items to both regions just for example.
    Then part how you get those next each other
    Create HTML region and set it template "No template". Lets call this region TABLE_START
    Insert code to region source
    <table id="DUMMY_TABLE">
    <tr>
    <td valign="top">Then create another HTML region with template "No template". This could be named CELL_2
    Insert code to region source
    </td>
    <td valign="top">Create third HTML region and set it template "No template". This is called TABLE_END
    Insert code to region source
    </td>
    </tr>
    </table>Then order your regions:
    TABLE_START
    your region 1
    CELL_2
    your region 2
    TABLE_END
    Br, Jari

  • Mouse position help

    When using MouseListener and MouseMotionListener in an applet, I can not record events that happen outside the applet. Is there a way to record the x and y position of the mouse along with button presses when they occur outside the applet window? Thank you for your time.

    >
    I want to make a program to repeats a bunch of steps on my computer. However, while making it, I found it too hard to hardcode in the co-ordinates. Therefore, I want to record my actions so that I can repeat them.
    My plan is to have it record where I click into a text file, then the robot program will read from the text file and move the mouse to those positions and perform the same action everyday at a specific time, like when I wake up or come home. >It would be safer and more reliable to open a File object pointing to the text file, then do the edits using standard Java classes (such as a RandomAccessFile).
    >
    It doesn't need to be an applet, it can be an application too.>That is good, since the applet would need to be digitally signed in order to access the file system or the Robot.
    If this is a 'one off' app. for yourself, it is best launched as a plain application (JFrame without JWS).
    So to sum up. I do not think the Robot and related classes can provide the functionality you require, which is far easier/more reliable to program as I stated above.

  • Context Menu Position Help

    My client wants to use Theme 12 instead of Theme 13 for the document library packaged application. I am having issues with the context menu. <b>I have the menu working</b>. I dont need links to threads about getting the menu to work. My issue is the position of the context menu is wrong and I have been fighting the css for two days trying to get it to work, I even took a crack at it with Firebug and couldnt get it sorted, but css's arent really my thing either. It appears on the bottom of screen on the left side of the screen. It seems to appear below all other regions, but I havent tested to confirm this.
    Using APEX 4.1, IE, Firefox, and Chrome.
    Richard

    I know this isnt proper by any means but this is what the code ended up looking like
    <script type="text/javascript">
    function doc_menu1(pThis,pId){
         var lDiv = $x(pThis);
             var test1 = $('#'+pThis.id).position().left + parseInt(lDiv.offsetWidth)
             var test2 = $('#'+pThis.id).position().top
         if(gRow!=lDiv){$x_Hide(gMenu)}
         gRowClick = $x_UpTill(lDiv,'TR');
         if(!gMenu){
               gMenu = $x_AddTag(document.body,'div','');
               gMenu.id = 'MENU_HOLDER';
                gMenu.style.posTop = parseInt(findPosY1(lDiv));
                gMenu.style.posLeft = parseInt(findPosX1(lDiv)) + parseInt(lDiv.offsetWidth);
         $x_Show(gMenu);
         var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=DOC_MENU',0);
         get.add('DOC_ID',$x(lDiv).id);
         get.GetAsync(doc_menu_click_return);
         return;
    function findPosX1(obj) {
         var curleft = curtop = 0;
             if (obj.offsetParent) {
                  do {
              curleft += obj.offsetLeft;
              curtop += obj.offsetTop;
                  } while (obj = obj.offsetParent);
            return [curleft];
    function findPosY1(obj) {
         var curleft = curtop = 0;
             if (obj.offsetParent) {
                  do {
              curleft += obj.offsetLeft;
              curtop += obj.offsetTop;
                  } while (obj = obj.offsetParent);
            return [curtop];
    </script>I put it in the HTML Header of the pages that had the js calls. This worked without any problems.
    Richard

  • Forms position help

    Hi i have a form which is of the size 800*600 so i use a scroll bar to go the bottom of the fom..i have a button at the bottom to call another form..when i scroll and press the button the other form gets called but the position of the next form is half way through(ie..the form is shown frm the position of the scroll bar with respect to first form)..i need the form 2 be shown fully from the first..how this can be done..
    one more thing..
    .i have a radio button in a MULTI-RECORD block..the user can select any row using the radio button and can open the details of the respective record using a button OPEN..in forms we have limitation tht all the radio buttons in each of the record is considered as single button..so when i click the first record the first radio button is selectd,when i go 2 the 2nd button and click tht also gets selected but the first button is not cleared off.....
    so i wrote a logic 2 clear the buttons(ie the records which are above /below the selected cursor record,tht is working 5n..)
    but here also when i selected any button the selection is happening fine..but the record i select just runs away 2 some other positon(ie .. as i traverse through the block frm first recrod 2 last record for clearing other radio buttons.)..the user here is blind folded...can this be handled effectrively???????????????

    ok let me explain my form has 5 buttons namely print,printall,open,new,save,return
    it is a multi record block and i display 8 rows at a time and remaining has to be scrolled..............i have filters at the top(ie radio buttons to filter the o/p)
    next comes my block and the buttons at last.......................
    when i need to modify any changes i scroll down to save button and save it ..
    to open another form i scroll and clikc open ,so next form is openied but the form position is half way (ie..as i have scrolled the first form the scroll locks in the same positon its not moving to new top positon)..i need 2 get it at top to make the new form visible compeltely

  • Movie position, help me

    i finished a flash movie.
    i just realized that i would like to position all the symbols
    in it, so the movie itself, 200 px above the entire HTML page.
    is there a way to do this simply, instead of selecting all
    the symbols already tweened one by one?

    i wish i had a nickel everytimne this gests asked - everyday
    it is asked and answered in some
    fashion and for whatever reason it is the hardest feature in
    flash for people to find.
    Search for "Edit Multiple Frames" - here's the url I have
    posted here hundreds of times:
    http://www.biteycastle.com/lessons/emf.htm
    good luck
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    mjportal2 wrote:
    > i finished a flash movie.
    > i just realized that i would like to position all the
    symbols in it, so the
    > movie itself, 200 px above the entire HTML page.
    > is there a way to do this simply, instead of selecting
    all the symbols already
    > tweened one by one?
    >
    >

  • Random position help...

    Hi, I'm trying to create a simple screensaver whereby a
    company logo just simply fades in and out at random positions on
    the stage indefinitely. Would anybody have any example script for
    this? Or know where to download something similar?
    thanks
    db

    1. Put the logo image on the stage.
    2. Convert it to a graphic symbol. Again convert the graphic
    to a movie clip.
    3. Inside the movie clip make a fade in fade out animation
    using the graphic inside - use about 20 - 30 frames.
    4. Write the following code on the movie clip timeline first
    frame.
    this._x = Math.random()* Stage._width;
    this._y = Math.random()* Stage._height;
    www.santanu.biz
    The Swiss Army Knife for All Your Creative Needs

  • List position help

    Ok, I am needing to pull bullet items to the left so that
    they align vertically with the paragraph text above them on the
    left side. How do I accomplish this?? I know this is not normal LI
    position alignment, but nothing is normal in eLearning development
    world. My list objects are indenting underneath the text above it.
    The attached code is what I am needing to use.
    respectfully,
    Anthony Jackman
    eLearning Application Developer
    SI International - okc

    I understood that. I was going through my list of questions that I had asked over the last three years and atleast marking them "answered".  That way those ?s are not just hanging out and someone thinking that I was still looking for an answer.  Of all the problems that I asked the forum that did not get answered, I eventually figured out or stumbled onto my solution through trial n error.  If a problem is kicking my butt and no one answers or asks for further info, I usually ask again.
    But today I was just doing a little house cleaning.  Thanks for checking though.
    Tony
    Date: Tue, 28 Jun 2011 18:47:41 -0600
    From: [email protected]
    To: [email protected]
    Subject: List position help

  • Text2d position help

    hi, i am creating some 2d text using
              Text2D text2D = new Text2D("Spinner Game v1.0",
              new Color3f(0.9f, 1.0f, 1.0f),
              "Arial", 50, Font.BOLD);Does anyone know how i can change the position of this text as it appears on screen. It is displaying in the middle of the screen, i would like it to be at the top, center as a title. Thanks

    well, create a Transform3D and using the set() provide the Vector3f coordinates. eg:
    Text2D text=new Text2D("Ground Level",new Color3f(Color.white),"Arial",18,Font.BOLD);
    Transform3D t2=new Transform3D();
    t2.set(2,new Vector3f(-0.4f,0.5f,0.0f));
    TransformGroup tg2=new TransformGroup(t2);
    tg2.addChild(text);
    Best Of Luck

Maybe you are looking for

  • Conversion of string to object

    hello... i am doing a project in java , and m stuck , i would like to find out how to convert a double value into an object to put teh double value into the textfield which i would like to show to teh user who is using my program

  • Mac Book Pro OS X 10.9.1 - Master Suite CS6 Photoshop won't open

    I installed Master Suite on new Mac Book Pro OSX 10.9.1. All programs will open fine except for PS which has an "unexpected and unrecoverable error" and won't open. I can open it when logged in as guest or another user. I have tried trashing preferen

  • Trial download of Acrobat XI Pro fails

    I try to download a trial of Acrobat XI Pro. It starts downloading CS6 - over and over. Then it decides to try Elements 13. Then I decide to accept the CS6 downloads. It is an incomplete download, even though it claims to be "complete." I am using Fi

  • Web service in portal

    i have developed a JSP page in JDeveloper, which implements Google web service. Can someone tell me how to deplou it in my oracle portal?

  • "Save a copy" does not run the JavaScript defined for AA WS/DS

    I'm displaying the pdf in browser (IE) and need to audit the user saving the file (e.g. from the floating toolbar's "Save a copy"). However, the script inserted to run on Additional Action Did Save/Will Save is not invoked (the script and the structu