Excel Graph non-sequential Columns

Hi all,
I am trying to plot a graph in excel via Labview ActiveX components using say ColA as my x-axis data and Cols D and E as my y-axis data. My problem is that the Worksheet-Range method also includes the data of Cols B and C in the graph.  How could I omit plotting these unwanted columns?
PS. I know this is easily done using the Report Generation Toolkit however this would limit me to <4000 rows/cols plots which is unwanted in my case..
I have attached a zip file incl. a typical spreadsheet and my VI in case anybody wants to have a look.
Thanks a lot,
Harry
Attachments:
Sample.zip ‏819 KB

Hi Peter,
thanks for the tip. I had a more comprehensive check in the forum and found a very helpful topic here that pretty much provides the solution. In a way, the solution is similar to what you proposed. It appears that a "dummy" plot with as many series as required must be created first using consecutive columns. Then the "real" plot is created by overwriting the "dummy" plot via the series.collection class.
I have added my VI in case anyone comes accross this challenge in the future. Must warn though that this VI looks pretty messy...
Cheers,
Harry
Attachments:
Excel_ActiveX_O2&NOx.vi ‏138 KB

Similar Messages

  • Excel workbook saved as web-page - In IE it displays correctly (eg all non-hidden columns) - In Firefox it displays what I expect, plus the first of what should be a series of hidden columns

    I saved an Excel workboob as a web-page - In IE 8 it displays exactly as I want (that is all visible, non-hidden columns) - In Firefox 10 it displays the same, ''plus'' the ''first'' of what should be a series of'' hidden columns'' - Why would Firefox see a hidden column which IE doesn't - I'm working on XP (fully up-to-date with all patches applied)

    Thanks fmdeveloper as a result of you confirming that it is an FF bug I delved deeper into it and I've now found a fix as follows:-
    1) Unhide Excel columns, format cells to ;;;
    2) From first re-formatted col to rightmost end of all cols select & hide
    When saved as web page this then displays in FireFox as it does in IE
    NB: After re-formatting previously hidden cols it is necessary to hide '''all''' the remaining cols or there will be a display of blank cols in FF where garbled 'hidden entries' were seen previously
    Regards homeric

  • Filter Data with Merged and non merged columns in one

    Hi there,
    I have an excel spreadsheet that has got merged and non merged columns. What I want to be able to do is, filter a row that has got merged column and non merged columns. But when I filter it only takes the first line, rather than the merged and non merged
    columns.
    With this data I have one merged column which spans 6 rows, and then in the same row I have 6 rows with different points in, and what I want to do is filter my list, but be able to see the merged coloum aswell as the 6 points.
    Any ideas are much appriciated.
    Cheers
    SAN

    You cannot filter across a row - so I have assumed that what you mean is that some cells in columns are merged to serve as the headers, and the data is in the came columns but in the row(s) below the header. If this is incorrect, ignore this post.
    For this example, I have assumed E to J are the column of data and merged cells, column K is free, and the first merged header is in row 1:
    In K1, enter
    =E1
    in K2, enter
    =IF(COUNTA(E2:J2)=1,E2,K1)
    and copy down. Then filter based on column K, and it will show the headers and the data for the selected header value.
    HTH, Bernie

  • How to insert the value axis in a EXCEL graph

    Hello,
    how can I do to insert the value axis (name) and graph tilte in a EXCEL graph using report generation in LabVIEW??
    I'm using excel specific functions, but I don't find it anywhere.
    THANKS.

    Hi,
    the function Excel Set Graph Font.vi has an input parameter called Title that corresponds to the name of the axis selected through Axis Type parameter.
    And the funtion Excel Insert Graph.vi has an input parameter called Graph Title.
    You can see an example called Column Graph (Excel).vi in Find Examples>Toolkits and Modules>Report Generation.

  • Specific Excel graph question for Indesign

    Hello,
    I have a question about how to use an image generated on Excel for mac for Adobe Indesign CC. I have browsed the forums here and googled but I'm not finding solutions for my specific question (so please bear with me, thanks). I have a report for work that requires a lot of bar graphs. The graphs are all done on Excel for mac 2011. I have tried two different ways of importing it into InDesign (also for mac) - 1) saving the graph as a PDF and then placing into InDesign, and 2) copying and pasting the Excel graph into Illustrator and then saving it as an ai file. In both cases, the ai file looks a bit better but the fonts seem a bit jarbled/compacted once I place it into InDesign. The font I use is Times New Roman. Also, since my report is laid out in a 2-column format, I need a chart to fit a space that is approximately 3 inches by 3.5 inches. Whenever I import the image, it’s significantly larger so I place it to fit the 3x3.5 inch space proportionally. When that happens, the fonts don't look quite right on the screen. I need to ensure that the chart looks sufficient once it’s printed on paper. I only recently began learning InDesign (self-taught) so your advise is appreciated.

    First, the preview may be at a lower quality, so see how it looks with View > Display Performance > High Quality Display set. Second, ID always displays some sort of preview on screen, but uses the actual image data for output, so export a page to PDF and print it to judge the quality.

  • Filtering merged and non merged columns

    Hi there,
    I have an excel spreadsheet that has both merged and non merged columns. I want to filter a row that has got merged column and non merged columns. But when I filter it only takes the first line, rather than the merged and non merged columns.
    Any ideas are appriciated.
    Thanks

    As you have found, (vertical) merging and filtering do not go together. The value of a merged area only "lives" in the top left cell of the area, the other cells are blank.
    I would unmerge the cells and fill the values down into the blank cells. You should then be able to filter normally.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Excel Upload with Hidden Column

    Hi Gurus-
    Can you upload Excel file with hidden column and get the function to read values in hidden column? If yes, could you please guide me how?
    I am using ALSM_EXCEL_TO_INTERNAL_TABLE
    Any help will be highly appreciated.
    Thanks in advance!

    Hi,
    Have a look at program RSDEMO01 (available in the controls examples of the workbench). It demonstrates an OLE connection to Excel.
    To know which excel objects, methods and properties to use it is a good idea to use the excel macro recorder - just do what you want your program to do and then translate the resulting VB code to ABAP OLE.
    For the import of the clipboard data you can use CL_GUI_FRONTEND_SERVICES=>CLIPBOARD_IMPORT. In the result table, iirc, there  is one line for each imported line and within the line the cell values are separated by tab. So there is some work left - it might be a good idea t import the data column by column.
    It has been some time when I did this for a former client of me - so unfortunately I do not have the code any more.
    Regards, Gerd Rother

  • Excel Graph Legend Formatting - Report Generation Tool

    Hi all,
    I'm currently using the Report Generation Tool for Labview '11 and cannot seem to figure out how to edit the font properties for a graph's legend. Attached is a screenshot of an example output.
    The Excel Graph Font.vi's Help file says that it should be able to modify the legend, yet I can't seem to figure out how to configure it to do so. If anyone can walk me through the steps or tell me what I am missing, I'd greatly appreciate it.
    Solved!
    Go to Solution.
    Attachments:
    excelLegend.png ‏33 KB

    ChaoyD wrote:
    Hello again,
    It seems my team has decided to change direction and use Word instead of Excel. As such, I've been attempting to convert the VI ben64 provided, but I'm stuck on the ActiveX references... I've attached what I've done so far, but could someone help me (or instruct me) on making this VI work with Word?
    Thanks.
    The Word object model is probably the most complicated of the Office suite and you are loosing the calculation ability of Excel.
     Attached is a vi to format the chart legend in a Word document.
    Ben64
    Attachments:
    Word Format Graph Legend.vi ‏26 KB

  • In BI Publisher Report of excel output for one column is filled with spaces

    Hello,
    We have issue in BI Publisher report of excel output.
    In Excel output for one column few records are displaying as left alignment
    and few record are displaying as right alignment.
    If you are having any xml tag or any syntax for removing spaces for left side
    Please help on this issue.
    Thanks in Advance.
    Regards,
    Swaraj

    Please post the details of the application release, database version and OS along with BI Publisher.
    Is the issue with all reports or specific one(s) only?
    Do you have the patches in the following docs applied?
    Overview of Available Update Patches for Oracle BI Publisher Enterprise 10g [ID 797057.1]
    Overview of Available Update Patches for Oracle BI Publisher Enterprise 11g [ID 1276869.1]
    Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]
    BI Publisher 10g RTF Template Changes Alignment Settings for Numbered Lists [ID 1418504.1]
    Thanks,
    Hussein

  • Issue with non calculated column in a fact table

    Hi All,
    With 3 facts(Fact1,Fact2,Fact3) and 2 Confirmed Dimensions my joins work fine in Criteria when I include All calculated columns from facts. If I try to include a non calculated column from Fact1(Which is a number Data type) Columns from Fact2 and Fact3 show Null values. I know it is not recommended to include dimension columns in fact , does OBIEE not support Number type non calculated columns as well? Is there any work around that I can bring in my non calculated column from Fact and still get results for other fact columns.Iam at 11.1.1.7 of OBIEE
    Let me know if Iam not clear.
    Your help is much Appreciated.
    Thanks,
    Vineela.

    i would like to add 2 fields into my fact tables - LOAD ID (populated by a sequence during each load) and LOAD DATE.
    as these fields are not related to any reporting dimensions, it is still possible to add them in OWB ? the fact wizard always ask for a foreign key to a dimension ...
    Duncan,
    If you want to add non dimensional attributes to a fact by using OWB, you can create additional measures to it and use them as attributes.
    Igor

  • Exporting to Excel - How to control Column Heading?

    I'm working in SSRS 2012.  I have one tablix in the report body.  The tablix has both Row and Column Groups.
    When rendering in the web browser the report page breaks on a row group.  The Repeat Column Headers property is set to "True" so it shows the column headings from page to page.
    When rendering in Excel, I want one worksheet and not separate worksheets so the page break is disabled via the Page Break->Disabled property expression "=IIf(Globals!RenderFormat.Name="EXCELOPENXML", True, False)".
    This is all good but the Column Headings only show up once at the very top in the excel worksheet. 
    Is it possible to make the Column Headings repeat with each tablix data region as it is rendered vertically down the worksheet?
    OR is there a way from SSRS to set the Excel property "Rows to Repeat at top" to include Column Heading; by default the SSRS Report's header is repeated in Excel, but can the number of rows be changed to include the Column Heading?
    OR is there some other work around?
    Thanks for your help.
    Mark

    Thanks for the reply Wendy.
    You addressed my second question ... "is there a way from SSRS to set the Excel property "Rows to Repeat at top" to include Column Heading; by default the SSRS Report's header is repeated in Excel, but can it be changed to include the Column Heading? 
    Based on your response, the only way to freeze the column header in excel is to freeze or split panes AFTER export to excel.  well booo but I have to accept that I guess.
    My first question is what I really want to do, which is to physically repeat the Column Heading in the excel rendering. I included two pictures demonstrate what I want ...
    1) the standard SSRS report rendered in Excel ... Column Headings are shown once:
    Standard Export to Excel
                           Year
    Region
    Category
    2011
    2012
    2013
            Total
    East
    Sales
    10
    20
    30
    60
    Expenses
    8
    20
    10
    38
    Profit
    2
    0
    20
    22
    West
    Sales
    8
    16
    24
    48
    Expenses
    6
    16
    8
    30
    Profit
    2
    0
    16
    18
    2) what I'd like to see rendered in Excel ... which is to repeat the headers as you scroll down the page
    Desired Export to Excel
                          Year
    Region
    Category
    2011
    2012
    2013
            Total
    East
    Sales
    10
    20
    30
    60
    Expenses
    8
    20
    10
    38
    Profit
    2
    0
    20
    22
                           Year
    Region
    Category
    2011
    2012
    2013
            Total
    West
    Sales
    8
    16
    24
    48
    Expenses
    6
    16
    8
    30
    Profit
    2
    0
    16
    18
    Thanks again for your help,
    Mark

  • A way to add cross-dissolves to a bunch of different, non-sequential clips?

    Hey mac geniuses,
    Is there a way to add cross-dissolves to a bunch of non-sequential clips? Basically, one of my three video tracks features a different image for a few seconds every minute or so (they're slides from a presentation), and I'd like to be able to add a cross-dissolve at the beginning and end of each image.
    Is there a way to do those transitions all at once considering they're not back to back?
    Thanks for your help!
    BP

    Select the clips on the track with the track forward tool and press Cmd-T, assuming the current version.

  • Change line styles in an Excel graph

    I am using the report generation toolkit in LabVIEW 2009 and need to change the line styles of three lines on a graph in Excel.  I found the property node that allows me to change the line style but I am not sure what to pass into the varient.  I have tried the name (ie xlDash) and the integer value (ie -4115) but neither seem to work.  Has anyone tried this and can offer some advice.
    Thank you,
    AJL
    Solved!
    Go to Solution.

    I should have posted this sooner but I found my own solution.  I decided to read the properties from an excel graph and found that LV uses an integer thats value corresponds to where in the list in Excel the line style is.  IE continuous has a value of 1 since it is first in the drop down in Excel, Dash has a value of 2 since it is second in the list, etc.  One problem with this is that your code is  not very robust since the result can change if Microsoft changes the order of their drop down list in newer verisons of Excel. 

  • Non-sequential shuffle.

    Hey all, I seem to be a bit.. stuck. I'm trying to make a program that takes a user defined integer from the command line, then prints it out in a shuffled, non-sequential order. Meaning, 4 cannot follow 5, and 9 cannot follow 8, etc. Here is my code thus far:
         int N = Integer.parseInt(args[0]);
              int[] song = new int[N];
         for (int position = 0; position < N; position++) {
             int list = position;
             song[position] = list;
            for (int current = 0; current < N; current++) {
             int swap = current + (int) (Math.random() * (N - current));
             int tempSong = song[current];
             song[current] = song[swap];
             song[swap] = tempSong;
             if (song[current] == (song[swap+1] || song[swap-1]))
              { randomize song[swap]; }
             else
              { System.out.println(song[swap]); }
         System.out.println(song[current] + " ");
         }When I go to compile it, it gives me the following two errors:
    Shuffle2.java:22: ']' expected
              { randomize song[swap]; }
                               ^
    Shuffle2.java:22: illegal start of expression
              { randomize song[swap]; }
                                   ^
    2 errorsAny help with this would be greatly appreciated.

    I'm really just not getting it. I wanna say I'm almost there, but at the same point I just don't know.
         int N = Integer.parseInt(args[0]);
         int[] song = new int[N];
         for (int position = 0; position < N; position++) {
             int list = position;
             song[position] = list;
            for (int current = 0; current < N; current++) {
             int swap = current + (int) (Math.random() * (N - current));
             int tempSong = song[current];
             song[current] = song[swap];
             song[swap] = tempSong;
             if (song[current] == song[swap+1] ||
              song[current] == song[swap-1])
             else
              { System.out.println(song[swap]); }
         System.out.println(song[current] + " ");
         }I'm just lost as to what I put where the "**" is.

  • Region sql query(updateable report) data entry in non db columns

    In a tabular report type updateable report
    What is the best way to provide data entry into a non db column a) (to accept parameters for some on demand pl/sql processes)?
    Only when setting a) as a standard report column the db insert/update transaction can be processed
    When changing a) to text field the db insert/update transaction fails with en error (screen/db are not in sync which is not actually the case)
    a) should not be part of the db insert/update transactions but still allow data entry
    How can this be achieved?
    Thanks
    Peter

    Hi Peter,
    I think the easiest solution is to use an updateable view instead of the direct table access.
    Here is an example:
    CREATE OR REPLACE VIEW V_EMPLOYEES
    AS
    SELECT EMPLOYEE_ID
         , FIRST_NAME
         , LAST_NAME
         , FIRST_NAME||' '||LAST_NAME AS FULL_NAME
      FROM EMPLOYEES
    CREATE OR REPLACE TRIGGER TRG_V_EMPLOYEES
        INSTEAD OF INSERT OR UPDATE OR DELETE
        ON V_EMPLOYEES
        REFERENCING NEW AS new OLD AS old
        FOR EACH ROW
    BEGIN
        IF UPDATING
        THEN
            UPDATE EMPLOYEES
               SET FIRST_NAME = :new.FIRST_NAME
                 , LAST_NAME  = :new.LAST_NAME
             WHERE EMPLOYEE_ID = :old.EMPLOYEE_ID
        -- insert and delete is not allowed
        ELSIF INSERTING
        THEN
            NULL; -- there would be a insert code
        ELSIF DELETING
        THEN
            NULL; -- there would be the delete code
        END IF;
    END;
    /FIRST_NAME||' '||LAST_NAME AS FULL_NAME in the example view simulates your function call.
    There might be a possibility to do it in APEX as well, but that was the first solution which came into my mind.
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com
    Check out the ApexLib Framework: http://apexlib.sourceforge.net

