[Q] How to merge 2 differents XY Graph?

Hi,
I'm currently having a stupid problem, at least I hope.
I would like to plot the XY graph 2 and the other one on the same graph, but I'm just not able to. I tried to merge them in several ways, but it's not working. 
I know there is a probably a dimension problem of my array compared to the other one, but what I don't understand is why I can plot them separatly on the same kind of graph, even invert the wires but not merge them easily to show me the both results on 1?
I already searched on google and on LabView forum, but don't have found anything yet.
Is there an easy way to do it?
I can't post my VI, but if really needed to help me, maybe I can create a one reproducing that problem. I tried to give as much as possible informations on the screenshot I took for that reason.
Thank you,
Sébastien
Solved!
Go to Solution.

Hi,
I've read all the XY Graph.vi, but it doesn't help me.
I agree with you there is a cluster of arrays and an array of clusters. I also agree with you that it's important to correctly important to understand what kind of data you are using, but I'm doing an internship during 4 months (already one month and 2 weeks done), and it's not thinkable that I focus on that during more weeks on a so "small" details as it's really not the main goal of my internship.
I tried to use almost all the "cluster to array" "array to cluster" "build array" "insert to array" "bundle" in a lot of differents ways, but I just have lack of skills in LabView to correct my problem.
I just realised that it was quite easy to extract the values of a graph, so I was able to create a VI with exactly the same values reproducing the problem. I attached it.
Thank you,
Regards,
Sébastien
Attachments:
Merge2XYGraph.vi ‏34 KB

