Displaying a custom graph

I'm having a problem graphing signals that I am reading from my PCI-6013 device. Basically, what I want to do is graph one of three signals being read by the device. The signal graphed should be the largest of the three values. If Signal value A is larger than value B and C, then I want A to appear on a graph. If B were to change and become the largest, then I want B to be graphed. Any suggestions?

Matt-
Visually representing which of the three signals is responsible for each data point is most easily accomplished by plotting the power waveform in regular format and overlaying the three raw signals on the graph as discrete-point plots.
If you plot the power waveform as a white line, you can plot the other three signals as overlayed bright-colored points. I made an example VI for you and attached it.
Once you've added the three extra raw signals to your output plot, you can modify the graph properties for each of the points. To do so, simply go to the front panel, [right-click] on the graph, select the "Plot" tab, and change the representation of the three raw signal plots to discrete points of contrasting
colors. You can reference my example VI to see how I adjusted the propertied. Note: I changed the color of the power plot to 'white' for the sake of nice contrast.
Your result will be a plot with all four waveforms, and it will be easy to see which raw signal is responsible for each maximum power point on the resultant waveform, since the colored data point will overlap the final (solid-line represented) signal.
I hope this helps. Please don't hesitate to ask for more help/clarification if necessary.
Good luck,
Joe Des Rosier
National Instruments
Attachments:
Cal_Graph_DiffColors.vi ‏244 KB

