Auto-index only shows 9 values instead of 91

I'm pretty new to LabVIEW and am trying to show a cluster of 91 values pulled from a text file.  Just for a test run without using actual values passed, I created a text file with the numbers ranging from 1-91 (1 number per line up to 91).  When I let it auto index and try to unbundle it after transforming it from an array to a cluster, it only shows 9 values instead of 91.  Do you happen to know how I can overcome this issue?
I have attached the basic files.
Solved!
Go to Solution.
Attachments:
For Loop Problem.vi ‏7 KB
SMA.txt ‏1 KB

STigmata08 wrote:
Thank you very much, I had no idea that you could select a cluster size from the transformation.  I am converting it to a cluster because I thought that it would be the best form to insert the data into different parts of a word template.  I am trying to build an auto reporting tool for a test sequence.
You need to set thee cluster size, because clusters are static structures and the size needs to be known at compile time. This also makes them useless for your problem.
To extract all lines from a file, you could use Spreadsheed string to array with a 1D string array as type and linefeet as delimiter. No need for FOR loops and complicated code. Also your sequence structure has no purpose because execution order is fully determined by dataflow anyway. Why is it there? Don't clutter the diagram with useless constructs!
Here's what you could do. You can get any element, array subsets, etc. using array tools. These are scalable and you don't need to know beforehand how many line are in the file.
Here's a quick draft (LV8.6)... 
LabVIEW Champion . Do more with less code and in less time .
Attachments:
For Loop ProblemMOD.vi ‏8 KB
ArrayNoCluster.PNG ‏9 KB

