3D Map - Color Code and Cursor Tracking

Hi, I need some help trying to implement some user interface functionality for a program I am developing.
This will be a tuning tool for automotive ECU. The program will be reading in two signals (Y-axis is RPM, X-Axis is manifold pressure) and use a 2D interpolation to output a Z value to be used in a calculation. There are two pieces I'd like to add to this. 
1. Color code the cells based on the cell value in relation to the max and in of the entire 2D-Array
2. Have a live currsor that tracks the current cell of the 2D array and highlights the cells that are being used in the interp calculation so it makes it easier for the user to make changes and calibrate the tables. 
3. BONUS: An easy way to be able to select a range of cells and increment them by a set amoun or scale them all by an imput amount (like scale range by 90%).
Basicly, I'd like to recreate some of the user interface functionality of the software shown below in the second picture and the video linked below. 
VIDEO:    https://www.youtube.com/watch?v=OkVUJCy0sJ4
VIDEO:   https://www.youtube.com/watch?v=oeZc-ka6ago      (at 16:45 you can see a good example of the currsor tracking through the cells as teh two inputs change)
-As you drive and the RPM and loading changes there is a blue ball that tracks on the table the current x-y location of the 2D map and the four coresponding cells around the ball are highlighted to show witch of these cells are being used in the calculation so the user can easily alter these cells in real time to tune the output he is looking for. I'd like to be able to highlight, or blink either a single cell closest to the current value, or the 4 corners around it and have it update real time as the user drives the car. 
Any ideas of how to implement this kind of functionality? The current VI is attached. I should note the x-array and y-array won't necessarily always be constant spacing between cells.
Thank you for any help in advance!
Attachments:
3D Map Color Coded & Currsor.vi ‏17 KB

Okay, so I made some progress on this. I was able to use an intensity graph to visually color code the relative position of the cells. Is there a way to make the 2D array translucent and overlay the color array intsity graph behind it? is there a better way to do this. 
I was able to get the closest current cell value to update as black and track around live on the intensity graph. I did this by temporarily setting the cell's value to 0. Is there a way to somehow highlight the actual cell on the 2D-Array instead? 
The code is attached. I added a random sine wave input to simultate some signals for the x and y input. The Y array now runs in reverse order which made it tricky to get some of the functions to work properly so I had to use a 2D transpose and 1D reverse array to get it back in the right form. There's probably a better way to do this. 
Any help is great appreciately and rewarded with Kuddos!  
Attachments:
3D Map Color Coded & Currsor (Rev B).vi ‏33 KB

