3d PLOT DIRECTION

How can i programically change the 3D graph direction that I want to view.
I know how to view and adjust the projection, but what about the graph's direction meaning XY, XZ, YZ, and user defined...
Thanks!

You can use a standard property node and wire it to the 3Dgraph out terminal. This will give you View latitude, View longitude View distance properties. I wired these into a bundle node and made an indicator inside a for loop. You can play with the properties and view before running to see how these values change.

Similar Messages

  • How to invert plotting direction

    Hey everyone,
    I am performing the raster scan and plotting the image with 2D Intensity graph. It would be nice to change the plotting origin and direction (to make the image match to physical reality). What do I mean:
    Is it possible to make upper right corner the origin, and to make upper left corner the positive X direction and Lower Right corner the positive Y direction?
    Thanks in advance,
    D.
    Solved!
    Go to Solution.

    Hi Dirs,
                See this
    Thanks as kudos only

  • Open Beta: New toolkit for high-quality plots

    I'd like to let everyone know that's we're running an open beta for a brand-new LabVIEW toolkit, aimed at making publication-quality plots directly from the block diagram. In addition to regular line, scatter, and bar plots, this toolkit also supports advanced features like 2D contours, vector fields, streamlines, alpha transparency, and inline math using LaTeX. You can save plots directly to disk in half a dozen formats, including PDF and PNG.
    We call it the "Advanced Plotting Toolkit", and it's available at http://www.advancedplotting.com along with example VIs and documentation.  The beta is free and distributed as a standard .vip package with no dependencies.  If you have the time, we'd love to hear your feedback.  That doesn't just mean bug reports... this is an amazing community and we'd love feature suggestions as well.  Comments are welcome here or by email ([email protected]).
    I've included some screenshots of our example VIs below to give you an idea of what the output looks like. Btw, there is also a stand-alone demo app (built using Application Builder) that you can use to test-drive the toolkit without installing anything in LabVIEW.

    Intaris wrote:
    All depends on performance, will report back as soon as I have numbers.
    Performance does not seem very high but I also don't think that is the main purpose. You don't use this to update a graph millions of times per second. Instead, it is mostly used to show a finalized result for puplication quality output or for a report.
    The toolkit looks well put together, and contains extensive help. The installation does not add examples to the example finder, so I recommend to immediately download the examples from their web site.
    Some features need a more detailed explanation, e.g. the definition of "symlog" for the axis mapping.
    My understanding (wild guess!) is that this is a LabVIEW interface to an existing open source graphing package (matplotlib?) and as such is pretty polished. Nothing wrong wit this. The generation of publication quality advanced plots is a weak point in LabVIEW and it is a pain to make your own from scratch (example).
    Overall, I like it. Still need to play a little more.
    LabVIEW Champion . Do more with less code and in less time .

  • How to make a Line Chart curved instead of straight from point-to-point?

    I have a Line Chart that is is very jagged and plots directly from point to point, like this:
    http://img818.imageshack.us/img818/7408/testhb.jpg
    But I want to achieve something that looks a bit smoother where the line instead is curved from point to point, like this:
    http://download.oracle.com/docs/cd/E12839_01/bi.1111/b32122/img/curvedline_graph.gif
    Is this possible in Xcelsius 2008?  I couldn't find anything in the graph's properties and I also had no luck when searching google/these forums for a solution.  Thanks for the help!

    Hello Richard
    I have come across the same scenario today and I saw your .swf file and it was exactly what i was looking for.
    Can you please be kind enough to send me the .XLF fil on <email address removed>
    Thanks
    Arshiyan
    Message was edited by: Ludek Uher
    I removed the email address as this is against the SCN Rules of engagement. Files can be uploaded via the "Use advanced editor" link on each SCN post.

  • Oscilloscope programme-Device communication

    Hi all. I want to implement Java code for an oscilloscope that interacts with a device and changes its state accordingly. Could you help me out? Ta in advance.

    prometheuzz wrote:
    jwenting wrote:
    JFreeChart however is not optimised for realtime systems like an osciloscope.
    Unless your refresh rate is lower than once every few seconds (at most) you're better off writing a customs library for creating your graphs, plotting directly onto a canvas.Didn't know that.
    Thanks.it works well enough when the volume of data is small, but when the volume becomes large (and with an osciloscope you'd quickly get to tens of thousands of data points if you have any realistic sampling rate) it slows right down.
    It's mainly an issue with the memory structures being employed (quite a bit of copying and iterating going on in there which is less than efficient with high volume data).

  • Simple question: Can you input an array of strings directly into your plot legend instead of "Plot 0", "Plot 1"......?

    I have an array of channel names for a simple vi I wrote and I want to input them into the plot legend.  I typically use ring controls to allow different users to select what they want to see, but beyond 3 or 4 it gets confusing.  Is there a way to take an array of strings and input them directly into the legend string slots using a property node?  I have spent hours searching to no avail.
    Thanks!!
    Adam

    Yes, of course there is! Try this:
    Message Edited by altenbach on 05-01-2009 08:45 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    PlotNamesII.png ‏7 KB

  • Using LabVIEW to Generate an XY Graph of Multiple, Indexed Plots?

    Hello,
    I have written a LabVIEW Program (using 8.2.1) to characterize FETs using GPIB instruments. At it's most basic level, the program sets a voltage across the Gate-Source terminals of the FET, sets a voltage across the Drain-Source terminals of the FET, reads this second voltage, and then reads the Drain-Source current. The Drain-Source voltage is then increased, the current read, and so on. In this manner, the Drain-Source voltage is swept from 0V to some defined maximum (dependent on the FET being tested) and an array of data (I_{DS} vs. V_{DS}) is generated. The Drain-Source is then reset to 0, the Gate-Source voltage is increased, and the entire process is repeated.
    My problem is this: I need to generate a single Graph  (I think it should be XY, but not entirely certain), that plots all of these IV curves (each curve for each Gate-Source voltage) and indicates the Gate-Source voltage for each curve (in an indexed legend of some sort). Does anyone have any suggestions about how I should do this? My program is entirely based on For Loops and Sequence Structures. If you need a screen shot or want me to upload the program, please let me know. Fair warning, though: I am a LabVIEW novice so while the program functions correctly, it is not the prettiest in the world.
    Thanks for any help you can provide.
    Michael
    P.S. I searched the forums and didn't find this question already posted. If, however, it was and I just missed it, could someone direct me to it? Thanks.

    Vincent, Jon, and Andrew:
    I still need some help. I used the 3524.vi Example for the XY Graph: x-array, y-array definition to generate the kind of multiple plot xy graph that I needed. My problem now is I would like to re-index the plots so that they are labeled according to the Gate-Source voltage I am applying. Each curve has its own, distinct Gate-Source voltage and I would like to label each curve with its Gate-Source voltage. Currently, the plots are labeled in the legend: Plot 0, Plot 1, Plot 2, ... Plot n.
    How should I go about doing this (is there even a way to do this)?
    Again, any help would be greatly appreciated.
    Michael
    P.S. I have attached a copy of my program to this message. As I said, it isn't pretty, but it works so far. Hopefully this will help you in forming your suggestions.
    Attachments:
    FET Characterization Program (V2).vi ‏100 KB

  • Mathematica crashes when trying to plot 3D graphics.

    Regardless to version 8 or 7 and to the command line option -mesa, mathematica crashes when trying to plot 3D graphics.
    The resulting errors, after launching mathematica and trying to execute a Plot3D in the examples, are:
    X Error of failed request: GLXBadContext
    Major opcode of failed request: 153 (GLX)
    Minor opcode of failed request: 6 (X_GLXIsDirect)
    Serial number of failed request: 111091
    Current serial number in output stream: 111090
    X Error of failed request: BadAlloc (insufficient resources for operation)
    Major opcode of failed request: 153 (GLX)
    Minor opcode of failed request: 3 (X_GLXCreateContext)
    Serial number of failed request: 111086
    Current serial number in output stream: 111091
    X Error of failed request: GLXBadContext
    Major opcode of failed request: 153 (GLX)
    Minor opcode of failed request: 5 (X_GLXMakeCurrent)
    Serial number of failed request: 111092
    Current serial number in output stream: 111092
    Mathematica has received the signal: SIGSEGV and has exited.
    If possible, please report this problem to [email protected]
    describing in as much detail as possible what you were doing
    when the problem occurred.
    The fact is that
    $ glxgears
    works fine while the output of glxinfo is
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: SGI
    server glx version string: 1.4
    server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_multisample, GLX_EXT_create_context_es2_profile,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method,
    GLX_SGI_swap_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_INTEL_swap_event
    client glx vendor string: Mesa Project and SGI
    client glx version string: 1.4
    client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_get_proc_address,
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_create_context_es2_profile, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
    GLX version: 1.4
    GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_create_context_es2_profile, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
    OpenGL vendor string: Intel Open Source Technology Center
    OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset
    OpenGL version string: 2.1 Mesa 9.0.1
    OpenGL shading language version string: 1.20
    OpenGL extensions:
    GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture,
    GL_EXT_polygon_offset, GL_EXT_subtexture, GL_EXT_texture_object,
    GL_EXT_vertex_array, GL_EXT_compiled_vertex_array, GL_EXT_texture,
    GL_EXT_texture3D, GL_IBM_rasterpos_clip, GL_ARB_point_parameters,
    GL_EXT_draw_range_elements, GL_EXT_packed_pixels, GL_EXT_point_parameters,
    GL_EXT_rescale_normal, GL_EXT_separate_specular_color,
    GL_EXT_texture_edge_clamp, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_ARB_framebuffer_sRGB, GL_ARB_multitexture,
    GL_EXT_framebuffer_sRGB, GL_IBM_multimode_draw_arrays,
    GL_IBM_texture_mirrored_repeat, GL_3DFX_texture_compression_FXT1,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_transpose_matrix,
    GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_secondary_color, GL_EXT_texture_env_add,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
    GL_INGR_blend_func_separate, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
    GL_SUN_multi_draw_arrays, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_EXT_framebuffer_object,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_MESA_window_pos,
    GL_NV_packed_depth_stencil, GL_NV_texture_rectangle, GL_NV_vertex_program,
    GL_ARB_depth_texture, GL_ARB_occlusion_query, GL_ARB_shadow,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_window_pos, GL_ATI_envmap_bumpmap, GL_EXT_stencil_two_side,
    GL_EXT_texture_cube_map, GL_NV_depth_clamp, GL_NV_vertex_program1_1,
    GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, GL_ARB_draw_buffers,
    GL_ARB_fragment_program, GL_ARB_fragment_shader, GL_ARB_shader_objects,
    GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ATI_draw_buffers,
    GL_ATI_texture_env_combine3, GL_ATI_texture_float, GL_EXT_shadow_funcs,
    GL_EXT_stencil_wrap, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_NV_primitive_restart, GL_ARB_depth_clamp,
    GL_ARB_fragment_program_shadow, GL_ARB_half_float_pixel,
    GL_ARB_occlusion_query2, GL_ARB_point_sprite, GL_ARB_shading_language_100,
    GL_ARB_sync, GL_ARB_texture_non_power_of_two, GL_ARB_vertex_buffer_object,
    GL_ATI_blend_equation_separate, GL_EXT_blend_equation_separate,
    GL_OES_read_format, GL_ARB_color_buffer_float, GL_ARB_pixel_buffer_object,
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_float,
    GL_ARB_texture_rectangle, GL_EXT_packed_float, GL_EXT_pixel_buffer_object,
    GL_EXT_texture_compression_rgtc, GL_EXT_texture_rectangle,
    GL_EXT_texture_sRGB, GL_EXT_texture_shared_exponent,
    GL_ARB_framebuffer_object, GL_EXT_framebuffer_blit,
    GL_EXT_framebuffer_multisample, GL_EXT_packed_depth_stencil,
    GL_APPLE_object_purgeable, GL_ARB_vertex_array_object,
    GL_ATI_separate_stencil, GL_EXT_draw_buffers2, GL_EXT_draw_instanced,
    GL_EXT_gpu_program_parameters, GL_EXT_texture_array,
    GL_EXT_texture_integer, GL_EXT_texture_sRGB_decode, GL_OES_EGL_image,
    GL_MESA_texture_array, GL_ARB_copy_buffer, GL_ARB_depth_buffer_float,
    GL_ARB_draw_instanced, GL_ARB_half_float_vertex, GL_ARB_instanced_arrays,
    GL_ARB_map_buffer_range, GL_ARB_texture_rg, GL_ARB_texture_swizzle,
    GL_ARB_vertex_array_bgra, GL_EXT_separate_shader_objects,
    GL_EXT_texture_swizzle, GL_EXT_vertex_array_bgra,
    GL_NV_conditional_render, GL_ARB_ES2_compatibility, GL_ARB_debug_output,
    GL_ARB_draw_elements_base_vertex, GL_ARB_explicit_attrib_location,
    GL_ARB_fragment_coord_conventions, GL_ARB_provoking_vertex,
    GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,
    GL_ARB_shader_texture_lod, GL_ARB_texture_rgb10_a2ui,
    GL_EXT_provoking_vertex, GL_EXT_texture_snorm,
    GL_MESA_texture_signed_rgba, GL_ARB_robustness,
    GL_ARB_shader_bit_encoding, GL_ARB_texture_storage,
    GL_ARB_invalidate_subdata
    32 GLX Visuals
    visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
    id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
    0x020 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x021 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x07e 24 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
    0x07f 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
    0x080 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
    0x081 24 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x082 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x083 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x084 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x085 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x086 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x087 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x088 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x089 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
    0x08a 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x08b 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
    0x08c 24 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
    0x08d 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
    0x08e 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
    0x08f 24 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x090 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x091 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x092 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x093 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x094 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x095 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x096 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x097 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x098 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
    0x099 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x09a 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
    0x04d 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    48 GLXFBConfigs:
    visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
    id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
    0x04e 0 tc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
    0x04f 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
    0x050 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
    0x051 0 tc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x052 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x053 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x054 24 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
    0x055 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
    0x056 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
    0x057 24 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x058 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x059 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x05a 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x05b 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x05c 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x05d 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x05e 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x05f 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x060 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x061 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow
    0x062 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x063 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
    0x064 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x065 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
    0x066 0 dc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
    0x067 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
    0x068 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
    0x069 0 dc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x06a 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x06b 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x06c 24 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
    0x06d 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
    0x06e 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
    0x06f 24 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x070 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x071 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x072 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x073 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x074 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
    0x075 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x076 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x077 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x078 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
    0x079 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow
    0x07a 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
    0x07b 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
    0x07c 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
    0x07d 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
    I've tried in /etc/X11/xorg.conf under Section "Device" different options like:
    Option "AccelMethod" "uxa"
    or
    Option "AccelMethod" "sna"
    or
    Option "NoAccel" "true"
    without success.
    Here are informations about the graphics card:
    $ lspci -v -s `lspci | awk '/VGA/{print $1}'`
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])
    Subsystem: Acer Incorporated [ALI] Device 0207
    Flags: bus master, fast devsel, latency 0, IRQ 44
    Memory at f4000000 (64-bit, non-prefetchable) [size=4M]
    Memory at d0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at 1800 [size=8]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    Kernel driver in use: i915
    while my /etc/X11/xorg.conf file looks like
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "ServerFlags"
    Option "DontZap" "False"
    #ho aggiunto quanto segue il 22.06.2010 dopo che non riuscivo a cambiare la tastiera DISATTIVA L HOTPLUGIN
    #Option "AutoAddDevices" "False"
    EndSection
    Section "Module"
    Load "glx"
    Load "dri"
    Load "record"
    Load "dbe"
    Load "extmod"
    Load "dri2"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "NoAccel" "true" # [<bool>]
    #Option "SWcursor" # [<bool>]
    #Option "ColorKey" # <i>
    #Option "CacheLines" # <i>
    #Option "Dac6Bit" # [<bool>]
    #Option "DRI" # [<bool>]
    #Option "NoDDC" # [<bool>]
    #Option "ShowCache" # [<bool>]
    #Option "XvMCSurfaces" # <i>
    #Option "PageFlip" # [<bool>]
    #Option "AccelMethod" "uxa"
    #Option "AccelMethod" "sna"
    Identifier "Card0"
    Driver "intel"
    VendorName "Intel Corporation"
    BoardName "Mobile 4 Series Chipset Integrated Graphics Controller"
    BusID "PCI:0:2:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    I'm running a full updated Arch x86_64 release.
    Any suggestions?
    Thanks in advance,
    Roberto

    Hello BajaBoy,
    I think it would be easiest to figure this out if I had the data to look at. If you can send this too me (I will treat this confidientially and it will be deleted after we got it to plot) please sned to me me directly at National Instruments.
    My email address is my:   first name DOT last name AT ni DOT com       (no middle initial!).
    We'll get back to you with an answer the same day unless we run into the Thanksgiving holiday before we get this.
    Hope that helps,
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • How do I change the number of plot areas in a Mixed Signal Graph

    How do I *programatically* change the number of plot areas in a Mixed  Signal Graph?  I recognize that the developer can choose to add or  remove a plot area during edit mode but I want to select between 2 or 3 visible plot areas and scale the plot areas appropriately.  Is there a property that tells me how many plot areas (or yscales) there are?  I also need a property that I can write to as to set the number of plot areas available.
    Aside from manually making too many plot areas and then hiding the unneeded plot areas how can I do this?
    Jonathan

    Hello,
    I don't think that is possible - I searched the property and invoke nodes but didn't find something to do that.  This would make a great product suggestion though, which you can submit (it goes directly to R&D) by clicking the word feedback in the bottom left corner of the Contact NI page linked below:
    Contact NI:
    http://sine.ni.com/apps/utf8/nicc.call_me
    Best Regards,
    JLS

  • How to plot data in a chart?

    I'm trying to plot data from a table in
    a ChartControl object. The table consists
    of two columns, one contains a numeric
    value and the other contains a date value.
    I'd like to plot the numeric value on the
    Y axis and the dates along the X axis.
    I've got the same data displayed in a grid
    format, and that's all fine.
    This seems like a simple enough thing to
    do, but I haven't found a basic page of
    documentation to guide me in the right
    direction. How do I do this?

    Use Reshape array to turn your 2-D array into a 1-D array.  You will need to wire in a constant of 40 since you will have 40 elements in your new array.  Convert the 1-D array to a cluster with Array to Cluster.  Right click on that function and set the size of the array to 40.  Wire that cluster to the waveform chart.  Now each of your 40 values you get after the double For Loops will run will append their new data to the 40 lines on your waveform chart.
    Message Edited by Ravens Fan on 12-18-2009 11:30 PM
    Attachments:
    ThermocoupleReadings[1]_BD.png ‏13 KB

  • Charts: how do I determine when the mouse is in the plot area

    I'm trying to implement logic that will do the following:
    Panning plot within plot display area by clicking and dragging mouse
    If the user clicks and drags in the chart plot area (the region where the chart plot actually displays, not including the axes, legends, titles, etc.), I want to be able to provide the effect of panning the plot (e.g. similar to grabbing and dragging a map in Google maps) within the plot display. This makes the most sense, of course, if the user has zoomed in to some level and the entire plot is no longer fully visible within the display.
    Zooming on a plot
    If the user places the mouse somewhere in the chart plot area and uses their mouse wheel, I want to be able to provide the effect of zooming in and out of the plot. The plot area itself must remain at its original size, just the representation of the plot needs to simulate the effect of being zoomed in or out on.
    Thoughts, suggestions, ...
    To make the zoom and pan effect, my thought was to adjust the axes bounds as appropriate to simulate these effects. The trick for some of what I'm planning on doing is finding out where the mouse is in the plot area (not the whole chart) so that I can find the x,y offsets from the plot origin (which appears to be in the upper left - at the chart level anyway). For panning, I don't think I care what the offset is, just that it's within the plot. For zooming, I may need to know where the mouse is in the plot so that the zooming could be centered on that location in the plot. This makes me think that it would also be helpful to find out how to translate the mouse x,y pixel position to a corresponding x,y value in the plot data domain.
    I've been experimenting with attaching event handlers to detect various mouse actions and what information can be gleaned from these events. So far I have not found anything that allows me to determine the bounds of the plot region in the overall chart. I can get the mouse x,y position, but I don't know where it is in relation to the plot area bounds. I don't want to initiate a pan of a plot if the user happens to drag their mouse somewhere outside the plot area (i.e. over an axis, legend, etc.). Also, it would not make sense to start a zoom on the chart unless the mouse is over the plot.
    Please let me know if this seems to be a reasonable approach, and if not, please suggest any ideas for alternatives. Any help, ideas and suggestions regarding how to solve these issues and/or determine this information would be welcome.

    I experimented a bit and it seems the plot-content is the Group containing, well, the content of the plot. So in a line chart it's the smallest rectangle containing all the lines and the graphic at the data point (little circles, by default). What you probably need instead is the chart-plot-background.
    Here's a quick example of a panning chart. There are probably better ways to manage the mouse dragging (it behaves somewhat badly if you drag out of the plot area and then back in, for example) but it gives you the basic idea. My original idea of adding a mouse directly to the plot area failed as the event doesn't get propagated to the plot region if you click on part of the plot content (a line, for example).
    import java.util.Random;
    import javafx.application.Application;
    import javafx.beans.property.DoubleProperty;
    import javafx.beans.property.SimpleDoubleProperty;
    import javafx.collections.FXCollections;
    import javafx.collections.ObservableList;
    import javafx.event.EventHandler;
    import javafx.geometry.Point2D;
    import javafx.scene.Scene;
    import javafx.scene.chart.LineChart;
    import javafx.scene.chart.NumberAxis;
    import javafx.scene.chart.XYChart.Data;
    import javafx.scene.chart.XYChart.Series;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.BorderPane;
    import javafx.scene.layout.Region;
    import javafx.stage.Stage;
    public class PanningChart extends Application {
      @Override
      public void start(Stage primaryStage) {
        final NumberAxis xaxis = new NumberAxis("x", 0, 10, 1);
        final NumberAxis yaxis = new NumberAxis("y", 0, 100, 10);
        final LineChart<Number, Number> chart = new LineChart<>(xaxis, yaxis);
        chart.setAnimated(false);
        chart.setData(createData());
        final Region plotArea = (Region) chart.lookup(".chart-plot-background");
        final DoubleProperty lastMouseX = new SimpleDoubleProperty();
        final DoubleProperty lastMouseY = new SimpleDoubleProperty();
        chart.setOnMousePressed(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            final double x = event.getX();
            final double y = event.getY();
            if (plotArea.getBoundsInParent().contains(new Point2D(x, y))) {
              lastMouseX.set(x);
              lastMouseY.set(y);
        chart.setOnMouseDragged(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            final double x = event.getX();
            final double y = event.getY();
            if (plotArea.getBoundsInParent().contains(new Point2D(x, y))) {
              moveAxis(xaxis, x, lastMouseX);
              moveAxis(yaxis, y, lastMouseY);
        final BorderPane root = new BorderPane();
        root.setCenter(chart);
        primaryStage.setScene(new Scene(root, 600, 400));
        primaryStage.show();
      private void moveAxis(NumberAxis axis, double mouseLocation,
          DoubleProperty lastMouseLocation) {
        double scale = axis.getScale();
        double delta = (mouseLocation - lastMouseLocation.get()) / scale;
        axis.setLowerBound(axis.getLowerBound() - delta);
        axis.setUpperBound(axis.getUpperBound() - delta);
        lastMouseLocation.set(mouseLocation);
      private ObservableList<Series<Number, Number>> createData() {
        final ObservableList<Data<Number, Number>> data = FXCollections
            .observableArrayList();
        final Random rng = new Random();
        for (int x = 0; x <= 10; x++) {
          data.add(new Data<Number, Number>(x, rng.nextDouble() * 100));
        return FXCollections.singletonObservableList(new Series<Number, Number>(data));
      public static void main(String[] args) {
        launch(args);
    998038 wrote:On a slightly different (but related) subject, where can I find an up-to-date source of information that describes the IDs and class names that JavaFX uses? I assume the ".plot-content" is pertaining to the ID of the chart plot area (or plot "child" of the chart?). Where can I find the names of the various objects that can be "looked up"?I generally try to avoid lookups as they feel a bit fragile. However occasionally there seems to be no other way, as in this case. The [url http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html]CSS reference guide documents the css class substructure of each Node type.

  • Reducing plots shown in legend causes error

    I am using a waveform chart for a classic scope display, channel 0, channel 1 and math. Sometimes however I would like to set up the scope so the math channel is configured on the waveform, but not displayed, and not displayed in the legend either. It's easy enough to set it up to not be visible on the waveform, but making it not visible on the legend, either by reducing the number of plots shown, or by changing the legend height, so that in effect, the number of plots shown is reduced--either method makes later attempts to modify settings for the math channel cause an error (setting the active Y scale = 2 causes an error, since math is the 3rd scale, or 2nd w/ 0-based indexing).
    Is there any way to make it not visible in the legend without causing an error for active scale or other properties I would like to set?

    First, I was confused in my statement on Scales versus Plots. You were correct in your reply, and I went back and looked at my code, which was actually using the Active Plot as you said it should have been, not Active Scale. I do use separate scales for each plot, hence my confusion, but that was not directly related to the problem I was having.
    Second, your example was most helpful--thanks for posting that.
    Third, after seeing that your example worked as desired, I tried to make it line up with my version of reality It didn't, so I started to look into the differences.
    - I am using a dynamic signal waveform graph instead of the kind you used.
    - I rewrote your example with a cut and paste of the waveform graph I was using. The property nodes had to then be re-selected properly since the names didn't correspond on a 1 to 1 basis changing over to the dynamic signal graph (for instance Plot.PlotName -> Plot.Name)
    - After some hair pulling, I tracked down the errors I was having and was able to reproduce them in simplified form using your example.
    As it turns out, the root cause of the errors I was having is not having data displayed. I was trying to set up the graph and plots, colors, names, etc... before writing data. As you can see from the modified example, that doesn't work real well, unless you write an almost null array (1 set of zeroes) to the indicator. A lot of the confusion came from getting errors sometimes when trying to set the Active Plot, and not getting them other times--no reproduceability.
    In the attached example, you can see that by setting math visible in the plot legend, you can modify the name and color, but then setting it invisible then visible again erases all the settings for that plot, so long as no data is displayed on the graph for it. With no data, and no visibility in the legend, trying to modify the active plot settings results in errors. I'm not sure whether this is a 'bug' or a memory management feature of dynamic waveforms, but it has definitely caused me quite a few headaches in the last few days. I think the short of it will be to initialize with a set of zeroes and that should take care of things. Thanks again for posting your example.
    Attachments:
    Show-hide plot.vi ‏158 KB

  • Plot colors mismatched with legend

    Does any happen to know why colors on a graph would not match the colors indicated in the legend?
    I am trying to use a property node to set the color and name for each set of data which is displayed. The colors and names are displayed properly in the legend, but the color of the plot itself does not follow.
    Attachments:
    View_Collected_Data.vi ‏132 KB
    data.txt ‏6 KB

    The loop knows how many times to go due to a feature of LV called auto-indexing. If you pass in an array and let it autoindex on the boarder, the loop will automatically pull out the next value in the array with each iteration--AND set the number of time to loop before stopping. Compared to the hoops C makes you jump through to use arrays, this is indeed Very Cool...
    Note that if you wire both the N terminal on a FOR loop, and autoindex an incoming array, the loop will iterate the smaller of the two sizes. For example, if you wire 5 to N and pass in an array with three elements, the loop will only go three times.
    Finally, always remember that a FOR loop can iterate zero times. In that case any outputs coming directly from the loop will be
    the default value for the datatype. Arrays will be empty, numbers will be zero'd and (this is a biggie) references numbers will be invalid(!).
    In the case of your code, I modified the logic such that it generates an array of indexes that has one element for each signal selected. This array drives the loop that sets the plot properties. Note that if the operator selects more than 5 signals the higher-numbered plots will be undefined in terms of color and label because you only specify 5 colors in an array. (Input an array of 10 items and an array of 5 items and the loop only goes 5 times.)
    Note that, although it's not used here, auto indexing also works with outputs. In that case though, the loop will automatically collect an array of the output values--one element per iteration.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How do I change the name of several plots of a graph/chart. (programmaticly)

    Heey everyone, title says it all.
    I already tried using active plot with a forloop, but for some reason that doesnt work for me :s
    Checkout the picture in the appendix, that`ll explains my problem.
    In the block diagram you`ll see a stringarray : 
    0 = name 1,
    1 = name 2 and
    2 = name 3.
    For some wack reason the plotnames are set in a different order. Also checkout the program while using debug, then you`ll understand directly what my problem is.
    Thank you!
    Currently using labview 8.2.1
    Solved!
    Go to Solution.
    Attachments:
    plot-test.vi ‏13 KB
    plot-test.PNG ‏38 KB

    You also do not need the 'array size' wired to the number of iterations in the For loop,
    LabVIEW will autoiterate since you passed an array into the loop.
    Cory K

  • Using XY Graph to plot current and voltage

    Hi,
       I'm making an I-V curve tracer, and am hoping to plot current and voltage measurements I'm acquiring onto an XY Graph in realtime.  I'm using Labview 2010 on Windows Vista, with the VISA drivers installed; my acquisition hardware is an Arduino Uno communicating over USB to serial via VISA drivers.
    My data is coming in over the serial port formatted like "voltage,current":
    237,521
    320,402
    I've read through the relevant documentation for the graph builder, the 4 samples included with LabView, and quite a few posts on this forum.  I modified Jazlan's sample VI to read the current and voltage, and display the values on the front panel - it works just fine.  However, when I wire those values to an Express XY Graph builder (and set the 'clear data on each call' property to false) and run the software, it just sort of freezes... I try to stop it, but it keeps running for about 10-20 seconds.  The current/voltage values are not updated, nor is anything displayed in the XY graph.
    Am I not sending the correct input to the graph builder?
    Should I just wire up my values directly to the XY graph by concatenating values to an array, and then clustering it?
    Also, on the right border of my case structure, one of the orange squares is not solid - how do I fix that?
    any help much appreciated!
    imran
    Attachments:
    block.jpg ‏140 KB
    project.vi ‏76 KB

    thanks for the tip Tim,
        I wired up the stop button to the VISA close block, and now I'm able to run and stop it multiple times without freezing.
    1)  I know how to add shift registers, but why do I need one?  It doesn't seem like I need to pass values from one iteration of the while loop to another...
    regards,
    imran
    Attachments:
    project.vi ‏43 KB

Maybe you are looking for