Similar Messages

  • Auto index only shows partial data

    Hi everyone,
    Please see the attached file.  I've added notes where the data goes missing.  I know it has something to do with auto-indexing and I spent quite a bit of time reading about it and trying different things but I really need some help now please.
    Thank you!
    Solved!
    Go to Solution.
    Attachments:
    For forum.vi ‏47 KB
    For forum.xlsx ‏12 KB

    Think about what you're trying to do.
    You have three arrays you're indexing.  Let's say they're lengths 1, 2, and 3.
    In the first iteration, we'd index 0 and get back a value from all three.
    In the second iteration, we'd index 1 and get back two values and have a bounds conflict.
    In the third iteration, we'd index 2 and get back a single value while having two bounds conflicts.
    Anything you process in the second and third iteration is garbage.  You have bad inputs so the output isn't useful to you.  In some languages, this will throw an error at runtime for indexing out of bounds.  Some will just let you process the garbage.  In no case do you WANT to run this.
    If you want to process all the elements of the array of size 3, you need to fill in values for the first to arrays to make them all have a length of 3.  Once you do that, the loop will run as you desire.  If you have auto-indexed tunnels with fewer elements than the constant you wire, they will override the terminal, as they should.

  • SharePoint PPS Analytic Chart Drill Down Dimension showing all values instead of corresponding value.

    Hi,
    I have Performance Point Analytic Chart.
    I am doing drill down the bar with one of dimension. System showing all the dimension values instead of correspond values.
    Unwanted dimensions are showing like blank in the chart.
    How to over come this.
    Thanks & Regards
    Poomani Sankaran

    Hi Poomani,
    According to your description, my understanding is that you want the drill down to show only the required dimensions.
    Here is an article about this issue, please check if it is useful:
    http://denglishbi.wordpress.com/2012/03/28/using-perspectives-with-performancepoint-services/
    In addition, as this issue is related to SSAS, I suggest you create a new thread on SQL forum, more experts will assist you with this issue.
    SQL forum:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/home?category=sqlserver
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to show fixed values instead of field values in ALV cell.

    Hi colleagues,
    I have a ALV object of type CL_GUI_ALV_GRID.
    I have associted a table with it which has a field called refresh type which is of type char1.
    My program works fine.
    But the problem is,
    The refresh_type field has fixed values in its value range.
    On display of ALV i want to show the associated fixed value instead of actual value in table content.
    I donno the way to do it.
    Please help me.
    -Trupti

    Another way to do this would be to define a conversion exit function for use in the report.
    You can copy a SAP-provided function group like ALFA as a template, but you may need untyped importing/exporting parameters. Name the new functions as CONVERSION_EXIT_Zxxx_OUTPUT and CONVERSION_EXIT_Zxxx_INPUT where Zxxx is some string you choose.
    In this case the input to the ...OUTPUT function will be the code value from the database and the output value will be the corresponding text. So the code of the function CONVERSION_EXIT_Zxxx_OUTPUT will do the conversion suggested in steps 2 & 3 of Marcin's response above.
    Here is an example based on the SFLIGHT model to enhance example report BCALV_GRID_DEMO.
    First the conversion function:  (I used 'zalv' as my identifying string for the conversion.)
    function conversion_exit_zalv_output.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(INPUT)
    *"  EXPORTING
    *"     VALUE(OUTPUT)
      field-symbols:
        <output> type c,
        <carrid> type c.
      assign input  to <carrid> casting.
      assign output to <output> casting.
      select single carrname from  scarr into <output>  " convert code to text
             where  carrid  = <carrid>.
    endfunction.
    In a copy of program BCALV_GRID_DEMO, make changes in the module pbo.
    module pbo output.
      set pf-status 'MAIN100'.
      if g_custom_container is initial.
        create object g_custom_container
          exporting
            container_name = g_container.
        create object grid1
          exporting
            i_parent = g_custom_container.
    * " changes start here
        data: gs_fcat type lvc_s_fcat,
              gt_fcat type lvc_t_fcat.
        tables: dd03l.
        select * from dd03l where tabname = 'SFLIGHT'. " fill field catalog
          if dd03l-fieldname = 'CARRID'.
            gs_fcat-inttype = dd03l-inttype.
            gs_fcat-outputlen = 20.
            gs_fcat-coltext = 'Carrier'.
            gs_fcat-seltext = 'Carrier'.
            gs_fcat-edit_mask = '==ZALV'. " == with the string you used to name the functions
          else.
            clear gs_fcat.
            gs_fcat-ref_table = dd03l-tabname.
          endif.
          gs_fcat-fieldname = dd03l-fieldname.
          append gs_fcat to gt_fcat.
        endselect.
    * " changes end here
        call method grid1->set_table_for_first_display
          exporting
            i_structure_name = 'SFLIGHT'
          changing
            it_fieldcatalog  = gt_fcat
            it_outtab        = gt_sflight.
      endif.
    endmodule.                    "PBO OUTPUT
    If you run this amended program, you see appropriate carrier texts in the ALV grid, where the original program had the IATA codes.
    This approach makes sense if, for example, the same translation is also required elsewhere, as the function can easily be reused.
    best wishes
    Ed

  • jbo:inputselect only shows 1 value

    hi
    in my Employee_Edit.jsp i want to be able to specify the employee's status from a select-list.
    the code looks like this:
    <!-- datasource of status-table -->
    <jbo:DataSource id="status" appid="HrmModule"
    viewobject="StatusView1" rangesize="-1" />
    <jbo:InputSelect multiple="false" datasource="dsEdit"
    dataitem="Status" displaydatasource="status"
    displaydataitem="Name" displayvaluedataitem="Id" />
    the problem is: the inputselect shows allways only one dataitem. in the db there is more than only one value. the value in the select list is the same as in the dsEdit-dataitem. so i can never change the value.
    what am i doing wrong?

    Try to put a whereclause="" in the definition of your datasource status!
    I don't know if it's gonna work, but it could be

  • Custom XMP File Info Panel; Popup fields only showing 64 values max?

    I've created a custom file info panel for use with Creative Suite (Primarily for Bridge, but works just as well for any "File Info..." aware app.
    I just recently noticed that there seems to be a limit to the amount of values in a Popup (aka drop down) field? I have a few that are intended to have up to 132 values, but they stop at 64!
    Here's a snippet of my .xml code. I'm thinking there could (hopefully) be a simply solution, but I don't know what that is, yet.
    I've removed names to protect the innocent:
    #/ ---- Header starts with this:
    <xmp_definitions xmlns:ui="http://ns.adobe.com/xmp/fileinfo/ui/">
    <xmp_schema prefix="xwnv" namespace="http://ns.xinet.com/ns/xinetschema#" label="Offline_Tagging"
    description="$$$/Custom/Schema/Description=This panel for use by ___ team only.">
    #/ ---- Field code example is the following:
    <xmp_property name="Art_Director" category="external" label="$$$/Custom/Property/Art_Director = Art Director:" type="openchoice" element_type="text">
              <xmp_choice raw_value="" label="$$$/Custom/Property/=(select)"/>
                   <xmp_choice raw_value="Firstname.Lastname" label="$$$/Custom/Property/Firstname.Lastname=Firstname.Lastname"/>
    #/ -----repeat values x130
    </xmp_property>
    It would be great to solve.
    Thanks in advance.

    You might try the Bridge Scripting forum at http://forums.adobe.com/community/bridge/bridge_scripting

  • Chart:Display all months as labels on X axis but only show prompted values

    Hi all,
    I currently have a dashboard prompt for year and month. On a bar chart, data is retrieved from Jan to the prompted month. Month is on the X axis.
    So, if they choose March on the prompt, there's sales data where there is a bar for Jan, a bar for Feb, a bar for Mar on the X axis.
    What I'd like to do is on the X axis show all months - Jan through Dec - as lables, however, the data presented would be from Jan to the month chosen in the prompt. In my scenario of prompting for March,
    the X axis would have Jan, Feb, Mar, April,...Dec, but only Jan, Feb, Mar would have bars with their sales amounts.
    I'm not trying to get all the data for the year, just what's been prompted, but, I do want all the months displayed as lables on X.
    Is this possible?
    Thanks.

    Hi all,
    I currently have a dashboard prompt for year and month. On a bar chart, data is retrieved from Jan to the prompted month. Month is on the X axis.
    So, if they choose March on the prompt, there's sales data where there is a bar for Jan, a bar for Feb, a bar for Mar on the X axis.
    What I'd like to do is on the X axis show all months - Jan through Dec - as lables, however, the data presented would be from Jan to the month chosen in the prompt. In my scenario of prompting for March,
    the X axis would have Jan, Feb, Mar, April,...Dec, but only Jan, Feb, Mar would have bars with their sales amounts.
    I'm not trying to get all the data for the year, just what's been prompted, but, I do want all the months displayed as lables on X.
    Is this possible?
    Thanks.

  • TEM - Business Information Report - only showing 1 instructor instead of 2

    Good afternoon folks
    We have a number of Business Events, in TEM, which are held by 2 instructors per event. When we run the "Business Event Information" report in PSV3 for these events we only get 1 instructor displayed; however if we run the "Resource List per Business Event" report or the "Instructor Information" report then both instructors are displayed.
    Can anybody advise what I need to do so that the Business Event information report matches the Resouce list and instructor information reports.
    Many thanks
    Dawn

    Hi Suman
    Thanks for your reply. When I am having both the parts of Query 1 & Query 2, the BEx Report is falling over when executed pointing to Condition.
    The second Query will pick the Top 3 Reason Codes for a particular Customer and then the individual Document Count for these 3 Reason Codes is divided by the Overall Result (Document Count) to give the individual Result across each row as %.
    Hope this is clear now. I tried Cell Definitions but didn't find it useful in this scenario, or I might be missing something. Can you please explain me in detail of how this can be done in 1 BEx Query using Cell Def?
    Please let me know if this can be achieved in Single BEx Query.
    Thanks,
    Chandu

  • HP Support assistant only shows squares instead of text

    No Text at all .It only shows small squares instead.

    Hi Pedroblue,
    I would request you to first uninstall the HP Suport Assistant completely from the control panel.
    Now download and install the latest version of HPSA from the following link
    http://h18021.www1.hp.com/helpandsupport/HPSA.html
    Regards,
    =======================
    I am an HP employee.
    If my suggestion was helpful, you can thank me by clicking on the "Kudos" button!
    If my answer solved your problem, please feel free let the community know by clicking the "Accept as Solution" button!!

  • How to fix iframe issue that displays XML values instead of formatted XML in IE11

    The following sub.jsp file shows the formatted XML properly as expected when is opened directly:
    <% response.setContentType("text/xml"); %>
    <book>
    <chapter1>chapter 1</chapter1>
    <chapter2>chapter 2</chapter2>
    </book>
    IE11 shows the result as below which are colored and can be collapsed or un-collapsed:
    <book><chapter1>chapter 1</chapter1><chapter2>chapter 2</chapter2></book>
    But if the sub.jsp is opened in an iframe from the below main.html, it only shows the values of the XML in the iframe:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="ISO-8859-1">
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <iframe src="sub.jsp"></iframe>
    </body>
    </html>
    The iframe shows only the XML values, i.e., chapter 1 chapter 2 in IE11. This issue does not happen in IE8.
    I appreciate to your if you know how to address this issue.
    Regards, Amir

    The following sub.jsp file shows the formatted XML properly as expected when is opened directly:
    <% response.setContentType("text/xml"); %>
    <book>
    <chapter1>chapter 1</chapter1>
    <chapter2>chapter 2</chapter2>
    </book>
    IE11 shows the result as below which are colored and can be collapsed or un-collapsed:
    <book><chapter1>chapter 1</chapter1><chapter2>chapter 2</chapter2></book>
    But if the sub.jsp is opened in an iframe from the below main.html, it only shows the values of the XML in the iframe:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="ISO-8859-1">
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <iframe src="sub.jsp"></iframe>
    </body>
    </html>
    The iframe shows only the XML values, i.e., chapter 1 chapter 2 in IE11. This issue does not happen in IE8.
    I appreciate to your if you know how to address this issue.
    This issue is also posted at below link:
    https://social.msdn.microsoft.com/Forums/en-US/5b0692b4-d312-4797-9089-42c1029ac059/how-to-fix-iframe-issue-that-displays-xml-values-instead-of-formatted-xml-in-ie11?forum=iewebdevelopment
    Regards, Amir

  • Only Dimension Table Values in Combo Box or Drill Down Selections

    Hi All,
       How to get only Dimension Table Values instead of Master Data Values in Combo Box or Drill Down Box list of values?
    I am getting all the values in 0CALMONTH Combo Box where i need only infoproviders values.
    In Entry List tab of Combo Box when i select 0CALMONTH its reading from its Master Data.Is there any option how there is Dimension table in Value help.
    In Query, infoobject levels the filter values selection is set as infoprovider only.
    Can anyone please let me know how to get only dimension table values when we use combo box.
    Thanks & Regards
    K.Srinivas Rao

    Hi
    Create one BI query with only one object in the output of the query. (In your case 0CALMONTH)
    So now if when you run the query it will show values which are there in infoprovider. THen drag one form from output of this query in vc & create dropdown list on this.
    Is this what you are looking for?
    regards
    Sandeep

  • How to display Description for Selected Value instead of ID

    Hi i have a problem i want to display a description on a combo box list of values instead of the ID when i want to use ir for a formlayout or af:query for estethic
    because i have found this links:
    http://vikasadflovdevelop-adf-lov.blogspot.com/2012/06/v-behaviorurldefaultvmlo.html?showComment=1389196282800
    https://blogs.oracle.com/adf/entry/combo_lov_how_to_display
    The Incident Archive: ADF: LOV Description instead of code
    but none of them really works or i dont how to do it anyone can helpme please
    i'm new on ADF and jdeveloper

    Hey user,
    If i'm understanding it right, you want to show the values instead of the id, which is very usefull. If that is the case, try this website:
    ADF Tutorial: How to implement dependent list of values | Oralublog - Oralution&amp;#039;s Blog
    That looks like yours but it explains a little better. Probably you forgot to go to the UIhints part...
    Hope that helps,
    Frederico.

  • OBI columns not showing distinct values.

    Hi,
    Please help me out with the below issue.
    I have a colulmn called Product Type. Same column is been pulled into many subject areas. In one of the subject area the column when checked for all product types, it is not showing distinct values, instead it displays multiple rows of sinlge value. Whereas in other subject areas it dsiplays distinct values.
    So please help me out on this issue.
    Thanks,
    Rajesh S

    Hi,
    I don't think it's not an issue with not selecting "Select Distinct Value" checkbox .. because same column pulled into to other subject areas working fine. But here also sometimes it shows correct distinct value and sometimes all values(Duplicate values).
    Thanks,
    Rajesh.

  • When I login to Horizon View, it shows me the list of desktops to connect to. If I'm entitled to only one desktop then can View auto connect me to that desktop instead of me clicking on Connect?

    When I login to Horizon View, it shows me the list of desktops to connect to. If I'm entitled to only one desktop then can View auto connect me to that desktop instead of me clicking on Connect.

    Yes you certainly can.
    Right click any desktop in the list > Settings > in the left pane select the desktop you want to auto connect to > check "Auto connect to this desktop".

  • Currency F4 only shows info provider value instead of all values

    Hi Guys,
    I have a BI query in which the currency object is restricted with a variable.
    I executed the query.
    In the intial variable selection screen, i clicked on F4.
    This variable only shows me the value from Info Provider.
    But instead of that, i want to fetch all the currencies in the F4 help.
    I have tried Query Filter Execution set to Master data but that too doesnt help.
    Please please can someone help in it.
    Regards,
    Charu

    Hi All,
    Here are the steps i did for the currency conversion.
    1. Created the conversion type.
    2. Exchange rate type -> M
    3. Selected Dynamic exchange rate
    4. In the currency tab selected source currency from data records.
    5. Target currency i selected Target currency from variable.
    6. Variable is the one created on the 0CURRENCY object.
    7. Time reference is the exact day and 0CALDAY is selected in it.
    8. In the query, created a calculated key figure and assigned this conversion type to the CKF.
    9. I have just dragged the 0CURRENCY in the row.
    10. For currency in the Advanced tab in query i selected master data option for the filter.
    When the query executes, it asks for the value of this variable.
    When i select the F4, it should show me all the currency values, but it shows me only INR. In the search if i give EUR manually then it takes EUR but doesnt show me in the list.
    Is there any step that i have missed out pls.
    Regards,
    Charu
    Edited by: Charu Pandey on Jun 18, 2009 6:02 PM