Similar Messages

  • How do I replace image color with an exact html color code?

    I simply want to change the color of a small pic to an existing html color code, 3399CC.  The pic is very simple, and only has one color.  In Photoshop CS4, I go to:  Image -> Adjustments -> Replace Color.  For the new replacement color, when I type in 3399CC, it doesn't give me that color - it gives some other shade of that color.  (I can tell because I use a program that tells me the exact html code a color is when I hover my mouse over it).  It seems the only way to really get the color you want is to adjust the sliders (hue, saturation, and lightness).  But it'd be practically impossible to play around with every increment of those sliders until I get the exact color code.  
    There's got to be a way to simply enter the html color code and have the pic changed to that color.  Does anyone have any idea?

    Turns key.  WhirrRRRrrrrRRRrrrr....  Nothing.  (I answered in the other thread)
    Perhaps I've had too much coffee today, because I just got a clear vision of Bart Simpson, at the board, chalk in hand...
    SRGB IS KING!!!  SRGB IS DEAD!!!  LONG LIVE SRGB!!!
    SRGB IS KING!!!  SRGB IS DEAD!!!  LONG LIVE SRGB!!!
    SRGB IS KING!!!  SRGB IS DEAD!!!  LONG LIVE SRGB!!!
    SRGB IS KING!!!  SRGB IS DEAD!!!  LONG LIVE SRGB!!!
    SRGB IS KING!!!  SRGB IS DEAD!!!  LONG LIVE SRGB!!!
    SRGB IS KING!!!  SRGB IS DEAD!!!  LONG LIVE SRGB!!!
    -Noel

  • HTML code and CMYK percentages export

    Hello everyone, can anyone tell me if it is possible to export all HTML color codes and CMYK percentages to a text file for it to be printed? it wouldn´t be from a complex image, I'll attach an image of what I'm trying to get that info from...
    if anyone can tell me of a plugin, third party program or any way to do it through PS, it'll be greatly appreciated
    thanks in advance,

    Here are a few sites that may help. Though none are exactly what you wanted.
    http://en.wikipedia.org/wiki/List_of_colors
    http://chir.ag/projects/name-that-color/
    http://www.colorjack.com/sphere/
    http://kuler.adobe.com/#themes/rating?time=30

  • Best Calendar App to connect to Google Calendar and color code appointments

    I am looking for a replacement calendar app that will connect to Google Calendar and allow me to color code individual appointments.  I have looked at a ton of apps in the app store but none of them talk about the color coding option I am looking for.  I don't want to do the trial and error thing and waste my time and money. 

    Download Gmail app. itunes.apple.com/us/app/gmail/id422689480?mt=8

  • A table mapping between ISO country code and ISO currency code

    Hi experts,
    I want to know whether there is a table mapping between ISO country code and ISO currency code.I have searched T005(Countries) and TCURC(Currency Codes).why the filed of WAERS(Country currency) hasn't maintained in talbe T005?Whether ISO country code and ISO currency code hasn't direct relation?
    Regards,
    Kelvin

    Kelvin,
    If you know the table which is having ISO Country Code or ISO Currency code,then go to that table and clik on GRAPHIC(ctrlShiftf11) which will give the foreign key relationships.I guess checking all those table displayed in the graphic will give you some lead.
    K.Kiran.

  • A table mapping between country code and currency code

    Hi experts,
    I want to know whether there is a table mapping between country code and currency code.I have found the table T005(Countries).But I don't why the filed of WAERS(Country currency) hasn't maintained in talbe T005?Whether country code and currency code hasn't direct relation?
    Regards,
    Kelvin

    Dear Kelvin
    The said field (WAERS) can be fetched from many tables.  To name a few, below are some of the tables in which, you can see the field for currency.
    1)  BKKI4
    2)  BKKI5
    3)  BWPOS
    4)  KNKA
    5)  KNVV
    6)  MSEG
    thanks
    G. Lakshmipathi

  • The code to set focus and cursor position fails in a mobile browser

    In two previous discussions (http://scn.sap.com/message/15176399 and http://scn.sap.com/message/15205348) I received help on how to set the focus on an OpenUI5 mobile input field and then how to position the cursor at the end of any text that might be in that field.
    That all works well in desktop browsers (Chrome, Firefox and IE10).
    However that same code seems to fail when I test it on browsers on mobile devices. At first I thought this was working in Chrome on an iPad but now it does not (could our taking new OpenUI5 code recently affected that?). I do not think I have ever see this work in Chrome on a, Android tablet.
    Has anyone had success setting the focus and cursor position on a mobile input field running in a mobile environment?

    Wasn't sure where to turn with this problem. There is talk on the web that there is a problem in Chrome on Android and that this will be fixed in version 37. We I get that version I will try and update this post.

  • Are the Kuler color schemes and individual colors associated with pantone codes?

    Are the Kuler color schemes and individual colors associated with pantone codes?
    How do you find the pantone reference for a color in a color scheme?

    Hi Monika,
    What is the reason that it is possible to search for (explore) color themes from within the Color Themes panel in InDesign and Photoshop, but not in Illustrator? Seems a bit odd…
    Cheers,
    Marinka

  • HT1660 Is there anyway you can color code playlist, so when you go to the list you know red is mine, green is Bob's, blue is Bill's and so on! What is the best way to do this? Help!!!!

    Can I color code play
    list?

    No, you cannot colour-code a Playlist.
    Why don't you simply add the name (Bill or Bob) to the Playlist name, or add an asterisk for one person's and the ampersand for the other person's lists?

  • Reverse Color Key and Track Points

    In preparing for a more complex project, I've made a simple 3D scene using 3dsmax with a background and two spheres which are not visible just yet. The 3D camera then moves to view the two spheres which have a green circular area textured over each for color keying in after effects.
    I then want to place two separate video clips (personal interviews) in each green area of the spheres, but I don't know how to do this. I don't want to add the video clips in 3dsmax as a texture cuz the quality would not be as good, since they would be textures.
    I was thinking of having the 3d scene as the background layer in AE, and put clip1 in green area on sphere1 and use track points to track the movement of the sphere so clip1 would follow along inside sphere1's green area.
    Am I on the right track with this, or can someone offer a suggestion on how to do this, as I haven't been able to get it to work?

    http://www.adobe.com/devnet/aftereffects/articles/3d_integration_pt1.html
    Not specifically tailored for MAX, but covers the basic principles you will need.
    Mylenium

  • Cursor and the track pad are acting erratically.

    I have a 13" MacBook Pro (mid 2012).  Currently have Mac OS X Lion 10.7.5 (11G63) install. My cursor and the track pad are acting erratically.  Any suggestions.  Google wasn't a great help.

    Replace your MacBook's battery ASAP.

  • Mapping style templates and properties to Actual Style Sheet Classes

    I got this response to an email regarding creating a customized style sheet and thought others might find it useful following is my initial question and the response from David Phipps. If anyone else has input to this conversation please join in.
    Initial question: I'm trying to create a highly customized style sheet and could use a matrix that maps the various properties to the styles that each property affects. I have had some success determining the specific styles that I would like to change but am unable to use the style mill with any efficacy to make those changes. We are attempting to create a single language style sheet with a unique color scheme that matches our branding. One big problem we have run into is that certain styles are called in multiple places with different backgrounds (i.e. breadcrumbText). Any help along these lines that you could provide would be greatly appreciated.
    Response:The CSS style mapping is not terribly satisfying right now; many objects share common CSS styles, which means if you change one tiny thing the whole page changes. We don't have a matrix or spreadsheet or styleguide that lays out the page itself and defines the styles used in each point. However, the stylesheet mill should work for you, and it's possible that what you have going on is a problem with your mill or an incomplete copy of what it generates.
    There are 18 styles in the portal currently; you can actually create new styles and populate them, which sounds like the option you are interested in. The mill is just an ANT script that uses the template files in the templates directory and combines them with the property files in the prop-color and prop-text directories.
    The prop-text files are per language (10 languages); if you check you'll see the values are all the same right now; the idea is you could change the font names or sizes per-language if you wanted to.
    The prop-color files are per style (18 styles). If you want a new set of property values for, say, style 19, you'd add a file called color.19.properties, and the mill would pick that up and generate 190 files (19 styles x 10 languages). It would then add a new line to community-themes.txt, which has a name of each style for each language, based on data it picked up from your new color.19.properties file.
    The real secret is that you only add color style elements you want to override. If you want a specific set of styles to always be available, just add them directly to the appropriate template file (in your case, the portal50.template file) without using the @variable@ in place of actual values. Then you're just adding new style overrides that apply everywhere.
    Finally, you can add arbitrary new properties to your new prtoperties file and use those in the template:
    in portal50.template:
    ..actionbarPortletBg {background-color: @personal.and.interesting.setting@;}
    in color.19.properties:
    personal.and.interesting.setting=#ff9900
    So the CSS mill is just a glorified text replacement tool.
    Remember that the CSS mill works this way:
    - Run make_all.bat if you're not sure and want to insure you've remilled everything, otherwise use make_community_css.bat or make_menu.bat to remill only community styles or those for the jsportalmenus dropdown, respectively.
    - The resulting files are created in ptimages/tools/cssmill/css
    - You have to copy the resulting files by hand to the imageserver CSS location, which is
    ptimages/imageserver/plumtree/common/public/css
    - You have to forcibly stop and restart your imageserver, be it Apache, Tomcat, IIS, Websphere or whatever; no matter what anyone says the new content won't show up reliably until you restart your imageserver.
    You probably know all this and your real problem is the CSS is not specific enough, that is, you can't get individual items to change like you want. We have been working on this, and the new version of the portal will have much more addressable CSS styles, including the ability to specify styles for individual navigation elements, individual pages, and individual portlets. This basically meant rewriting the HTML we generate, of course.
    Since you can override and rewrite chunks of our HTML as well using View Overrides, if you're in a jam we can walk you through how to rewrite specific bits of the UI that are causing you trouble - for instance, the code that generates the breadcrumbs itself.
    David Phipps
    Senior Engineering Manager
    Plumtree Software

    One way to do this is to give the <body> tag an ID. In a template, you need to make the ID attribute of the <body> tag editable.
    You would then have something like this in your style sheet:
    #home.oneColFixCtrHdr #container #navigation li,
    #services.oneColFixCtrHdr #container #navigation li,
    #about.oneColFixCtrHdr #container #navigation li,
    #contact.oneColFixCtrHdr #container #navigation li,
    #testimonials.oneColFixCtrHdr #container #navigation li,
    #links.oneColFixCtrHdr #container #navigation li
    background-color:
    #66ccFF;
    border-bottom-width: 1px;
    border-bottom-style:
    solid;
    border-bottom-color: #FFFFFF;

  • Can I color-code file types?

    I'm a Mac newbie. I carried over some Windows files I have been working on for years. They were made by different versions of a layout program (PageMaker 6.5 -> PageMaker 7.0 -> InDesign CS5.5), and so have different file extensions.
    I see how to color an individual filename, but would like to assign one color to all files with the same extension to facilitate bringing them all up to date. Can I do that?

    Hello,
    Yes you can color code based on extensions. Open a Finder window and hit command+F - this is a search window that can be populated according to your searching criteria and can also be saved to later consulting (it would live in the sidebar should you decide so). Click on the little drop down menu presently labeled as Type and choose other; type extension on the now blinking cursor besides the magnifying glass to narrow your options, choose file extension and "ok" your selection. Now fill the box with the desired extension (no dots necessary) and select all, do your color coding and you're done.
    Regards,
    Vitu

  • Anychart bar graphs - Can we map colors to customer IDs in JSON/XML dynamically?

    Hi,
    We are using the Anychart bar graphs to show our customers data. We need to be able to map colors to customer IDs, so that anytime we use a bar chart a customer will aways be the same color.
    Example: if one view shows 3 customers  (cust ABC is maroon, XYZ is yellow and DXA is blue) and a second view, because of the data, shows 12 customers, that if 2 that are in the first view are also showing they would have the same colors as they did in the first view (cust ABC is still maroon and cust DXA is still blue and if XYZ is not in the second view then Yellow would not be present)
    Is there a way to map the colors to the customers in an XREF table then build the JSON or XML dynamically and use that in the graph each time?
    I have found the Anychart site and it looks like it is possible but was wondering if anyone has done it? Otherwise it looks like it is going to be to time consuming to read everything I would have to read.
    Thank you,
    Bill

    thanks for passing this link Stijin,
    http://oraclebizint.wordpress.com/2007/09/25/oracle-bi-ee-10133-and-mapviewer-step-by-step-integration-phase1/
    http://oraclebizint.wordpress.com/2007/09/26/oracle-bi-ee-10133-and-mapviewer-step-by-step-integration-phase2-phase3/
    i already used this, but we need at least full explanation in how to build OBIE presentations layers and its physical and logical datas , and how to write codes using Java scrips and html codes using OBIE presentation on statistics text.
    if any of you just can link me link regarding to workshop lab's documentations and files regarding to OBIEE integrated to Mapviewer.
    with fully respect and love to you all,
    Yusuf Felemban

  • The ability to color code layers...

    Dear Apple,
    The ability to color code layers would be the biggest time-saving boost to my workflow that I can imagine.
    All layers look so much alike. Add constantly scrolling through dozens or hundreds of them, expanding and contracting often. Loosing ones bearings within the layers window is a given. It seems every few minutes, I have to stop and re-figure out where things are.
    If one could right-click to set a layer header one of eight or so colors (like in photoshop and just about every other program that uses layers) this would increase my productivity quite a bit.
    The rant ends. We now return you to your regularly scheduled forum.

    Granted, color-coding layers could be very helpful. That said, I find that group and layer labeling, and intuitive grouping and organization go a long way to keeping things straight.
    I don't think I've ever done a project with a hundred layers, but I've been as high as 40-50 before and never really had a hard time keeping track.
    Now, there is a shortcut that you might find useful. If you hit the X key on your keyboard, Motion will separate all the layers currently active in the canvas at the playhead's position ala Expose. This will allow you to select any layer easily. When you do so, the layer will become visible in the layers pane no matter how deep it's hidden.
    Finally, there is a feedback thread for product suggestions that is actually read by the Motion team, unlike this forum.
    Andy

Maybe you are looking for

  • Get long and integer from 8 into 10g

    Hi. I have a table like this in oracle 817 name null type ldkey not null number ldtext long the ldtext field represents long descriptions in the oracle 817 system. I have read only access to the system via a login and also a public database link. I n

  • EAP-TLS authentication failed

    I have recently purchased the E71 and am trying to connect to my WLan at work. It uses 802.1x authentication and I have now installed the correct security certificate. It seems that no matter what EAP plugin I use, TLS TTLS PEAP FAST etc I get an aut

  • How to enable create folder Icon

    Hi, When I am using the setSaveDialog() method of JFileChooser to select the location, the default directory which appears if no argument is passed is "My Documents". In Windows XP professional edition the create folder icon in this dialog gets disab

  • Anyone can check my xslt code ?

    i've tried to use JAXP to transform xml by using xslt. the java program has been written and compiled, but when i tried to run it, it come out the errors: error: 'unknown protocol: c' fatal error: 'could not compile stylesheet' i was suspecting my xs

  • ORA-04062: signature of package "SYS.UTL_RAW" has been changed

    I have a form that was migrated from 6i to 10g. I get the following error in the form in 10g.( Not in 6i ) ORA-04062: signature of package "SYS.UTL_RAW" has been changedIf I execute the same code from sqlplus in 10g. It works..no errors This is the c