Similar Messages

  • Stepper motor 8SMC1-USBhF and power meter PM100D: how to merge the two VIs into one and make a XY graph of the current position and the power

    Hi there,
    I have a stepper motor (8SMC1-USBhF) and a power meter (PM100D). I want to measure the power while the stepper motor is moving, and obtain an XY graph with the current position on x axis and the power on y axis. So I just merged the two VIs together by copying and pasting, and created local variables for current position and readout value, and changed them to read, and then linked them to the XY graph, but apparently it doesnt work.
    So could you please instruct me how to merge them and obtain an XY graph appropriately?
    Attached are the two VIs.
    Thank you!
    Attachments:
    PM100D Simple Example.vi ‏42 KB
    StepperMotor.vi ‏97 KB

    Hello,
    The XY graph requires that each datapoint on the X axis corresponds to a datapoint on the Y axis.  To create XY data you will need to creat two arrays of X data and Y data with the same amount of elements then cluster the two arrays together to wire into the XY graph.  As an example take a look at the VI snippet below.  Is there a specific error being thrown?
    Regards,
    Isaac S.
    Applications Engineer
    National Instruments

  • I am trying to figure out how to merge my AD network account.

    I am trying to figure out how to merge my AD network account with my Mac account. The main reason for this is wanting to log into my admin account on the Mac, and have it also log into my network account so I do not have to log into differing accounts depending on wether I am on the network or not. And I am going to be running VMware fusion with windows on top, so having one account would be essential to this.
    Thanks.
    P.S. I am brand new to Apple, not by choice. ;-)

    Basically I want to link a network account to a local account, so that I always log into the same account, even if I do not have network access....

  • How to merge the cells on a  tittle's report

    Hi there!
    Considering a simple obiee report composed of a title and a pivot table. At the same time, the title is composed of a logo and a sentence. If I export it to excel, the logo in the title and the sentence are allocated to separated cells. Do you know how to merge the cells on the tittle?
    Any help will be GREATLY appreciated.
    Thank you very much indeeed!!!
    PS. Oracle Business Intelligence 11.1.1.6.4

    Hi There,
    I am also facing same issue. Please let me know if any one has solved it.
    Thanks in advance.

  • How to merge the 2 field in alv gride display

    Tables for ALV display
    DATA: it_fieldcat   TYPE  slis_t_fieldcat_alv,
          wa_fieldcat   TYPE  slis_fieldcat_alv,
          wa_layout     TYPE  slis_layout_alv,
          it_exclude    TYPE  slis_t_extab,
          wa_exclude    TYPE  slis_extab,
          it_header TYPE STANDARD TABLE OF zqm_imir_hdr,
          wa_header LIKE LINE OF it_header,
          it_final TYPE STANDARD TABLE OF zqm_imir_itm,
          wa_final LIKE LINE OF it_final,
          it_vcode      TYPE RANGE OF zqm_wtr_itm-vcode,
           wa_vcode      LIKE LINE OF  it_vcode.
    DEFINE m_fieldcat.
      wa_fieldcat-fieldname = &1.
      wa_fieldcat-tabname   = &2.
      wa_fieldcat-seltext_m = &3.
      wa_fieldcat-outputlen = &4.
      wa_fieldcat-col_pos   = &5.
      append wa_fieldcat to it_fieldcat.
      clear wa_fieldcat.
    END-OF-DEFINITION.
    DEFINE m_vcode.
      wa_vcode-option   = &1.
      wa_vcode-sign     = &2.
      wa_vcode-low      = &3.
      wa_vcode-high     = ''.
      append wa_vcode to it_vcode.
      clear wa_vcode.
    END-OF-DEFINITION.
    START-OF-SELECTION.
      PERFORM data_retrival.
      PERFORM lead_time_calculation.
      IF it_final[] IS NOT INITIAL.
        PERFORM alv_display.
      ENDIF.
    Display ALV
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-repid
          is_layout          = wa_layout
          it_fieldcat        = it_fieldcat
          i_save             = c_x
          it_excluding       = it_exclude
        TABLES
          t_outtab           = IT_OUTPUT[]
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      m_fieldcat: 'ZIMIRNO'  'IT_OUTPUT' text-003 21  0,
                  'PRUEFLOS'  'IT_OUTPUT' text-004 21  1,
                  'ZCRDAT'    'IT_OUTPUT' text-030 9 2,
                  'INITS'     'IT_OUTPUT' text-031 6 3,
                  'SPLIT'     'IT_OUTPUT' text-005 12  4,
                  'WERK'     'IT_OUTPUT' text-006  5 5,
                  'LOSMENGE'  'IT_OUTPUT' text-007 24  6,
                  'MENGENEINH' 'IT_OUTPUT' text-008  15  7,
                  'NAMEVEND'   'IT_OUTPUT' text-009  11  8,
    *& Hypercare - 721600 - IMIR Changes - Start
                 'KONT_PSPNR' 'IT_OUTPUT' text-023  15  7,
                  'POSID' 'IT_OUTPUT' text-023  15  9,
    *& Hypercare - 721600 - IMIR Changes - End
                  'LTEX1' 'IT_OUTPUT'  text-024  24  10,
                  'EBELN'    'IT_OUTPUT' text-010  26  11,
                  'MBLNR'    'IT_OUTPUT' text-011  24  12,
                  'ANZGEB'   'IT_OUTPUT' text-012  17  13,
                  'GEBEH'    'IT_OUTPUT' text-013  4 14,
                  'MATNR'    'IT_OUTPUT' text-014  18 15,
                  'TXZ01'   'IT_OUTPUT' text-015  128 16,
                  'SPECE'    'IT_OUTPUT' text-016  23  17,
                  'VCODE'   'IT_OUTPUT' text-017 24  18,
                  'TAGNO'   'IT_OUTPUT' text-018 10  19,
                  'HEATNO'   'IT_OUTPUT' text-019  11  20,
                  'IDCODE'   'IT_OUTPUT' text-020  7 21,
                  'TCNO'   'IT_OUTPUT' text-021  9 22,
                  'REMARKS'   'IT_OUTPUT' text-022 30 23,
                  'BUDAT'   'IT_OUTPUT' text-025 30 24,
                  'CPUTM'   'IT_OUTPUT' text-026 30 25,
                  'VDATUM'   'IT_OUTPUT' text-027 30 26,
                  'VEZEITERF'   'IT_OUTPUT' text-028 30 27,
                 'ZLTIME'    'IT_OUTPUT' text-029 30 26,
                  'LEADTIME'   'IT_OUTPUT' text-029 30 28.
    DATA : v_unit like T006-MSEHI VALUE 'HR',
           v_FCALID like SCAL-FCALID,
           v_zltim TYPE f,
           v_zltime TYPE p LENGTH 8 DECIMALS 2.
    SELECT SINGLE FABKL INTO v_FCALID FROM T001W WHERE WERKS = s_werks.
    SELECT zcrdat INTO TABLE it_zqm_imir_hdr
           from zqm_imir_hdr
            FOR ALL ENTRIES IN it_final
            where zcrdat EQ it_final-zcrdat.
    SELECT mblnr mjahr budat cputm
          INTO TABLE it_mkpf
          from mkpf
            FOR ALL ENTRIES IN it_final
          where mblnr EQ it_final-mblnr
            AND mjahr EQ it_final-mjahr.
    SELECT prueflos vdatum vezeiterf
          INTO TABLE it_qave
          from qave
            FOR ALL ENTRIES IN it_final
          where prueflos EQ it_final-prueflos.
    SORT it_mkpf    BY mblnr mjahr.
    SORT it_qave    by prueflos.
    SORT it_zqm_imir_hdr  BY zcrdat.
        LOOP AT it_final into wa_final.
          CLEAR: wa_output,wa_mkpf,wa_qave,wa_zqm_imir_hdr.
          MOVE-CORRESPONDING wa_final to wa_output.
    READ TABLE it_zqm_imir_hdr INTO wa_zqm_imir_hdr WITH KEY zcrdat = wa_final-zcrdat
                                                   BINARY SEARCH.
          READ TABLE it_mkpf INTO wa_mkpf WITH KEY mblnr = wa_final-mblnr
                                                   mjahr = wa_final-mjahr
                                                   BINARY SEARCH.
          MOVE wa_zqm_imir_hdr-zcrdat TO wa_output-zcrdat.
          MOVE wa_mkpf-budat TO wa_output-budat.
          MOVE wa_mkpf-cputm TO wa_output-cputm.
          READ TABLE it_qave INTO wa_qave WITH KEY prueflos = wa_final-PRUEFLOS
                                                   BINARY SEARCH.
          MOVE wa_qave-vdatum     TO wa_output-vdatum.
          MOVE wa_qave-vezeiterf  TO wa_output-vezeiterf.
    LV_START_DATE = wa_zqm_imir_hdr-zcrdat.
    LV_START_DATE = wa_mkpf-budat.
    LV_START_TIME =  wa_mkpf-cputm.
    LV_END_TIME   = wa_qave-vezeiterf.
    LV_END_DATE   =  wa_qave-vdatum.
    IF LV_START_DATE IS NOT INITIAL.
       IF LV_END_DATE IS NOT INITIAL.
          CALL FUNCTION 'SD_CALC_DURATION_FROM_DATETIME'
            EXPORTING
              i_date1                =  LV_START_DATE
              i_time1                =  LV_START_TIME
              i_date2                =  LV_END_DATE
              i_time2                =  LV_END_TIME
           IMPORTING
             E_TDIFF                =  LV_DIFF
            E_DATE2_EARLY          =  E_DATE2_EARLY
          EXCEPTIONS
            INVALID_DATETIME       = 1
            OTHERS                 = 2
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    eNDFORM.}
    This is my code unable to merge the to tabs position is on 3rd and 4th.
    need help ......
    thanks,

    Hi,
    From Your code I saw that you called Macro of fieldcat after Calling the ALV Function Did You Check That One.
    Following links may be useful for you ,
    ALV report: How to merge 2 columns into 1 column?
    Hope this information helps You
    Regards,
    Raghava Channooru

  • HT202879 How do I insert a graph on a pages doc?

    How do I insert a graph on a Pages Document?

    Insert menu -> Chart
    If this is a graphic created by some other software:  Insert menu -> Choose
    Regards.

  • ALV Graphs: How to set line type graph as default graph

    Hi All,
    I need to develop a line graph. The fields on the X-axis will change dynamically. Some times they may be 10 field and some times they may be more than 100 fields. I tried with Function Module GFW_PRES_SHOW_MULT. But I can only display maximum 32 fields. Can anyone tell me exact program which helps me to full fill my requirement. It will be a great help if you could told how do display line type graph as default graph in ALV.  In REUSE_ALV_GRID_DISPLAY there is a Exporting parameter MT_CHART_TYPES but this help you only to enter description for X-axis and Y-axis.
    Many thanks in advance.

    I would call GRAPH_MATRIX_2D with options depending on representation you wish
    look at the program GRBUSG_1 to see how to use it
    there you have some options to display bar chart, but you could use other values (complete list of options is available in documentation of function module GRAPH_MATRIX_2D - click on parameter OPTS in help display to see full explanation)
    exemple:
    P2TYPE = LN to display lines

  • How to merge pdf files in Preview in Lion

    I've consulted Preview Help to find out how to merge many pdf files into one. The Help window tells me to open each file, and transfer the thumbnail from each opened document into the sidebar of the other. Who wrote this Help item? Once you drag one thumbnail into the other sidebar, the other window closes, and there's no way to drag the closed file into the other file's sidebar. And I've tried! And tried! A helpful way out is to combine the two files, click Print, then save as PDF. But there must be a more direct way to accomplish this merger. Before Leopard, the procedure was easy. Then in Leopard, Apple made it a little more challenging. Finally in Lion, Apple seems to have surpassed itself, making it almost impossible. Does anyone know how to accomplish this Herculean task in an easy way?

    > The Help window tells me to open each file, and transfer the thumbnail from each opened document into the sidebar of the other.
    It works the same way it did in SL. That's exactly what I did. Are you sure you are dragging the thumnail? I just dragged a pdf to a file of many pdfs combined and it went right in and joined the family. View menu > Thumbnails?

  • How to merge photos in photo booth

    how to merge photos in photo booth that they will be un one photo

    You can email the photos from Photo Booth or from the camera roll in the photos app.
    Tap on the photo to select it and then tap the arrow icon in the upper right corner and select email -  in the photos app ..... or tap email - in Photo Booth - at the bottom of the screen.
    You can also import photos from the camera roll to your Mac using iPhoto, Aperture, or Image Capture.
    iOS: Importing  personal photos or videos from your iOS device to your computer

  • How to download & how to merge pdfs into one pdf file?

    Hello everyone!
    I hope someone can help me, because I am SO frustrated right now! I want to create an electronic document of a 40-page thesis I wrote. I no
    longer have the original computer files, so I took digital photos of each page.
    Then I converted all the jpegs into pdf files.
    Now I want to merge these 40 jpegs into one pdf file.
    I read that this is possible with Adobe Acrobat 8 or 9. So, yesterday I downloaded the trial version of what I thought was Adobe Acrobat 9. Well,
    two whole hours later, all I could find on my computer was Adobe Reader 9, which would not allow me to merge any pdfs.
    So, today, I again reinstalled the Adobe Acrobat 9. Now, after waiting another two hours, there is NOTHING on my computer--no Adobe Reader, no Adobe Acrobat, no desktop icons, nothing in the "All Programs" list when I press the Start menu, etc.
    What happened? How could something that took so damned long to download be totally invisible on my computer now? I do see Arcsoft, but that is for photographs. Is it possible to merge pdfs together using Arcsoft?
    I have SO much other work to do, and I am so disgusted that I have lost two days on this project, just trying to merge pdfs together! Please, if
    you have any suggestions as to how to get Adobe Acrobat 9 as a trial version an/or how to merge pdfs, please answer this post!
    Thank you very much for your help.
    Courtney

    Hi. Yes, that is the link from which I downloaded Acrobat 9. I now have this file on my computer: AcroPro90_efg.exe
    Yes, I did install it, but one of the times it hanged at 99.96%. Do you know what that means?
    Thanks in advance.
    Courtney

  • How to create a pie graph in 10g or 9i forms using beans??

    Hi..
    Please can anyone show me how to use pie graphs in oracle 10g or 9i forms using bean?
    i also want to know how to put data in pie graph.. as u know in column graph for example we have an x-axis and y-axis,and in pie there is no x-axis and y-axis.. so how i can put the same data in pie graph.. and also i may need more than one value for the x-axis or the y-axis to use in pie graph so how can i do it??
    i use set_custom_property to call properties in beans.
    I would so thankful for how can answer me.. please its urgent
    Thanks.

    there are some other posts to this topic - How to create a pie graph in 10g or 9i forms using beans?? and so on.
    use the search function of this forum. this may the fastest way for your urgent question

  • How can I cache dvt graph results?

    Hello colleagues, I need some help regarding dvt graphs performance.
    In our application we have big amount of data which the user can filter by adding grouping options, time ranges, etc. For the graph to be updated (the query to be re-executed), the user has to press a "Refresh" button each time he changes the query parameters.
    Once the new results are displayed in the graph, the user can change the graph type by pressing either a pie, bar, line or table buttons. As a consequence of this, the query is re-executed and returns the same previous results. This obviously drops the performance of the application.
    So, how we can manage to refresh the type of graph (for example from pie to bar) without re-executing the query. Note that the "Refresh" button should always re-execute the query even if the parameters were not changed.
    I'll appreciate your help.
    Regards,
    Nicolas
    Edited by: 864814 on Oct 14, 2011 6:05 AM

    And by the way how are you switching the graph type? Are you using an af:graph tag and switching just the type? Or are you rendering a complete new graph on your page?

  • How do I create a graph with two different y-axis variables with the same x-axis (therefor having two curves)?, How do I create a graph with two different y-axis variables with the same x-axis (therefor having two curves)?

    How do I create a graph with two different y-axis variables with the same x-axis (therefor having two curves)?, How do I create a graph with two different y-axis variables with the same x-axis (therefor having two curves)?

    Hi Libby,
    Select all three columns of data. All three must be 'regular' columns, not Header columns, and the X values must be in the leftmost column.
    Click the Charts button and choose the Scatter chart.
    The resulting chart will initially show only the first and second columns of data, and the selection will have been reduced to show this.
    Click the gear icon at the top left of the selection and choose Share X Values.
    You should see a result similar to this:
    Notes:
    The values on my sample table contain a random element, so they have changed from thhe first image to the second.
    The chart is as created by Numbers, with two edits:
    Data points have been connected with curves, using the Chart nspector.
    The curves were selected and their stroke increased to 2pts, using the stroke formating button in the format bar.
    Regards,
    Barry

  • How to Merge 1 PDF file  to 50 PDF together not one by one. Using Acrobat 9 Windows xp.

    Hi, How to Merge 1 PDF file  to 50 PDF together not one by one. Using Acrobat 9 Windows xp.

    Depending on just what you are trying to do, you can also use DOCUMENT>Insert Pages to add multiple documents or simply drag and drop the documents into the current document (OK, I have not tried this one).

  • How to merge rows with similar values in alv grid display in webdynpro

    Hi experts,
                   i want to know about how to merge rows with similar values in alv grid display of webdynpro.grouping rows is possible in table display in webdynpro but i am not able to do row grouping in the alv grid display in webdynpro.
    kindly suggest.
    thanks ,
    Anita.

    Hi Anita,
    did you find a solution for this? I have opened a Thread, if you know the answer maybe you could help me out:
    Is there an ALV function similar to the TABLE Row grouping?
    Thanx in advanced!!!
    Kind Regards,
    Gerardo J

  • How to merge data returned from server after you hit SUBMIT button

    I have a PDF form with blank ID field. When user click Submit button on the form, an ID will be generated from database on the server side. How do I merge this ID with client's original PDF from so he knows his ID number? Any help thanks.

    When the user submits the form, he or she is redirected to the web page that you put in the submit URL. The form doesn't generally stick around. A typical response would be to return an HTML page that confirms receipt and gives a reference number. If you want to merge data with the PDF and present that back to the user, it's possible, but not very easy. If you decide that you'd like to go down that path, you can start by searching this forum on "vnd". You'll find a long thread with 30+ messages that show how to merge data with a PDF using various types of CGI scripts.

Maybe you are looking for

  • Questions on SAP Business One 8.8

    Hi, We are downloading SAP 8.8 for internal preview before updating customer and would like to seek clarification after reading "What's new" pdf compare with the software. 1)It is mentioned 8.8 had basic multiple unit of measurement function but we d

  • How to populate value frm SO to Delivery List

    hi all i am getting the values in VA05 for the fields created by and order quantity,when i run vl10a i am nt able to find the same values here ,can u all check the same and give ur valuable suggestions so that i can fetch the values in Delivery List.

  • MySQL - importing excel database

    Hello, When I try to import a excel database file into SQL I keep gettng a #1046 Syntax error. Can someone help explain how to fix this. Does this mean that the field names in excel are not understood by SQL? If so, how do you get the data in there.

  • HT1338 i wish to delete everything from my mac how do i do it?

    how do i delete all the memory off my mac as i have just bought it and want to personalise it for my self?

  • Working Offline

    I was told I needed a "Range Extender" for my son to play his X-Box live with our Verizon router. Needless to say I called Linksys who told me that the "Range Expander" that I was trying to set up was not compatible with Veriszon's router. Anyway, be