3-d surface graphs in Linux LV 8.6

I need to draw a surface graph from data where the z axis can take one of 14 values and the (x,y) coordinates range from 0 to 1, with no fixed intervals.  In essence, I have 14 horizontal slices of a surface, with 50 random surface observations on every slice.  How can I display this as a surface using LV 8.6?
Earl

Hi Earl,
Unfortunately, the 3D graph object in LabVIEW uses ActiveX, which I'm sure you know only works with Windows. However, there some work arounds that others have posted in these other threads:
http://forums.ni.com/ni/board/message?board.id=170&requireLogin=False&thread.id=186413
http://forums.ni.com/ni/board/message?board.id=170&message.id=259968&requireLogin=False
http://forums.ni.com/ni/board/message?board.id=170&message.id=84789&requireLogin=False

Similar Messages

  • Facing memory error during shifting from 3d stem graph to 3d surface graph in labview 2010

    hello all,
    earlier I was using 3D Stem graph in labview 2010. Now we want to move to Surface plot for same data.when i am trying surface graph it shows memory error.
    I have  10240 data.
    I was using vector method in stem graph so now for Surface graph i have thought that i have to make matrics of 10240x10240 and its diagonal elements should be my Z co0ordiants.
    plz help me out here.
    thanks & regards, 

    hello mikeporter,
    thanks for reply.I am attaching my Vi. It has some error also.plz look into it.
    X and Y are my co-ordinates pairs.I will be having values for these and have to update for same.
    Attachments:
    Untitled 2_surface.vi ‏184 KB

  • Aren't -180° and 180° the same for a 3D parametric surface graph?

    Hi
    everyone,
    I need to
    plot some results using the 3D parametric surface graph and these 3 matrix :
    First
    matrix “theta” : Each column ranges from -180° to 179°    (180x360)
    Second
    matrix “phi” : Each line ranges from 0° to 89.5° (increasing by 0.5°)   (180x360)
    Third matrix “z” : 180x 360 matrix initialised to 7
    First and
    second matrixes are converted to a polar representation.
    My problem
    is that I reach my goal, a full red circle, only if my matrixes range
    from -180° to 180° and not when they range from -180° to 179°. Aren’t -180° and
    180° the same for this graph? I must be doing something wrong...
    Any help
    would be great,
    Thanks.
    Regards,
    User
    Solved!
    Go to Solution.
    Attachments:
    Forum.vi ‏671 KB
    Pb circle.JPG ‏20 KB

    Seems obvious that you need to have the first and last point the same in order to close the curve.
    A simpler, but equivalent example is a circle on an xy graph, Unless the first and last point coincide, you won't close the loop.
    LabVIEW Champion . Do more with less code and in less time .

  • LV 6.1, 3D Surface Graph sometimes collapses (doesn't work stably); plus blocks use of remotely controlled panel by LV run-time engine (error #26:"window.cpp", line 11518

    1) "3D Surface Graph" does not work stably; sometimes it changes its properties (e.g. plot style) without me doing anything prior to that; a couple of times it lost a complete sense so that I had to delete the graph and install it again
    2) I tried to remotely run a VI which contains a 3D Surface Graph in it. It turns out, the use of the "3D Surface Graph" somehow blocks the remote control over the panel. As a result of that, I got the following error message: Error #26: "window.cpp", line 11518 (with LabVIEW version 6.1).
    3) Is it possible to plug into the 3D Surface Graph a few plots at
    the same time since there is a built-in control "plot number" (somehow by bundling them up or putting into an array - I tried both but didn't work) or it can be done merely by use of 'case' structure preceding the Graph, where case structure decides which plot to pass into the 3D graph?
    Attachments:
    3D_Graph_ver_1.bmp ‏214 KB

    Hello mjoler,
    Thank you for contacting National Instruments.
    The following example will show you how to plot multiple 3D plots on a single 3D graph. Modeling your VI after the example may also alleviate the instability that you have been experiencing.
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CBA19111EE034080020E74861&p_node=DZ52038
    As far as the error you are receiving, it's difficult to say what could be causing this. ActiveX controls embedded on a front panel sometimes do not display on a remote client because they draw and operate almost completely independent of LabVIEW. If possible, try remotely controlling your VI with a client computer that has a complete installation of LabVIEW. The error could also be a bu
    g. Try downloading the evaluation version of LabVIEW 7.0 from http://www.ni.com/labview. By doing this, we can determine if it is a bug in the older version that has been fixed in the latest version.
    Let me know how this goes.
    Matthew C
    Applications Engineer
    National Instruments

  • Plotting data in a 3d surface graph

    I�m having trouble plotting data correctly on a 3d surface graph in my routine.
    The goal of the vi is to plot a 3d image of a region of interest (ROI) from an intensity graph. The user selects the ROI with the cursor from the Intensity Graph (top left plot). The vi shows the region of interest in the ROI intensity graph (lower left plot). The goal is to create a 3d plot from this ROI. The 3d plot appears on the right.
    The problem is that the 3d plot seems to shift the values of the data if data is selected anywhere other than from the 0,0 region of the Intensity Graph. If the user selects data from 0 upwards along the y-axis or to the right along the x-axis, the data plots fine. When the user selects data from the
    center of the plot the data shifts off the 3d plot. The data is not missing. It is shifted. You can actually see the values when you left click and change the view of the 3d plot. The data appears as individual points off the surface graph. Each data point is the correct z data value. The scale on the 3d axes adjust correctly.
    I've attached the routine below in the form of an llb file. The correct version of the main file is "mouse_to_select_area_hamilton4_laura". Do not run the main "mouse_to_select_area_hamilaton4" as it contains an error.
    Attachments:
    Mouse_t1.llb ‏557 KB

    I have the same problem with one of these graphs. I have a surface plot that has been normalized to zero. However, the data is not centered on zero when plotted. I have an X and y vector input to the graph, it doesn't help. I have looked at each column of data and verified programmatically that the mean is zero of each column. There are gobs of data (some are 1 - 2 Mbytes big). Can that cause this? I use other graphs and a polar plot within the same application, they all look fine. I did get the 3D graph to plot correctly once, but the X vector values weren't displayed correctly (my X vector range is from .5 to 240 inches, the graph displayed 0 to 117 - which was the number of inch positions, not the inches positions themselves).

  • Surface graph of a Fourier Transform

    Hi there -
    I want to make a surface graph of my Fourier Transform. My z-axis should be the amplitude coefficients, My y-axis should be Time and my x-axis should be Frequency. However, when I use the FFT vi I only get a z matrix of one column. Yet the surface graph VI requires a 2D array for z. How can I account for this?
    Thanks
    Cameron

    Duplicate post
    See http://forums.ni.com/ni/board/message?board.id=170&message.id=193793&jump=true

  • How to output 3D Surface Graph as image file (bmp or jpg or png)

    I'd like to output a graph from the 3D surface.vi module as a regular
    image (like a JPG or BMP).  At this time, I'm going through an
    awkward process of taking a screen cap, then isolating the image with
    photoshop (painful and time consuming).
    Any idea or input would be appreciated.

    RIght-click on the graph and "create...invoke node". On the diagram, select method "get image".
    Save the output of "image data" as JPG, BMP, or PNG using the tools from the "Graphics Formats" palette.
    (The code shows would get a 24bit PNG image)
    See how far you get. Good luck!
    Message Edited by altenbach on 08-12-2005 02:50 PM
    Message Edited by altenbach on 08-12-2005 02:51 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    GetImage.png ‏3 KB

  • Temperature surface graph

    Hello all,
    I'm trying to figure out how create a 2D temperature map like you can get in Excel by using a surface charts & contour :
    Here is an example
    Do you have any idea about how to do that ???
    Thanks in advance !

    kriss00 wrote:
    Thanks all for your propositions.
    I have worked on the one of Norbert. You can find in attchement the VI about that.
    I have still an issue about the fact that I need to rotate the graph. 1/4 to the right. I don't understand why because the array is correct to me...
    0 0 2        =>   1 0 0
    0 0 0               0 0 0 
    1 0 0               0 0 2
    I would delete the second "Transpose 2d Array".
    Then invert the y-axis via right click on intensity graph>properties>scales>drop down menue> Fréquence (y-axis)
    Before
    After
    Finally you can switch the x-axis from the bottom to the top via right click on x-axis > switch sides
    Regards,
    Alex
    ♜♖ LabView 8.6 - LabView 2014 ♖♜
    Attachments:
    Temperature Map-2_inverted y-axis.zip ‏63 KB

  • Help needed in creating a multiple surface graph.

    Dear all,
    Thank you for taking the time to read my question.
    I have an equation with 3 variables.
    I have managed to plot 2 variable(and the result of the equation) on a 3d surface plot and now I am trying to plot the third one as multiple surfaces.
    More in detail, I am trying to plot the induced current in a coil of turns R, at a distance x from a High Voltage(High Current) conductor.
    You will see from my attached file that I have plotted 'Induced current', 'Radius from point x' and 'HV conductor Current'.
    I now wish to plot turns N (say 50, 100, 150, 200, 250 turns) as 5 multiple plots (one on top of the other).
    How can I do this, as I have checked the example files and have not found something very relevant on that. Also answers to similar questions are not very clear to me.
    I am also not quite sure that the surface plot I have is correct, as the valus of HV conductor Current (I) do not start from 500. The same happens for Radius From Point 'x' (R), as they start from 3,5 instead of 3.
    If I go to to CDgraph3D>>properties, I can see 4 more plots but they are definetely not what I would expect.
    I am trying to plot:
    Radius from point 'x' (R)= 3, 3.5, 4,...,5
    HV Conductor Current I = 500,600,...,1000
    # turns of coil N= 50, 100,...,250 (as 5 surface plots)
    and last Induced Current
    What am I doing wrong in my code?
    Thanks
    Alex
    Attachments:
    Parametric analysis of induction coil.vi ‏35 KB

    Good Morning,
    With some mentoring from the skilled LabVIEW Zealot that resides a few cubicles away, I have found how to access the property nodes on the 3D plot. Please find attached a VI that programmatically sets the scale of interest to 600-700. You can change the code to fit your needs.
    Many, many more details can be found at :
    http://forums.ni.com/ni/board/message?board.id=170&message.id=143663&requireLogin=False
    ( the VI should be in 8.0 this time.   )
    Regards,
    Mello
    Data Science Automation
    CTA, CLA, CPI
    SHAZAM!
    Attachments:
    Parametric%20analysis%20of%20induction%20coil[1][1].vi ‏39 KB

  • 3D surface graph

    Hi Guys,
    I'm trying to draw a 3D graph. I have set the Range of the X,Y and Z-matrix axis as auto scalling. But the graph is looking differently. For an example if the X-axis in the range of 440-540 with 10 iteration. The output graph is not clear and the points are not widely spread on the
    X-axis. I attached my VI with this post. Could anyone can help me?
    Attachments:
    new.vi ‏14 KB

    Duplicate Post
    Beejal S
    NI UK & Ireland

  • How to use 3D surface Graph?

    always says "control could not be load"

    When does it say this? Is it when you place it on the front panel? When the code is running? Any additonal information would be greatly appreciated.

  • 3D surface on Linux

    Hello.
    I use LV 8.6 on Linux PC. I have  3  1D array (3 vector) x,y,z. I want to build  3D surface but  for building 3D surface it need build Z 2D matrix. How it is possible on Linux PC????

    The 3D Surface Graph will display a rectangular surface defined by the
    dimensions of the z matrix. The setup of a 3D Surface Graph is set up
    as in the attached picture:
    Vince M
    Applications Engineer
    Attachments:
    3D Surface.jpg ‏14 KB

  • Bugs in the new 3D graph (LV 8.6)

    I already posted this report in the Breakpoint board, breaking the rules...
    Therefore this is not exactly a duplicate post, since it should allow some discussion.
    I just downloaded LV 8.6, as I could not wait to have a look at the new long time awaited 3D graphs primitives, said to run also on MacOS. This is a GREAT new feature. The 3D surface graph works great, but I also found some new bugs (probably known already by the development team since they are pretty obvious, but who knows...).
    Additionnaly, I enjoy the idea that this seems to be the first LV 8.6 bug report in this forum.
    OK, here we go : (all the bugs have been found on a WindowXP machine)
    1 - As shown in the attached picture, a transparent cursor plane hide the 3D surface graph (but shows the axis)
    2 - As shown on the same picture, the boundaries of a cursor plane are locked to the axis values defined by the axis autoscale mode. The cursor plane appears much wider than the axis.
    3 - While in "perspective" mode, when the 3D indicator size is changed the graph switches to "orthographic" mode. An access to the property window is required to return to "perspective" mode.
    4 - after an access to the property window, the graph (perspective mode) in the Render window is streched to fit the window area, but returns back to a normal aspect ratio as soon as the window size is slightly changed.
    5 - As shown in the second attached picture, after a slight modification of the window size, the 3D surface is chopped of during a zoom-in.
    6 - When the 3D indicator size is streched, the graph is also streched. That gives the graph a poor look during rotation. In the old 3D activeX the aspect ratio of the graph was preserved.
    7 - (Not a bug, but a major lack of functionnality) I could not find a way to draw a 3D surface and a line on the same graph. This is easy with the old ActiveX and is a very usefull function when you want to represent the trajectory of an object moving onto a surface.
    8 - (Not a bug, but a strong inconvenience) A predefined color spectrum is lacking
    9 - (Not a bug, but a minor inconvenience) No logarithmic mode for the axis scales
    I better stop now since my wife is desperately asking me to pack my luggage before we leave for NIweek ! See (some of) you soon in Austin !
    Message Edité par chilly charly le 08-03-2008 08:20 AM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    3D graph (LV 8.6) bug1.png ‏83 KB
    3D graph (LV 8.6) bug 5.png ‏129 KB

    I wasn't studious enough : adding a line (problem #7 above) is easy : just drop another 3D graph on the front panel, this will brings in a new create_plot_line.vi on the diagram. Get rid of the additionnal 3D graph indicator, and wire the previous one to the new vi. See the attached graph, where two yellow lines have been drawn on each side the base of the peaks.
    Not yet possible to change the line thickness, but works nicely.
    I now have to customize my function palette to make the "native 3D graphs" directly accessible.
    One additionnal concern though : with the old ActiveX, it was possible (if not simple... ) to insert functionnal 3D graphs in Powerpoint presentations (see this thread). Is there any way to achieve a similar result with the native 3D graphs ?
    Message Edité par chilly charly le 08-03-2008 09:32 AM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    mix 3D graphs.png ‏6 KB
    mix 3D graphs2.png ‏73 KB

  • How to mark points on a graph

    Hi All,
    I want to write a program which plots data on a surface graph then
    allows the user to click on the graph and "mark" points on the plot. The
    program should change the color of the "marked" points on the graph.
    Based on the sample code provided by "Ben" here
    (http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=144155#M144155)...
    I wrote the attached code which uses "event structure" and cursors to do
    the job. I used cursor to read the X,Y,Z position of the clicked point on
    the plot and store them in arrays. These arrays then were feed into a
    new plot added to the graph using CWPlots3D.Add() method. However, my
    code does not draw the second plot (which would show marked points in
    green) nor it does not get the marked points coordination correctly. I
    appreciate your help to correct the code.
    Thank you,
    Attachments:
    change read xyz.vi ‏27 KB

    Hi Trin,
    I have altered your VI a little bit to get the marked points in an array. You will realize that the mouse up event is requested in a parallel loop, that's because this event doesn't get triggered ifyou drag a cursor.
    All you have to do now is to make a graph from the array and create new cursors. But leave Cursor 1 always as the last one and save the past values to new cursors. But maybe you don't need to set a cursor on each marked point.
    Kind regards,
    Kleisi
    Attachments:
    3D_Example.vi ‏39 KB

  • Unequal size of X, Y, Z axis for 3D graph

    Hi,
    I have different size of array in X, Y and Z axis. What graph should I use best? I tried using 3D surface graph but it consume all my memory.
    My data is X = 1 X 41 array
    Y = 1 X 32768 array
    Z = 41 X 32768 array/matrix
    Thanks a lot...

    Samuel S wrote:
    That is also correct
    Ben Im not going to lie that is a great song! I have that from the 1996 Rhythm of the Games Olympic Soundtrack 
    My Mother used to play the Sound Track from the Movie (Peter O'Toole and Sophia Loren) and it left a mark on me but that was nothing until I sat up all night with a case of beer and the movie on VHS so I could rewind and memorize the words.
    Don Quiote is what keeps me from pulling a John Galt and the signature is there to remind me.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for

  • Not able to change font

    Hi , We need to print some text data in printer. As we print a report, with numbers, and columns, we need font widht to be constant for all the charecters for producing properly aligned reports. [ like in courier or monospace fonts]. In the code belo

  • Can we stop Illustrator from outlining text in a PDF?

    I've opened a pdf and get the following message, "To preserve appearance, some text has been outlined", that's it. There's no other errors. I have all the correct fonts and most of the pdf displays correctly. But every few lines or so there's a line

  • No ability to create PDF Files using Acrobat 6.01_6.06 after installing Word 2010. (Windows XP)

    Since installing Word 2010 (upgrading from Word 2003) there are no visable PDF Icons nor ability to create PDF Files using Adobe Acrobat 6.06.  Operating system is Windows XP.  Browser is IE8.  Various attempts to bypass this situation have not been

  • I can't update my iMac to OSX 7.10.2!!!

    When I try to update my iMac to OSX 7.10.2 it doesn't work.

  • Understanding Share folders

    Hi, I don't know if I will be able to explain this right because I didn't capture the information I saw. I thought I saw a little old computer icon under my "share" menu, when I opened finder and I noticed this icon with a number underneath that I ha