Maybe you are looking for

  • Can I change the day/date format from US (month day year) to UK (date month year)?

    When I view databases through Firefox, the date/day format is set at month, day, year (US style), whereas I need day, month, year, I work in the UK and the "wrong" format is VERY confusing and could lead to errors/mistakes. IE has that format but I d

  • Itunes doesnt open  from iphone4S  (cannot connect to itunes Store [OK])

    Itunes doesnt open from my iphone gives message (cannot connect to itunes Store [OK]) I am from India .... I even restored the phone yesterday ... still the same thing .. App store is opening but itunes is not can anyone please help !!! Thanks

  • Security Deposity Refund

    Hi when i go to reverse in fp08 i got this error"First reset obstructive clearing" could you plese help me Abash moderator note - thread locked, no research.  Please search help site and others in the sticky thread Research Resources and Rules of Eng

  • Hi about the use of my mouse

    Hi I'm using Bluetooth Mouse with my Macbook Pro. It's so wired, sometimes when I click the right button but it is the purpose of the left button, and sometimes it's right that click the right button and that's the right button purpose. How does that

  • Problem Yosemite/Photoshop CS6 and Wacom

    Hello, since the update from Mountain lion to Yosemite I have some problems with my Wacom intuos3 in Photoshop CS6. iMac (27 Zoll, Mitte 2011) 3,1 GHz intel Core 12 GB 1333 MHz DDR3 AMD Radeon HD 6970M 2048 MB It reacts slowly and sometimes not. I in