Similar Messages

  • Displaying custom graph in ALV report

    Hi
    Can you tell me how to display a custom graph for a column in a alv report.
    That is adding a seperate button in the report and display a graph for a column when the button is clicked.
    If 'Graph_2d' function module is used can anybody tell how to pass values to the function module and display the graph using the function module.
    Thanks & regards
    Saravanakumar

    Hi,
      check out the standard program GRDEMO_D for more understanding of teh usage of FM GRAPH_2D
    regards,
    theja

  • Memory problem with loading a csv file and displaying 2 xy graphs

    Hi there, i'm having some memory issues with this little program.
    What i'm trying to do is reading a .csv file of 215 mb (6 million lines more or less), extracting the x-y values as 1d array and displaying them in 2 xy graphs (vi attacked).
    I've noticed that this process eats from 1.6 to 2 gb of ram and the 2 x-y graphs, as soon as they are loaded (2 minutes more or less) are really realy slow to move with the scrollbar.
    My question is: Is there a way for use less memory resources and make the graphs move smoother ?
    Thanks in advance,
    Ierman Gert
    Attachments:
    read from file test.vi ‏106 KB

    Hi lerman,
    how many datapoints do you need to handle? How many do you display on the graphs?
    Some notes:
    - Each graph has its own data buffer. So all data wired to the graph will be buffered again in memory. When wiring a (big) 1d array to the graph a copy will be made in memory. And you mentioned 2 graphs...
    - load the array in parts: read a number of lines, parse them to arrays as before (maybe using "spreadsheet string to array"?), finally append the parts to build the big array (may lead to memory problems too).
    - avoid datacopies when handling big arrays. You can show buffer creation using menu->tools->advanced->show buffer allocation
    - use SGL instead of DBL when possible...
    Message Edited by GerdW on 05-12-2009 10:02 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • My performance is very slow when I run graphs. How do I increase the speed at which I can do other things while the data is being updated and displayed on the graphs?

    I am doing an an aquisition and displaying the data on graphs. When I run the program it is slow. I think because I have the number of scans to read associated with my scan rate. It takes the number of seconds I want to display on the chart times the scan rate and feeds that into the number of samples to read at a time from the AI read. The problem is that it stalls until the data points are aquired and displayed so I cannot click or change values on the front panel until the updates occur on the graph. What can I do to be able to help this?

    On Fri, 15 Aug 2003 11:55:03 -0500 (CDT), HAL wrote:
    >My performance is very slow when I run graphs. How do I increase the
    >speed at which I can do other things while the data is being updated
    >and displayed on the graphs?
    >
    >I am doing an an aquisition and displaying the data on graphs. When I
    >run the program it is slow. I think because I have the number of
    >scans to read associated with my scan rate. It takes the number of
    >seconds I want to display on the chart times the scan rate and feeds
    >that into the number of samples to read at a time from the AI read.
    >The problem is that it stalls until the data points are aquired and
    >displayed so I cannot click or change values on the front panel until
    >the updates occur on the graph. What can I do to be a
    ble to help
    >this?
    It may also be your graphics card. LabVIEW can max the CPU and you
    screen may not be refreshing very fast.
    --Ray
    "There are very few problems that cannot be solved by
    orders ending with 'or die.' " -Alistair J.R Young

  • Web-based BEx: How to display a customized message on the variable screen??

    Hi All,
    I'm now using the web-based BEx. Recently I want to display a customized message (e.g. the usage of the report) on the first page (i.e. the variable entry screen) of the query. Is it possible?
    Thanks.
    BR,
    M. Ng

    Hi marco,
          Check here. itmay help you.
    Custom Messages WAD
    Thanks,
    Vijay.

  • Customer number needed in "GL a/c line item display" for customer gl?

    Hi SAP Experts,
    while running GL account line item display in FBL3N,customer number is not displaying against the gl accounts relating to customer reconcilation account or the gls relating to the customer line item entry.my clients need that in either ASSIGNMENT field(where presently showing the document entry date as defult) or in a different column.for that he even does not want to write any report.
    How can i solve this problem?
    Plz guide me.
    I need a quick response.
    Regards,
    Biswa

    Hi,
    Check If you are using the G/L account which is the reconciliation account for your customer, then it is possible to display the special field1-U_KUNNR and it is ALSO possible to add Sort Key 031 into the Assignment field of that account in FS00 tab Control Data and therefore to display your 'Customer no.' in the Assigment field in FBL3N.
    If you are using the G/L account which is the offsetting entry or the other side of the posting, then it is NOT possible to display your 'Customer no.' neither in the Assignment field, nor adding the
    special field 1-U_KUNNR to the display. At this stage, notes 112312 and 217189 may be of use, which enable you to use a Business Transaction Event to populate offsetting account information.
    I hope these helps.
    Regards
    Ravinagh Boni

  • Error when displaying 2 DVT Graph in same page

    Hi,
    I am using jdev 11g.
    I have a sample page with 2 graph on it. When the page is displayed only one graph is shown.
    <af:form>
    <dvt:graph id="p102" binding="#{TestManagerBean.myGraph}"
    graphType="#{TestManagerBean.graphType}" threeDEffect="true"
    shortDesc="graph pie" contentDelivery="immediate"
    annotationsVisibility="SHOW_ALL" animationIndicators="ALL"
    animationOnDataChange="AUTO" animationOnDisplay="AUTO"
    markerTooltipType="MTT_VALUES"
    noDataErrorText="No Data Found"
    inlineStyle="width: 400px;height: 300px;">
    </dvt:graph>
    <dvt:graph id="p1022" binding="#{TestManagerBean.myGraph}"
    graphType="#{TestManagerBean.graphType}" threeDEffect="true"
    shortDesc="graph pie" contentDelivery="immediate"
    annotationsVisibility="SHOW_ALL" animationIndicators="ALL"
    animationOnDataChange="AUTO" animationOnDisplay="AUTO"
    markerTooltipType="MTT_VALUES"
    noDataErrorText="No Data Found"
    inlineStyle="width: 400px;height: 300px;">
    </dvt:graph>
    </af:form>
    Kindly advice
    Emile BITAR

    Hi Emile BITAR,
    binding="#{TestManagerBean.myGraph}"Have you tried creating separate bindings for each of the graph?
    Regards,
    Chan Kelwin

  • Using WE to display a custom box

    I have a report that I want the user to be able to sort or filter by clicking on a col header. When the user clicks on a col header, I want a small box to appear just below the col header with radio buttons to choose Asc or Desc and a drop-down list to choose a value to filter the col on.  I worked out the javascript for this in a text editor and it works (and I thought it was pretty cool). I've converted the javascript to Crystal Reports syntax and created some Webelements functions:
    This first one sets up the styles and js functions -
    // WEsortfilter
    // Add options to sort A/D and to filter on columne clicked
    // Pass in string of values from main rpt and sort ASC
    // When col header is clicked - display form with radio buttons and drop
    //      down list of values.
    //When sort is selected or member of list execute sort/filter.
    Function ()         
    '<STYLE type="text/css">'
    + '.Test{border-style:solid;border-width:1px;border-color:navy;'
    + 'position:absolute; z-index:66; background-color:lightblue;width:6cm;'
    + 'height:.83cm;padding-left:10px;padding-top:5px;font-family:Verdana;font-size:9pt;}'
    + '.sortlink{font-size:10;font-family:Verdana;color:blue;}'
    + '</STYLE>'
    //End of styles
    //Javascript  to call sort/filter box
    + '<SCRIPT LANGUAGE="JavaScript">'
    + 'function displaySortFilter(myid){'
    + 'var topObj=document.getElementById(myid).offsetTop;'
    + 'var leftObj=document.getElementById(myid).offsetLeft;'
    + 'var cdObj=document.getElementById("Test").style;'
    + 'cdObj.display="";'
    + 'cdObj.left=leftObj;'
    + 'cdObj.top=topObj+26;'
    + '}</SCRIPT>'   //End of function
    + '<form name="sortfilter">'
    + '<div ID="Test" NAME="Test" class="Test"'
    + 'STYLE="display:none">'
    + '<div id="divradio" STYLE="position:absolute">
    + '<input type=radio name=radio ID=radio value="asc">'
    + '<Span>ASC</Span>'
    + '<input type=radio name=radio ID=radio value="desc">'
    + '<Span>DESC</Span>'
    + '<SELECT NAME="filteroptions" ID="filteroptions" >'
    + '<OPTION VALUE="0" selected>Choose One<BR>'
    + '<OPTION Value="00">First<BR>'
    + '</SELECT>'+ '</div></div></form>'
    The second function creates a link for the user to click:
    //WEcallSortFilter
    Function ()
    '<A Style="text-decoration:underline" ID="sbu" class="sortlink" href="" onClick="'
    + 'displaySortFilter(this.id);return false">SBU</A>'
    The third one adds the style and js functionality to the report:
    //Display sortfilter custom function
    WhilePrintingRecords;
    WEsortfilter
    The last one adds the link to the report for the user
    //Call sortfilter custom function
    WhilePrintingRecords;
    WEcallSortFilter
    When I run this in the report through Infoview, the box pops up, however,
    1)     it doesn't show up right under the link clicked, but in the location where it was placed in Crystal Reports design view. It shows up like a static object instead of at the location clicked.
    2)     When the box displays, it is transparent. The other text on the rpt shows right through the box. I've tried changing the z-index to no avail. And no, making the box a solid color doesn't make it opaque. The other text showing through makes it difficult to click on any of the radio buttons.
    All this is beyond the WE examples, but I''ve to kick it up  a level (or three) to get this project done.
    Thanks

    hey, ran some tests on your scenario. to answer your questions...
    1) all of the functions are designed so that you don't have to make copies of them...all controls should be aok with being on a report more than once, as long as the element names are different...the ones that create on-click functionality (such as the collapsible section) require a different name for each control or you'll run into problems...the last iteration of the control on the report will be the only one that (sort of) works.
    that being said, i created 2 formulae and ran your code without any issues with a duplicate of the function.
    the only things that should cause something like this is
    (a) a control name starting with a number or containing certain non alpha-numeric characters...they follow the same rules as javascript...unfortunately this little tip was not in the user guide even though it was on the list (my fault, sorry) or
    (b) two control names that are the same or
    (c) a duplicate of the same formula on the report.
    2) another little tip that seemed to not make it into the user guide is to follow the same ordering principles on a report that you would with normal layering when designing a crystal report...i.e. right-click on objects in the designer and choose Format, then use the Move object action to bring the objects to the front.
    note that if there is a select menu below these controls you will not be able to have the collapsible section (or any other control) cover that select menu up...this is a known issue in internet explorer and there is no workaround for that one.
    hope that this helps,
    jw

  • Display the Customer/Vendor Name in the General Ledger Report

    **I have Questions about General Ledger Report in SAP Business One. How can Display the Customer/Vendor Name in the General Ledger Report.**
    *Just would like to ask if its possible to display the Customer/Vendor Name in the General Ledger Report? The format simply have the Customer/Vendor Code on the said report. Is there a work around on this?*

    If ur selection creteria by g/l account,u can display customer/vendor name by including
    offset account from form settings.

  • Display the Customer/Vendor Name in the Check Register Report

    Just would like to ask if its possible to display the Customer/Vendor Name in the Check Register Report? The format simply have the Customer/Vendor Code on the said report.  Is there a work around on this?
    Thanks...

    Llowen,
    You may develop a Query like this
    SELECT T0.CheckNum, T0.PmntNum, T0.VendorCode, T0.VendorName,  T0.TaxDate, T0.CreateDate, T0.PrnConfrm, T0.CHECKSUM FROM OCHO T0
    WHERE T0.Canceled = 'N' AND (T0.CheckDate BETWEEN  '[[%0]]' AND '[[%1]]') OR (T0.CheckNum BETWEEN '[[%2]]' AND '[[%3]]')
    Suda

  • T.code required for Vendor line item display and Customer line item display

    Hi Gurus,
    Pl provide me transaction code for "Vendor line item display and " Customer line item display apart from FBL1n for vendor and FBL5n for customers.
    Kindly advise.
    Regards,
    Samar

    Hi,
    You could use these, for example:
    S_ALR_87012103 - List of Vendor Line Items
    S_ALR_87012197 - List of Customer Line Items
    Just curious: what's wrong with FBL1(5)N?
    Regards,
    Eli

  • How to make the display of custom column names in UWL(not bother abt values

    Hi all
    i want to make the display of custom column names in UWL ( for example GP)
    i dont want or not looking about values for those custom columns . i know that thru custom connector we can achieve to retrieve the values for those custom columns. but currently i am looking only just to display the custom column names( for example GP custom column names, just i want to display the name of the columns ) in UWL .
    Thanks
    Sunil

    Hello Prashant,
    You can add the control to your custom pagelayout, the following article has an example:
    http://spandps.com/2012/02/22/showing-the-audience-target-field-in-an-editmodepanel-sharepoint-sp2010-in-projectserver-ps2010/
    Btw, the SPFieldTargetToControl has a required property:
    http://msdn.microsoft.com/en-us/library/microsoft.office.server.webcontrols.fieldtypes.spfieldtargettocontrol.required(v=office.14).aspx
    - Dennis | Netherlands | Blog |
    Twitter

  • How to display cusomized custom tooltip(jwindow)  in jtable cell position

    Hi,
    i am trying to display custom tooltip for jtable cell. i created custom tooltip(jwindow) and on mouseover of jtable cell i am trying to display the custom tooltip.
    But it is not display the position of jtable cell. How to display the exact position of jtable cell
    please help me on this.

    Did you read the posting directly below yours which was also about a custom tool tip?
    JScrollableToolTip is buggy
    The code presented there shows the tool tip in the proper location.
    For more help create a [url http://sscce.org]SSCCE, that demonstrates the incorrect behaviour.
    Don't forget to read the "Welcome to the new home" posting at the start of the forum to learn how to use the "code tags" so posted code is formatted and readable.

  • How to validate concurrent program parameter and display a custom message?

    Hi Friends,
    I have a concurrent program which has two non-mandatory parameters.
    The requirement is that user should provide value for any one of the parameters.
    If user does not enter value for both the parameters, i need to display a custom error message.
    Parameter1 has an independent value set.
    Parameter2 has character value set with validation type as special.
    Process i tried so far:
    In the value set for the second parameter, under the Validate event, i have written the following code:
    FND PLSQL "declare
    l_paramb VARCHAR2(20) := :!VALUE;
    l_parama VARCHAR2(20) := :$FLEX$.MOT_CUSTMSGTST_A;
    BEGIN
    IF 1 = 1  THEN
    fnd_message.set_name('FND','FND_GENERIC_MESSAGE');
    fnd_message.set_token('MESSAGE','Please enter any of the ip1 or ip2');
    fnd_message.raise_error;
    END IF;
    END;" I am not using those variables that are defined for the time being.
    Now since the condition 1=1 is always satisfied, i should always receive the error message.
    I am not receving any error message and i can go ahead and submit the program..
    Please advise on where am i going wrong.
    Reports Version - 6i
    Oracle Apps Version - 11.5.10.2
    Regards,
    Sreekanth Munagala

    Hi srrekanth,,
    I've similar issue , I need to display custom message for concurrent program parameter.Need to validate the parameter & display custom message .
    Can you pl provide solution.

  • How to display on the graph three or more waveforms where time scale is not an index of array but a real time

    How to display on the graph three or more waveforms where time scale is not an index of array but a real time:
    I measure three voltages Va, Vb, and Vc on my Test stands every 3sec. So I’m building four arrays (Va, Vb, Vc, Time) and combine all in one.
    Time
    Va
    Vb
    Vc
    0
    5
    3.5
    2.8
    3
    4.9
    3.6
    2.9
    6
    4.8
    3.8
    2.1
    Now I need to show on the graph in which scale X is “Voltage” and scale Y is “Time”.
    How can I do it?
    Thanks a lot,
    Boris

    Hi, thanks all your reply.
    You may find "points_to_bar_graph.vi" from this website, I find it by this way.
    I will ask a stupid question: I don't have any photo processing software, how can I save the vi into a picture format?
    So here I just paste it into word document.
    Attachments:
    question.doc ‏520 KB
    points_to_bar_graph.vi ‏62 KB

Maybe you are looking for

  • SUBMIT does not work in background...

    Hi guys, We have a copy program of a standard transaction and once we use this copy program in the main program via SUBMIT... it does not work in background... Why is this so,,, Please advice... THanks!

  • Does anyone know why the Filter Gallery is not appearing in Photoshop CC since I updated to Creative Cloud 2014

    Hi. I am not an experienced user of Photoshop however I have always been able to access the Filter Gallery to add filters to my images. Today I went in to PS CC to work on an image and found the Filter Gallery selection greyed out - so you can't clic

  • Touchscreen Monitor for MacBook Pro

    I just bought a 15" Macbook Pro with Parallels 9 and Windows 8.  Can anyone recommend a touch screen monitor that I can use with my new workstation?  I would like to get rid of my Dell desktop and just use the Macbook Pro for both desktop and laptop

  • SAP IDOC shows status 03, but no file is written

    We have SAP configured to generate delivery IDOCs when the SAP Delivery document is posted/saved. The IDOC is initially created with status 30. There is batch job RSEOUT00 every 30 mins that collects the IDOCs in status 30 and converts to status 03.

  • Is there a single snmp oid for flash and dram ?

    Does a single univeral oid (or 1 for flash and one for dram) exist that will provide total amount of flash and total amount of dram across all chassis families ? Thanks