Modify range of x-scale value in excel

Hi
I'm stuck once more with this excel-activeX connection.
I'd like to modify the range of the values that are chosen for the x-scale of a graph.
How can I do that. 
I know how to change the format and so on but couldn't find the data range.
Thanks for an help
Yves

Hi Yves,
I reccomend that you look at following link:
From Excel to LabVIEW with style
https://decibel.ni.com/content/docs/DOC-13666
Best regards
Matijas

Similar Messages

  • Changing image datas by modifying range scale

    Bonjour.
    Je dispose d'une image de 320x256 au format 16 bits avec une échelle de valeurs correspondantes. Mon souhait serait de pouvoir modifier pendant l'exécution la valeur max de l'échelle (la diminuer ou l'augmenter) afin de jouer sur la sensibilité. Le but est donc d'obtenir une image dont les tons de couleurs varient avec la variation de la gamme de l'échelle.
    J'utilise une architecture production/consommation sous Labview 8.0. Je met en fichier joint les impressions d'écran d'une partie de la face avant et du diagramme. La partie du diagramme ici présentée correspond à la modification de l'image en fonction de la palette de couleurs choisie.
    J'ai tenté d'utiliser les noeuds de propriété, mais sans succès pour l'instant.J'espère que quelqu'un pourra m'aiguiller sur une solution possible.
    Merci d'avance, Arnaud.
    Hi,
    I'm working on a 16 bits image (320x256) with a scale values. I would like to modify, during the execution, the max of the scale (increase or discrease it) in order to change sensibility. So, the goal is to obtain an image which changes with the variation of the range scale.
    I'm using a production/consumption architecture on Labview 8.0. You could find in attachment printscreens of the frontpage and of the diagram (which is corresponding here to the modification of the image by modifying the color palette).
    I tried to use property nodes, but without any success yet. I hope someone could help me and find any possible solution.
    Thanks, Arnaud.
    Attachments:
    Face avant.JPG ‏35 KB
    Diagramme.JPG ‏195 KB

    Bonjour Arnaud,
    J'imagine que quelque chose comme le VI attaché ci-dessous devrait vous convenir. Il est possible de modifier la valeur des marqueurs et leur couleur par noeud de propriété.
    Bien cordialement,
    Eric M. - Application Engineering Specialist
    Certified LabVIEW Architect
    Certified LabWindows™/CVI Developer
    Attachments:
    Change color scale.vi ‏13 KB

  • Named Set doesn't show aggregated values in excel while browsing

    Hi All,
    I have create a named to show Top 20 Clients Alphabetical. When I browse the named set, it is not showing aggregated values in the below.You can see in the image.
    Named Set Expression: 
    FILTER(
         Order
    ([Client].[Client].members,[Measures].[ACCOUNT RANK],BASC),
                  [Measures].[ACCOUNT RANK] > 0
                  AND [Measures].[ACCOUNT RANK] < 21)
    After reading blogs, I found I have to add ALLMEMBERS function inorder to show aggregated values in excel while browsing.
    http://prologika.com/CS/blogs/blog/archive/2009/01/27/named-set-subtotals-in-excel.aspx
    I implemented and some of them working fine but this is not working. Not sure what's happening.
    Modified Named Set Expression:
    FILTER(
         Order
    ([Client].[Client].allmembers,[Measures].[ACCOUNT RANK],BASC),
                  [Measures].[ACCOUNT RANK] > 0
                  AND [Measures].[ACCOUNT RANK] < 21)
    Please let me know, what else I can do to fix this issue. Thanks in advance and appreciate for reply.
    Maruthi...

    Hi Maruthi you just need a simple change in the Query .
    You need to include the All level and try using TopCount() function instead of the sequential FILTER/ORDER
    Try this,
    {TopCount
    [client].[client].allMembers
     ,20
    ,[Measures].[AccountRank]
    ),[client].ALL};
    Venkata Koppula

  • Set scale values when zoom out

    Hi!
    I have a XY Graph and I want it to have three different scale ranges depending on a case structure. So, for example, if it's case 1, I have the xy graph X.minimum = 1,234 and xy graph X.maximum = 10,789 and so on.
    I want to be able to zoom the graph but then when I zoom out to see all the points, I want it to have the same range I defined. I have the autoscale turned off and when I do the zoom out, it shows me different minumum and maximum values....
    Any help?

    Hello Zephirus,
    When you ask a zoom out, write the scale value that you define, using a property node. To get it, right click on the XY graphe terminal, in the diagram, then select Create >> Property node >> X (or Y) Scale >> Range then All elements, or just the elements you need to coerce.
    Let me know you progression,
    Message Edité par Mathieu R. le 11-14-2006 02:52 PM
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  
    Attachments:
    PropScaleXY.JPG ‏7 KB

  • How to read out the scale values of an intensity graph?

    My aim is to read OUT the scale ranges (Max and min values DISPLAYED) of an intensity graph.
    I want to do a scan of an area, display the result in the graph, graphically zoom in on something interesting and then use the zoom coordinates to define the area for the next scan.
    Is that possible, and how?
    If impossible, is there a work-around?
    Solved!
    Go to Solution.

    Use the "XScale.Range" and "YScale.Range" property nodes. 
    www.movimed.com - Custom Imaging Solutions
    Attachments:
    Scale Ranges.vi ‏13 KB

  • Pass Value from Excel to custom program

    Hello,
    I want to pass value from Excel to Custom Program being called in the Custom Integrator and i am using the Import in the Importer section but it is not getting passed.
    Please advise and i am on R12.1.3.
    Thanks

    Pl do not post duplicates - Concurrent Program Parameter

  • How do I create a series of text frames using values from Excel list?

    First of all, this is the very first script I'm attempting to write from scratch. I'm completely green at scripting, and I've picked up a few snippets from Adobe's ID scripting guide, but nothing has really stuck yet relating to this particular objective.
    My supervisor keeps a master list of ad spaces, with the name of the account, how wide the space is, and how tall the space is, all in an Excel sheet. These spaces can number in the hundreds, and I am stuck manually drawing one rectangle for every space, which takes a very long time.
    I'd like to create/have help creating a script that will take these values and "automagically" draw these spaces in the form of text frames, with the width (in columns) and the height (in inches) defined by the values in the master list, as well as the name of each account appearing in the subsequent text frames.
    The script doesn't necessarily need to be able to pull the values straight from the Excel sheet; I can transfer the values to a support text file if needed, or directly into the script, changing it as I need it. A big thing (if it is not able to pull right from an Excel sheet) is that the number of spaces changes weekly, and so do the accounts, and the width and the height. Accordingly, it would be ideal if the values from the sheet could be changed easily, so as to create a new set of spaces as needed.
    Positioning for each space is not crucial, only height and width. If they all appear on top of each other on the same page, that will be a result for me. The main idea is to not have to draw them all manually, one by one.
    To me, this sounds like a tall order, but hopefully some experienced scripters out there can assist me, as I wish to become experienced as well.
    So, the TL;DR version:
    - Script needs to draw a series of text frames.
    - Text frames dimensions need to be defined by width and height values from Excel sheet.
    - Text frames must have account name as contents (from account names in Excel sheet).
    - Accounts, width and height change every week in the Excel sheet, so must be relatively easy to exchange all of the values.
    - The width values are on the Excel sheet as columns. It would be ideal if the script could convert those numbers into multiples of columns as needed.
    - (Optional) Script can pull values directly from Excel sheet.
    - (Optional) Script can define text frame fill color as gray. (If it works as I think it will, I could just select all the resulting text frames myself and set them all to gray at once... I'm not that lazy )
    Thanks in advance to whomever can assist in any possible way, even if it is just a push in the right direction. This script will save 1-2 hours of tedium every week.

    Sound like the perfect thing for InDesign Scripting.
    I would copy the Excel contents into a text file, to get a format that is easily read from InDesign, and there will automatically be a TAB for each "cell" just using copy/paste.
    Here is a piece of code, that you perhaps could go on with (adding variable to change pages and location on page, and other stuff).
    The readFileLineByLine function, can be easily re-used with any function using "callback". You simply supply the function to it, that you want to be executed for every line of text that is read:
    const COLUMN_WIDTH = 2; // Define the column width in inch
    var pageIndex;
    var textFramesExported; // not implemented.
    // Add a new dokument. Set myDoc to app.activeDocument to use
    // the current document instead of creating a new one.
    var myDoc = app.documents.add();
    // The doSomethingWithTextRow function is called upon for every line of text read.
    readFileLineByLine('c:\\test.txt', doSomethingWithTextRow);
    function doSomethingWithTextRow(row){
        // We expect the text line to be TAB separated (\t = TAB). We get that from just copying the contents of an
        // excel file into a text document.
        var cells = row.split('\t');
        var companyName = cells[0]; // The Company name in the first slot of the array
        var width = COLUMN_WIDTH * cells[1];
        var height = cells[2];
        // Create a new text frame for every row handled
        if (pageIndex==undefined) pageIndex = 0; // Count up when you have exported a number of texts, I leave this for you to do.
        var newTextFrame = myDoc.pages[pageIndex].textFrames.add();
        newTextFrame.contents = companyName;
        // The text frame is created in the top left corner.
        newTextFrame.geometricBounds = [0, 0, height + ' in', width + ' in']; // Top, Left, Bottom, Right
        // You might want to move the textframes to other positions, keeping track of how many you put out per page.
        newTextFrame.move( [10, 10] );
    function readFileLineByLine(path, callbackFn){
        var myFileIn = new File(path);
        if (File.fs == 'Windows'){
            // This was probably added to recognize UTF-8 (even without its start marker?)
            myFileIn.encoding = 'UTF-8';
        myFileIn.open('r');
        var myEncoding = myFileIn.encoding;
        try{
            if (!myFileIn.exists){
                throw('Missing file: ' + myFileIn.fsName)
            var ln = '';
            while(!myFileIn.eof){
                // Read the lines from the file, until an empty line is found [now as a remark].
                ln = myFileIn.readln()
                // if(ln !='' && ln!='\n'){
                   // Call the function supplied as argument
                   callbackFn(ln);
        }catch(e){
            alert(e);
            gCancel = true;
        finally{
            myFileIn.close();
    The file in C:\ in my example was saved as UTF-8 and looks like this (showing hidden characters):
    Message was edited by: Andreas Jansson

  • How can I show a 0% range in the data value label on a bar chart thanks?

    How can I show a 0% range in the data value label on a bar chart thanks?

    I'm not sure what the question is. 
    I know that if you have a bar chart and one of the categories (X-axis) has bar (Y value) equal to 0%, no bar is plotted for that category. Even the addition of a stroke (line) around the bars doesn't make one appear for 0%.  The only automatic way I know of to make it look like there is data in that category is to add the value labels to the bars. Inspector/Chart/Series, select one of the bars on the chart, click on "value labels". Another method that is a workaround is to fudge the number a little in your table so that instead of 0% it is a very small %.  This will get you a thin line on the chart.
    But if your question is about the value labels (the numbers that display on or in the bars) and you are not getting one for a bar that is supposed to be 0%, it probably means your table doesn't actually have a 0% in the corresponding cell. A blank cell in the table will not get a value label.

  • Draw out of scale values on y-axis

    Hi,
    Can anyone please tell me is there any way to draw out of scale values on y-axis?
    Thanks in advance.
    Thanks,
    Madhuri
    Edited by: B Madhuri on Jun 15, 2009 8:50 AM

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly

  • In chart (graph), How to set scale value dynamically(user input scale val.)

    Hi ,
    I am using Crystal Reports XI R2.
    I have specified scale value but user is asking he can decide scale value while running the chart like Y-axis major interval (inclement by) 10, 7, 4, .5, .25 etc.
    How to achieve this please give me suggestions.
    Thanks and regards,
    Manjunath N. Jogin

    I do not think this can be done dynamically,   You could build several sections, each with it's own graph,
    set the scales in each graph, in its section, and then supress sections based on parameter.
    So, you could have one section that is  5,10,15,20  etc.
    and another that is 8, 12, 16, 20  
    depending on what they want.

  • Count function displaying values in excel but not in Guage

    Hi all,
    I'm using Count function to count the no of rows at run time and trying to bind this value to a Gauge and input text components.
    After Preview, the Gauge and input text components are showing value "0" but when I take a snapshot of the dashboard I can see the value in excel file. 
    What could be the reason ?
    Thanks

    Hi Jacob,
    I'm also using Xcelsius 2008 SP2.  When I use static data in excel it works fine, but the data in my Xcelsius is dynamic, using QAAWS as the data source developed on SAP BW. Count function has been used to do the calculations and when that particular cell is mapped as the data source for a Gauge or Text component it is showing "0" instead of the actual value.
    Snapshot of the dashboard shows the value in the excel.
    Very much confused as to what should be done .
    Thanks

  • Calculate the sum of values in excel file and import it to SQL table using SSIS

    Hi,
    Can some one help me how to do auto sum of columns in SQL table  using SSIS
    in SQL table the HRA , PF and Basic should not come, Only it should appear in basic pay as the sum of HRA , PF and Basic...

    RSingh, Thanks for the use
    of derived column.
    Instead of using record set i used  OLE DB destination
    its working Fine...
    but now the issue is if i put a new records in excel file its replicating in SQL table 
    How to get only the changed values in excel to SQL table.

  • BADI implementation for importing values from excel

    Hi All,
    This is my first ever post in this forum and I am a newbie in ABAP. I have this doubt rather I would say I am stuck while implementing a BADI for importing Excel values.
    We have a BADI for 'Upload flow rate' button which is built on PLM frame work on webdynpro.
    The requirement is that after clicking the ' 'Upload flow rate'  button it should prompt for selecting the excel file and after selecting that file, the values should get loaded to the internal table.
    what I have tried till now is that
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
       EXPORTING
        I_FIELD_SEPERATOR    =
         I_LINE_HEADER        = 'X'
         I_TAB_RAW_DATA       = IT_RAW       " WORK TABLE
         I_FILENAME           = 'C:\abcdl\book1.xlsx'
       TABLES
         I_TAB_CONVERTED_DATA = lt_result
       EXCEPTIONS
         CONVERSION_FAILED    = 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.
    endmethod.   
    I tried hard coding the xls file but it gives error as 'CNTL_error' which I guess is a known issue when we use this function module in webdynpro.
    So how can I get the values from excel without using datasource and just by hard coding the file name?
    Regards,
    Anand
    Anand

    There is no solution to this - SAP have said they will re-introduce this functionality, but they havent said when (as far as I am aware).
    However, we have developed a workaround (for Web reports anyway), let me know if you are interested.
    Patrick

  • Scale values in Sales Rebate Agreements

    Hi All
    We are trying to set up rebate agreement reporting for our client. They use both Purchase related rebates (MEB1) and Sales rebates(VBO1). In the purchase related rebate screen(MEB3) -> Business volume data allows a drill down into scale income. But the same is option is not visible in sales related rebates (VBO3)
    -> Sales volume data i.e. I can't see the scale values in the sales volume data report even though I have defined scales for my condition type.
    Is there another way of seeing the scale values or is there some config missing? Please help as we are at our wit's end about the difference in functionality.
    Regards
    Salil

    Such functionality does not exist in VBO3, sorry!

  • Change the Business Graphic Y-axis from decimal scale value to integer

    Hi,
    I am trying to get rid of the decimal points of the Y axis scale to integer.
    The scale value is currently showing like below:
    13.86
    10.395
    6.93
    3.465
    (This actual data set is currently fall between 3.xxxx to 12.xxxx)
    I want the scale label to display in integer, like this:
    15
    12
    9
    6
    3
    or
    13
    10
    6
    3
    This is determined dynamically as I have made the below settings.I am mapping the seriesSource of the Percentage BusinessGraphic to a node of attributes type of decimal.
    In the Chart Designer, I am setting the Y Value Axis configuration as below:
    Minimum  value: 0
    Minumum calculation: Automatic
    Maximum value: 100
    Maximum Calculation: Automatic
    Can you advise me how I can control the graph Y axis scale label to display in integer while I am mapping to a node of decimal data (for percentage values)?
    Thanks,
    KC

    Hi, Poojith.
    After making the below change:
    1. The "Scaling Type" in the "Value Axis" of the Chart Designer is Linear.
    2. I converted the type of the attribute bound to the SimpleSeries to new Decimal(double)
    I am still not able to achieve what I want. I am checking the value of the Value Axis --> Line --> Format.
    Based on the field description ("Specifies the format of the label output"), it seems like it is the value I should change. It is currently BLANK.
    Let me try it out. Please advise if you have any information on the Format string pattern I should use.
    Thanks,
    Kent

Maybe you are looking for