Maybe you are looking for

  • Transfer Prior Year Asset to Multiple new assets

    Hello friends, We are required to breakdown one of our large Expansion Machinery Assets to multiple assets to reflect the main equipment purchased for the project. There is a transaction in SAP (ABUMN) Transfer with-in Company Code.  I think this tra

  • LOV with PL/SQL in APEX 4.0

    I want to create a LOV in APEX 4.0 with the help of PL/SQL block,but when I am pasting my PL/SQL block code in the List Of Values area and try to run it, it is showing me error "Rendering Page ITEM F300_P1510_PROJECT_TASK raised the following error:

  • Question about the vi : Average Last Five Values

    Hello, I found the vi to make the average of the last five values here : https://decibel.ni.com/content/docs/DOC-4013 But i think that it is not really the average of the last five values... The problem in my opinion is that the shift register on the

  • CS/SD - Link from transactions: Measurement Document x Notification?

    Hello all, vs: SAP ECC 6.0 I need to create the following Customer Service process: It is created Measurement Document based on a counter reading. For that we use transaction Measurement Document (tcode = IK11/ IK12 IK13) Process I need to create: Fr

  • How to delete icloud after it has been reset to factory settings.

    My grandmother had recently given me her iPhone because I had no phone. She switched to android. Note: she has no idea what her password email is to the iTunes account.(She has Alzheimer's) Fancy that. The iPhone 4 is backed up to icloud. I looked on