Axis marker setting of Graph control

Hi, I want to set specific markers for the axis of graph control,  first, I try to use property node, but  I can't find appropriate property to set marker of axis;
I am thinking the axis should looks like:
X  Axis: 0(min), 90, 180, 270, 360;
Y Axis: 0, 10, 40, 80, 120;
Z Axis: 0, 5, 10, 25, 50;

it seems the Increment setting can do that

Similar Messages

  • Unlink x-axis marker values from graph scale

    Say there are three points to plot: y-values 2.1, 2.2 and 2.3. The x-values are 0, 1 and 2, respectively. How can the x-value marker values be changed to 22, 50 and 100 without rescaling the plot's x-axis?

    > I've tried this with all graph types. I want the points to be evenly
    > spaced on the x-axis. I want the marker labels on the x-axis to be
    > arbitrary. e.g.: plotting gain error (y-axis: generally {-1%..1%})
    > versus gain setting (x-axis: generally {48, 24, 8, 4, 2, 1, 0.5,
    > 0.025...}).
    >
    The LV graphs support linear and log scaling, and they support a linear
    transform between the plotted value and the labeled value, but you are
    correct, they do not allow arbitrary labeling of the points on the scale.
    To work around this, you might look at placing cursors/markers on the
    graph. Show the text labels, hide the lines and points, and set the
    color however you like for the text. The marker location can be at the
    bottom or top of the g
    raph, and the text can be your arbitrary values.
    Then hide the X Scale.
    Another approach is to hide the scale and have an array of strings or
    numerics that you overlay. The problem with this approach is that as
    fonts change when you change platforms, or MS changes the default font,
    your array and graph won't line up. The markers on the graph always will.
    Greg McKaskle

  • 3d plot axis marker goes into graph

    Hi All - when I run scans in a 3d plot, with autoscaling enabled, the problem shown in the attached figure presents itself - the font goes into the fluorescence (Z) axis. Is there some easy way to avoid this? I suppose I can change the font size, but this seems like something that should be done automatically by labview. Thanks. 
    Attachments:
    scan problem.png ‏144 KB

    Does defering panel updates help with the flicker on these graphs?  I dont think it did with the old, better, cw3dgraphs if memory serves.
    Tim Elsey
    LabVIEW 2010, 2012
    Certified LabVIEW Architect

  • Graph control right-hand Y-axis tick marks look like negative signs

    Hi,
    The graph control right-hand Y-axis tick marks just to the left of the numeric values that make up the scale look like negative signs.  It gets confusing for the user of the software.
    The left Y-axis is OK because the little tick marks are to the right of the number.
    Any ideas on how to improve this situation?
    Thanks,
    Kirk Mitchell
    Project Engineer
    Kollmorgen

    Perry,
    First of all thanks for looking at this.
    The tick-marks controlled by the "Mark Origin" option are not the tick marks that are causing the problem.
    The Mark Origin ticks are in the body of the graph along the x=0 and y=0 lines.  They only show up if those lines are visible such as if you have a graph with an x axis range of -100 to +100 and a y axis range of the same.
    The ticks I'm referring to are just to the left of the numeric values that label the right axis.
    Below is a screenshot to illustrate:
    Any other ideas?
    Thanks,
    Kirk

  • Graph control causes general protection fault when changing axis range (64bit)

    Hello,
    i wrote a 32bit application which i'm porting to 64bit now and stumbled across a problem with the graph control.
    The Graph axsis are set to editable so that the user can change the axis range manually at runtime. The 32bit version has no problem here, but the 64bit  version is crashing  with a general protection fault at the source line with RunUserInterface().
    Is there a compiler option/value or something i should be aware of when swithing to 64bit that should be set?
    Or is this just a problem with the code of the control?
    I tried it with LabWindows v13.0.2 (278)  and v13.0.1, running under Windows 7 64bit.
    Thanks.

    Hello, danouj!
    Thank you for reporting this issue to us!
    However, information you provided is still unsufficient for us to determine the background of this bug.
    Please also provide the following details, so that we can identify the issue and investigate whether a workaround for this problem exists:
    From my understanding, when porting the application to 64-bit, you also performed some code changes to your CVI application. What are these code changes?
    If you run the 64-bit version of your application without these code changes, does the application also crash?
    What is the address of this crash?
    It would also be very useful, if you can send us a copy of a minimal snapshot of your project application, in which the problem still occurs, for us to investigate the issue.
    You can upload the sources at ftp://ftp.natinst.com/incoming
    Best regards,
    - Johannes

  • How to get y axis value(in a numeric control) by providing x-axis value using wave graph

    Hi,
    I'm new here, Sorry if i have selected wrong Location.
    I want to get Y-axis value (in a numeric Control) by providing X-axis Value using Wave graph.
    i want to do calculations with the obtained value.
    i have attached File and Snapshot.

    Well, you are using the Dynamic Data Type, which I almost never use, but if you convert the data to a WaveForm (using From DDT on the Signal Manipulation Palette, which is a choice when you right-click on the DDT Wire), you should be able to do this.  Do you know about how Waveforms are stored?  They are a Cluster, with t0 being a TimeStamp for the start of the Waveform, dt being the time step, and Y being the samples.  So if you want a point at 0.5 seconds and dt is 0.001, you would pull out the point at Index 499 (offset 0) from the Y array.
    Bob Schor

  • Why the 3D graph control shortcut menu is disabled?And how to set 3D graph to default view when running?

    1).Controls have shortcut  menu,but the 3d graph's shortcut menu cannt be able. why? how to make it able?
    2).3D graph can be rotated free by dragging, and when it is not running,right click ,select default view, the graph go back to initial view. But when the VI run, the shortmenu is disabled, how to make it to defaul tview. the property node and method seem have none about default view

    The 3D Graph control is actually an ActiveX control (in Windows), so it's not a "standard" LabVIEW control with the "standard" run-time popup menu. Consequently, to access most of the properties and actions you actually have to use the Property Node and Invoke Node functions in the Application Control palette:
    Message Edited by smercurio_fc on 05-30-2008 09:55 AM
    Attachments:
    Example_VI_BD6.png ‏1 KB

  • How can I add axis to an XY-graph programmatically (in LV 6i)?

    I am currently using LabVIEW 6i to make a flexible graph window, which can be called and controlled from another VI. It's easy to send commands to the graph window over a queue interface (enabling things like adding and removing plots, changing the names, etc.)
    However, I would also like to add/remove/assign axis like this (i.e. when the program is running). It seems to me that there isn't an attribute or method available on the XY-graph that will allow this.
    My best solution so far is to have a maximum number of axis present, and then hide/show them when axis are removed/created. However, this triggers a bug in LV (AFAIK) when the axis are shown/hidden out of order (they will be shown
    on top of each other). Now this can be solved by setting the positions/sizes of all axis every time, but that seems like a lot of work...
    Is there a way to add/remove axis to an XY-graph programmatically (in LabVIEW 6i)?

    I have not found a way to programmatically create/remove scales in LabVIEW.
    In regards to the error, I would suggest updating to LabVIEW 6.0.2. I wrote a simple VI that tested this funcitonality and did not have any problems. The link to the 6.0.2 update is:
    http://digital.ni.com/softlib.nsf/websearch/F983BDA17B8F401B862569EC005A11C2
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

  • Custom Waveform or XY Graph Control

    Hi
    I need a special Waveform Graph or XY-Graph Control in LV2009
    Take a look at the following picture or attachment.
    There are 12 channels and all channels have same X-axis (actually Time Axis)
    But each channel has different and "separate"  Y-axis (Amplitude)
    Is it possible to make it in LV2009? or LabVIEW has already something like that?
    Sorry for my bad english !
    Solved!
    Go to Solution.
    Attachments:
    CGraph.PNG ‏35 KB

    Ah, here we go. Use the "Active Plot" property and then set the "Y Scale Index" for each active plot.
    (Due to the way snippets work, the reference became a control.)
    Also, for your application, you probably want to put it in a loop that runs through all 15 plots:

  • Using Excel with Visual C++ 6.0 (need a graph control that behaves as much like the one in CVI as possible)

    I hate to beat this to death but I was unable to find a
    clear answer to this question.  Does NI provide Excel control from within
    Visual C++ 6.0? 
    I read that NI supports the ANSI-C library only for Visual C++ 6.0 users:
    Thread : "Re: Benifits of using measurment
    studio for VC++ 6.0?"
    NI REP : drohacek
    Quote  : "we made the decision to support Visual
    C++ 6.0 users only through the ANSI-C interface and not through the Measurement
    Studio MFC-based class libraries."
    If there is a suggested way of controlling Excel from within Measurement Studio
    for Visual C++ 6.0 then I’d love to know it. 
    If not, can a plain statement be made basically stating that if you want
    to control Excel you can’t use a Visual C++ 6.0 environment even with Measurement
    Studio support?
    With .NET of course you can just decide to have Excel support added during
    project creation.  CVI can act as an ActiveX server and easily control
    Excel just by building off the examples shipped with CVI.  I see that
    there is support, using the Measurement Studio for Visual C++ 6.0 Project Wizard,
    for taking existing CVI projects and converting them to Visual C++ 6.0 projects
    or for calling CVI libraries from a .dll from within Visual C++ 6.0.  I suppose I could do the work
    in CVI and then convert the project but I'm so deeply tied into all my MFC calls that I don't see
    how I can cleanly include the CVI libraries into my existing VC++ 6.0 projects.
    What I'm really after here is a visual graph control like the one in CVI that I
    can use from Visual C++ 6.0.  I purchased a 3rd party graph control for use
    in VC++ 6.0 that works well but isn't really visual.  I mean you can't
    enter any values in it until you run the program and fill it out programmatically. 
    Then you can see which columns are two narrow, quit the program, adjust the
    column width of your now empty control, and repeat, until you get the thing
    looking the way you want.  If I could call into Excel from within Visual
    C++ 6.0  the way I do from within .NET
    then I could use Excel to hold the table and just read in the values into my table
    control at run time.  Basically I'd use Excel as a visual development tool
    for all my tables.
    I do all my coding from within CVI and Measurement Studio for Visual C++
    6.0.  I'd use CVI for everything if I didn't depend so heavily on certain
    outside controlled C++ .dll's.  Could you please suggest then what I can
    do to get Excel support for Visual C++ 6.0?
    Last question :
    Is there any plan to ever have a NI table control like the CVI table control for
    use in Visual Studio?  One that you can
    completely set up before you do any compiling? 
    I imagine that the way Microsoft sets up their environment makes this idea impossible.  Otherwise someone would
    have come up with a truly “visual” table control before now.
    Thanks,
    Grant
    Grant M. Johnson
    Project Engineer
    LECO Corporation

    Hello Grant
    You can most certainly use Excel with VC++ 6.0. Measurement Studio won't provided you with any classes to talk to Excel in VC++ 6.0. This is because Excel allows control via Automation and you can use its automation API to do anything you need with Excel. This is what CVI uses as well.
    You can see this MSDN article on how to set this up. This mentions VC.NET, but it should work the same way.
    Here is one that talks about VC 6.0 and Excel.
    Here is a code project article about this.
    Even with .NET, you have to do thru the Excel Automation support. Excel started shipping with Primary Interop Assemblies (PIA) which are .NET wrappers about the Excel Automation object model. C++ Automation is definetely not as nice as .NET, BTW
    See this document for more information about the Excel object model.
    I would not recommend using the CVI Excel libraries if all you want to use them for is Excel automation. You will end up creating un-necessary dependencies and go through extra layers that way. You can make calls straight to Excel from VC++ without requiring CVI.
    One quick observation about your excel approach. If you decide to use Excel as your table, you might be requiring everyone who uses your application to have Excel installed on their machines. Just wanted to make sure this was acceptable to you.
    Have you looked at the Datagrid Activex control, which is one of the common controls that ships with Visual Studio? You can add it to Visual Studio by right-clicking and picking it from the list of installed activex control. If you have not already, you should check it out.
    Microsoft has made significant improvements in the number of controls they provide with .NET. They have a Datagrid control that seems to be what you need.
    Measurement Studio did add some high level classes for Excel and Word Automation that simplify some common tasks, but these exists for VS 2003 C++ and VS 2005 C++, not for VC 6.0. Underneath, we end up using the same Excel automation classes, so you can easily setup something similar for VC 6.0. Plus you can find alot of references online on how to use the Excel Automation object model with C++.
    We currently have no plans in Measurement Studio to create a table control unfortunately. I am assuming when you said graph, you actually meant table, since Measurement Studio already  provides a ActiveX graph controls for VC++ 6.0 that is very similar to the CVI graph.
    On a side note, VC++ 6.0 is really really old. Have you considered upgrading?
    To summarize
    - Yes, you can use Excel with Vc++ 6.0 without mstudio.
    - Try using the Datagrid Activex control if you just need a table.
    - Measurement Studio provides high-level excel and word classes for VC++ 6.0
    - Measurement Studio provides a graph control for VC++ 6.0 which is very similar to the CVI graph.
    - Measuremnt Studio does not have a table control.
    - VC++ 6.0 is really really old. Have you considered upgrading?
    Bilal Durrani
    NI

  • Can you set a graph to it's default value programmatically?

    I have a waveform graph (control on the panel). I'd like to set it back to it's default value through a property node (or something). Is there a way to do this?

    Woah slow down, you've given us 14 minutes to react. I'm not sure but has a graph not a 'reinitialize to default' method?
    And out of curiosity, what is the advantage of dynamic data over doubles/waveforms/....? I am totaly NOT familiar with them but if you can be the devils advocate it would be nice.
    Success,
    Ton
    (and yep we're all our Own worst Enemy)
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Add axis label to a graph in word report

    Hi,
        Is there a way to add an axis label for the graph in a word report? Thanks!
       Tom
    Solved!
    Go to Solution.

    I would guess that there is, but it would be a word automation function.
    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

  • Silver XY Graph Control legend does not scale properly

    When a Silver XY Graph Control is dropped on a front panel, and the control is set to "Fit Control to Pane", the graph legend does not move like it is supposed to. This seems to only affect the XY graph. The waveform graph/chart opererate correctly (i.e., like the Modern controls). Can anyone confirm this?
    Chris

    Hello D60,
    This behaviour has not been fixed in LV 2012.
    COPY - Please use "Copy to clipboard" by right clicking on the background
    PASTE:
    Please note that only the background of the graph will change. The rest of the elements such as the legend will not be altered (I did specify this was a cheap workaround )
    In my case, this was not an issue, since I was only displaying the legend (which I made transparent anyway).
    Please see the attached .ctrl file.
    Merry Christmas!
    Jorge
    Attachments:
    Silver XY Graph (Fix).ctl ‏8 KB

  • Animated line graph control?

    Can anyone tell me what vendor provides an animated line
    graph control like on farecast.com?
    Please see the following site and click on the "Graph" tab:
    farecast.com Line
    Graph Control
    Thanks!
    Chirag

    i would try to achieve this with tweened mask.
    first, draw the complete line on a layer above the JPG.
    then on a layer just above the line, draw a rectangle that
    covers it completely. convert it too a symbol (F8.) Right clicl on
    the layer and set this layer to Mask.
    Add enough frames to all layers for your desired animation
    length.
    On the Mask layer, add a key frame at the last frame.
    On the Mask layer, on the first frame, scale the mask
    rectangle Horizontally so that it only masks the first part of your
    line.
    Right click on the Mask layer and Create Motion tween. you
    may have to adjust the Center poitn of your recangle mask (the
    small white dot) to get it to scale up correctly.
    you should see the rectangle scale out to cover the whole
    line as the animation plays.
    With both Mask and Line layers Locked, you should see the
    mask reveal the line over time.

  • CVI 2010 SP1 Graph Control Resizing Following Panel Resizing Bug

    Steps to duplicate:
    - In a running application, compress a panel containing a graph control with a top x-axis down to some very small size.
    - Re-expand the panel.
    Observed behavior:
    - Graph control is drawn abnormally large (larger than panel size; abnormally large fonts).
    - This is only seen with graphs with top X axes. 

    Hello -
    I'm not able to reproduce what you're seeing.  Could you please post a small example project that reproduces what you're describing?
    Thanks -
    NickB
    National Instruments

Maybe you are looking for

  • Best practice on using Flashback and Logical Standby

    Hello, I'm testing a fail-back scenario where I first need to activate a logical standby, then do some dummy transactions before I flashback this db and resme the redo apply. Here is what the steps look like: 1)     Ensure logical standby is in-sync

  • PSE 8 won't open after installing new Wacom tablet

    I have a PC that runs on Windows 7. I received my copy of PSE 8 with my Wacom Bamboo Pen and Touch tablet around Christmas in 2010, and it's never given me any troubles before. About two weeks ago I purchased a Wacom IntuosPro Pen and Touch, and afte

  • Boot camp is no longer bootable

    I am currently on a 13" Mac Book Pro 10.9.5 This morning, I went to boot up my Mac HD and is would not. I checked to see if my Windows 7 partition would boot up and it did. I then used Disc Utility to try and repair my Mac HD, but found that it was u

  • Iphone stuck in emergency mode after downgrade from 4.0.2 to 4.0?

    iphone stuck in emergency mode after downgrade from 4.0.2 to 4.0? Upgraded to 4.0.2 last night. Immediately, itunes would no longer detect my iphone. Decided I had to downgrade back to 4.0 again. Learned I cannot do that easily, so i found a .ipsw fi

  • Strange problem : Idoc to FTP scenario

    Hello, I have created Idoc in SAP & imported into PI. I have done mapping for all the fields of Idoc but now I have very strabge problem. There are two fields which are not getting transferred to PI eventhough I those two fields are there in Idoc. If