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:

Similar Messages

  • Custom waveform graph

    Hi, i'm making a virtual lab for my final exam at university, now i'm on the oscilloscope and i need to make a custom waveform graph to put on my image of an oscilloscope that have the grid make in photoshop. I wanto to know how to make an invisible waveform graph that show only the waveform and if is correct to enlarge the graph area like the fake scope grid or i must make other adjustment. Thanks and sorry for my english

    Hello Silversky,
    Don't worry for your english, I'm pretty sure I understood your concerns. In other words, you are wondering how to have a custom control to show up only the waveform signal and overlap it on a custom image representing an oscilloscope. This is a very challenging cosmetic task at first, however you can get the best form using Custom Controls and achieve your task:
    Customizing NI LabVIEW Controls and Indicators
    Customizing the Gauge Control in LabVIEW
    Moreover. I attached a Type Def showing how to customize a Waveform Graph close to the way your are looking for.
    Have a great day and let me know if you need additional help.
    Best regards
    Matteo C. - Test Engineer
    Attachments:
    Graph Folder.zip ‏540 KB

  • How to load a custom waveform for use with DAQ voltage generation

    I would appreciate some advice on how to take a custom waveform (just a modified triangle wave with pauses at the tops and bottoms) and use that to control the voltage output from a DAQ. 
    Some background:  My intent is to use the waveform to control mirror scanning for a LADAR imaging application .  Because our DAQ (NI-6251) only has one clock, it cannot update the X and Y channel voltages independently. I'm using a triangle wave to control both axes, which works fine for the X direction.  However, to prevent the Y axis from incrementally steping up after every X pixel, I'd like to construct a waveform, similar to a step pyramid, so that the Y axis remains constant over the X sweep and only updates to the next row after all X pixels are collected.
    I assume I can make the desired plot in excel, and then read it in somehow - but this is where I start to get fuzzy.  Can any one point me to an example or tutorial on this?
    Some other questions:
    1. Do I needto worry about scaling? will my custom plot need to contain a specific number of points (perhaps the exact number of pixels in the image)?
    2. If I change the image dimensions, will I need to revise the control waveform in the Y axis?
    Thanks in advance,
    jimmy

    This thread didn't appear to go anywhere.  I am trying to do something similar and was looking for help.  I want to create a repeating output voltage wave based off the excel file attached(with times).  Is there a way to have my program match the output voltage and time with the table attached on a repeat and send that signal to the output?
    Thanks,
    T
    Attachments:
    Sig Gen.xlsx ‏34 KB

  • 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

  • How can I save the plot on Graph control to disk like the plot on Picture.vi ?

    Dear all
    I have a question about saving the plot on graph control.
    In Labview,there is two way to make a plot, using graph control (eg. waveform control ,wavechart control) and Picture.vi (eg. plot XY vi and plot waveform VI ) ,
    but for Picture.VI  there is some control  for saving them to disk (eg. write jpeg file.vi or write bmp file.vi )
    My question is that may I save the plot display in graph control to disk using some vi like saving Picture to disk.
    I only know we only can right clicking and export implified image to save the plot on graphic plot?
    What want is save the plot on graphic control without interface and save to disk directly?
    many thanks!

    RIght-click on your graph and select:
    Create...Invoke Node and select method "export image". Wire the desired inputs and place it inside a case structure to be activated by e.g. a button.
    LabVIEW Champion . Do more with less code and in less time .

  • 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

  • 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

  • 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

  • Is it possible to delete a plot with using mouse to select it on the graph control?

    For example, when I use PlotLine to plot thousands of lines on the graph control, I want to delete some of them, but there is thousands of plotHandle generated.
    How can I get the plotHandle of the specific line on the graph control with using mouse to select it?
    If I record information of the lines, ex. the plotHandle and the coordinates, on a table or list, etc. , I have to compare the information of lines to get the plotHandle of the specific line.
    Is there any user-friendly way to delete a plot by select it on the graph control?
    Solved!
    Go to Solution.

    Sure! Look at the example located in \samples\userint\graphcursors for an example of how to accomplish this task.
    Briefly:
    The cursor must be in "Snap to point" mode
    (To be confirmed) The graph must be in "Retain" data mode
    You must have a callback for the graph control
    You can use GetGraphCursorIndex to retrieve the plot handle
    GetGrpahCursor retrieves values of cursor position in engineering units
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How can I take the photo by capture the photo, plot the graph(control chart) in the same times and export to Excel File

    I want to do my sample of the project  following these steps.

     1. Create the template for compare other objects.
     2. Save the template and ready for compare realtime with other objects  
    II 
    1. Use the CCTV video camera Sony capture the picture of the object (lego toys).
    2. Calculate the size of the objects and change to mm.
    3. Compare with the template and plot graph(Control chart) by length
    4.  Export the data to Excel Files
    Solved!
    Go to Solution.

    Nice project !
    I sincerely hope you are not expecting us to do your homework.
    What is your experience with LabVIEW ? 
    May be you should try to start to code something and then come back later with some more specific question ?
    Message Edité par chilly charly le 01-02-2009 08:40 AM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Custom fields for FV50 table control

    Hello,
    The customer has a requirement to add 3 text fields to the table control in Transaction FV50. These fields are currently not available in the table control at all (I checked the Table settings Administrator). Further, no Screen/Transaction Variant has been implemented either to prevent these fields from being displayed. Which is why I'd like to find a way to add these custom fields to this table control. These fields are the text descrptions for the numeric fields Cost Center, Fund and Business Area.
    I've read many posts on this forum regarding potential solutions including the link below which details the SAP std solution. Only problem is this approach adds these fields to the data dictionary tables underlying the screen. The customer says about 1 million records are being generated a month so they would rather not have all that extra data at the line item level.
    Custom column for FB60
    If anybody has done this sort of thing via a user exit I'd much appreciate your input.
    Thanks,
    Tarun

    Hi Rob,
    Yes, I checked IMG configuration and found that Txn OXK3 allows us to extend the underlying tables and customize the generic fields in the table control. However, the client  has nearly 1 million postings to table BSEG each month and I'm guessing this approach will entail adding the custom fields to table BSEG, which won't work for them. I haven't actually tried this approach because the SAP documentation has some dire warnings about proceeding. But if you have any insight as to whether this can be achieved without extending BSEG (possibly just extend VBSEGS??) that would be very valuable.
    Thanks,
    Tarun

  • Add columns with custom fields in the table control of MIGO

    Hi,
    I have to add custom fields in the table control view of item in the MIGO.  I have added the fields in the GOITEM structure and i am able to display it in the item details tab.  I want the same fields to be visible as columns in the table control view of the items.
    I found that TV_GOITEM is the control in SAPLMIGO program referring to the table control of items but it is referring only to the standard fields available in Screen 200.
    Please let me know if there is any screen exit or option to add the custom fields in the control TV_GOITEM.
    Thanks.

    Hi,
    Thanks for your reply.  I have added the custom fields in the item detail.  But the customer wants the custom fields in the table view also.
    Is there any screen exit available to modify the table control of MIGO?
    Thanks.

  • Intensity Graph control using VC++ 6.0?

    LabView supports an "Intensity Graph" control. Is there a way to accomplish the same thing with CNiGraph, CWGraph or CNiGraph3D?

    Thank you for you answer. It was very helpful. One thing missing is the "intensity slider" that is part of the LabView control. It allows the user to adjust the image display. The other problem I have is that the 3D graph axes labelling always looks big and clunky no matter what I use for font type/size. What I am trying to emulate is shown in the attachment. Basically I am translating some LabView code into C++.
    Attachments:
    Image1.bmp ‏203 KB

  • 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

  • New unwanted button on graph control

    It's been a while since updating graph controls.    On a new project in CVI Version 10.0  Every time I add a new graph control I get a button attached to the side of the graph.  I want to delete it.   I do not remember it doing this in version 6.0.   How is it possible to hide it? 

    If you are talking about what I think you are talking about, then this is not actually a button. It is the Legend for the graph. You can disable with the Legend Visible property or with the Show Legend check box in the Edit Graph dialog as shown below.
    National Instruments
    Product Support Engineer

Maybe you are looking for