List box served selection range of excel cells

I used the llb file found on this link to enter data from an excel spreadsheet.

http://zone.NI.com/DevZone/CDA/EPD/p/ID/3409

My problem is I want the ranges of cells to be hard-coded according to what the user selected in a drop-down list box.

My starting point in the worksheet excel always being cell (3, 2), I managed to get rid of the control 'start' and hard-coded entry departure (3: 2).  This method works.

However, depending on what the user selects from the drop-down list box, my arrival point is different.

Tell if it takes 'Apples' from the drop-down list box, the final cell can be (15: 10), if it takes 'Oranges', it'll be (9, 9).

I just started to use labview one last week, still getting used to all the buttons.

Thank you!

You must use a box structure.  Each case represents one of the items in the ComboBox and sets some constants are required to represent each Excel range that you are interested in.

Tags: NI Software

Similar Questions

  • Adobe Acrobat 9: Javascript populated the drop-down list box - response selected array will not save

    I have a combo on one of my forms box that is filled with the help of a Javascript array.  The drop-down list box is filling very well, but when an item is selected in this drop-down list box, the selected item does not save when the user saves the document.  Any suggestions as to what is the problem and how it can be corrected?  I am a loss to know where even to start the search.  Any help is greatly appreciated.

    Thank you.

    Lisa

    It seems that the drop-down list box may be getting filled with code that runs when the form is opened. If so, it will overwrite the value selected, whenever it opens. The solution would be to change the code so that it is not than that. If not, you can post the form somewhere so we can take a look?

  • List box data selected

    I have a combo box list called class_cb, I am using the drop-down list box in a mathematical formula.
    I try to set that if data from combo box selected active = 1 then a text box = account number, if data = 2 then...
    I can get flash to acknowledge change can't get instruction
    "If some data box combo = zone 1 then text = 5" to work, the default values of the first value text box and changing the
    drop-down list box item and press on calculate does not change the value of the text box.

    Any help would be appreciated, thanks

    //************************************************
    DROP-DOWN LIST BOX
    //************************************************
    Add items to the list.
    class_cb. AddItem ({data: 1, label: "Normal"});
    class_cb. AddItem ({data: 2, label: "Free"});
    class_cb. AddItem ({data: 3, label: "Close & interference"});

    Update on the change listener object
    //
    Create a listener object.
    var cbListener:Object = new Object();
    Assign the function of listener object.
    cbListener.change = {function (event_obj:Object)}
    trace ("value is replaced by:" + event_obj.target.selectedItem.data);
    };
    Add the listener.
    class_cb.addEventListener ("change", cbListener);

    //************************************************
    CALCULATE
    //************************************************
    shaft_ta. Text = "null";

    Calculate_btn release
    Mathematical functions
    calculate_btn.onRelease = function() {}
    If the drop-down list box data = no. then change the label
    If (class_cb.selectedItem.data = 1) {}
    shaft_ta. Text = "6";
    } else {}
    If (class_cb.target.selectedItem.data = 2) {}
    shaft_ta. Text = "7";
    } else {}
    If (class_cb.selectedItem.data = 3) {}
    shaft_ta. Text = "9";
    }
    }
    }
    }

    Thought that he, just modified the trace command to change the text box.

  • How to view several categories of items in the Web application list? Change list listbox to list box to select the category in the submission process?

    Hello!

    1.

    I'm trying to get my page for webapp of list items that are part of a few categories. I understand that if I want to see that one category, I just need to do the normal process to choose this category and put him outside. So my question is: How can I view several categories of items in a Web application on a single page. I tried this

    {module_webapps, WEBAPP_ID, c, CATEGORY_ID1, 10, 1} {module_webapps, WEBAPP_ID, c, CATEGORY_ID2, 10, 1}

    This displays only the whole of the first category, then all the other who will not succeed by date order.

    I also tried this for fun:

    {module_webapps, WEBAPP_ID, c, CATEGORY_ID1 & CATEGORY_ID2, 10, 1}

    How can I go to?

    2.

    I'm looking to allow users to enter a webapp item and allow them to select a category to link to this article.

    < label for = "CAT_Category" > category (you can choose more than 1) < span class = "req" > * </span > < / label >

    < select name = "CAT_Category" id = "CAT_Category" class = "cat_listbox" lines = "4" multiple = "multiple" style = "" height: 60px banner; ">"

    < option value = "CATEGORY_ID1" > - Option 1 < / option >

    < option value = "CATEGORY_ID2" > - Option 2 < / option >

    < / select >

    Is it possible for me to change the style of the listbox in a style box so that the user doesn't have to Ctrl + click on options?

    No answer to no. 1, but I really want to know also.

    N ° 2

    If you already know the category list & ID you can manually create a list of checkboxes

    something like this should work

  • Selection of drop-down list box does not appear

    I've read several display on this site and others.  I can't find the right solution to get the drop-down list box to work.  I publish for Flash player 10 and AS 2.  The final file will be imported into an Articulate/PPT file.

    I'm simulating a form that my audience must fill.  2 text fields, I use a drop-down list box to select the appropriate entry.  If they leave the screen of the form, I need save their answers, so they need not start from the beginning.  I use global variables.

    My problem occurs when I try to fill the drop-down list using the previously selected public response box.  I tried to use setSelectedIndex.  It works insofar as the choice highlights in the drop-down list box, but the actual selection does not appear in the text box.  What I do pay Combobox.text = selection?

    just assign the selectedIndex property.

  • How to change the items in a drop-down list box that is part of an array of clusters

    Hello

    In the attached vi, I have an array of clusters and each cluster contains two drop-down list boxes. How can I edit the items in the drop-down list box 1 for all elements in the array? (All elements of list box 1 has the same elements.)

    By way of illustration, I have also included the case of trivila, for example, edit the items in a separate drop-down list box that is is not part of an array of clusters (combo box 3). Please notify. Thank you.

    Peter

    Right click on the drop-down list box and select Create-> Node-> String() property. Place it on the block diagram. Change to write (right click) and then feed him an array of strings.

  • Change the initial row displayed in the list box

    Hello

    This is in AS2 and should really be quite simple.

    I have a box control populated list that may or may not have a selected item.  When the user enters data in one of the data fields on the screen and then moves to another domain, database access is performed which returns data that are used to fill in the other fields on the screen.

    In this context the item in the list box is selected, based on a code returned by the database.  All so well and good.

    However, I can't get the list box if there "showcase" at the position of the selected item.  That is to say, I want the selected item to the first item displayed in the list box.  (Note: NOT the first item in the ListBox...)

    What is the property or method I should use to do this?

    Thank you!

    Concerning

    Rich

    the vPosition of your list component property to assign the index of the item to display in the upper part.

  • How to select a cell in a multicolumn list box and use the horizontal scrollbar on th

    An event structure, how to select a cell in a multicolumn list box and use the horizontal scrollbar on the front panel at the same time.  I can select a cell in the multicolumn in a structure of the event, but I can't move the scroll bar on the front panel when the program is running.

    I guess that you are referring to the scroll bar in the control multi-column listbox. What does your code when you select a cell? Can you please your postal code so that we can see the behavior you describe? It is possible that you are blocked the structure of the event, as in performing an operation long in case the treatment cell selection. In this case, the structure of the event must wait until the event ends before being able to respond to the next event. You can configure the event to not lock the front panel until the event ends.

  • Complete line multicolumn list box selection

    Hi guys,.

    I want to know that it is there a way to select a complete line of MultiColum list box to the Table or on the criminal Front and then paste on the next line. Sound a bit identical to microsoft Excel when you select a complete row and coloum and then paste it in any row or column and all values are pasted. The program, I'm requires me to write a lot of values all together in the multi column list box and then copy the same values with just a little change (perhaps in a column) and then write it again...

    Thank you

    Hello

    Right-click on your multi column list box. Under selection mode, select the whole line to highlight

    Under Drag and Drop, select allow dragging and allow a fall.

    Run your vi, select a line, hold down the control button and drag the line to the next column.

    attached VI is in LV2010. Run the vi in continuous mode and try what I said

    However, I have not tried with tree.

  • Set point problem selected in the drop-down list box that is the XML data provider

    HI - new to Flex, experienced Java dev., hoping someone can help me see the light of what should be easy but...

    I have a Flex 3 MXML application form that contains a ComboBox as follows:
    < mx:ComboBox id = "physRegion" editable = dataProvider = "{regionRequest.lastResult.region 'false'}" / > "

    The combo box is filled by the provider of data like:
    MX:HTTPService id = "regionRequest" url = "flexDAOServlet" resultFormat = "e4x" method = "POST" >
    < / mx:HTTPService >

    and the underlying XML code looks like this:
    <>region
    Northland < label > < / label >
    < value > 1 < / value >
    < / region >
    <>region
    Auckland < label > < / label >
    < value > 2 < / value >
    < / region >
    ...

    Drop-down list box loads the XML code very well. the user can select an item and the appropriate value is submitted to the server without problem. My problem is when I want to "recharge" the form with previous values.
    I can reload the text without problem fields.

    But I can't work in my ActionScript function, how to set the combo box so that it displays "Auckland" for example, the element with the value = 2. I'll be back this server id, even if I could get the XML code or label if that would help me solve this problem.

    I tried physRegion.selectedItem = "Auckland" - nope. "
    I tried physRegion.selectedItem = 2 - nope.
    I tried
    var XML = myXML:XML ("< region > < label > Auckland < /label > < value_2 > < value > < / region >");
    physRegion.selectedItem = myXML;
    and - nope.

    I know that I'm a new style user here error (and thank you for reading this far! your patience is appreciated) but I can't for the life of me see what it is. Can anyone help?

    Many thanks in advance for clues. Apart from that, I'm loving Flex.
    Kind regards
    Adrian

    Two things to note. The only problem with the function that has provided ChiefRocka00 is that it is based on the identifier of the data, which means your always limited to have that be the identifier of your value. Personally, I'll be back queries a lot of times where the labelFIeld and dataField aren't labels / data pairs a suggestion would be to add a third parameter and have it checked for this identifier instead of the data. The other thing to note is that it is more common to use selectedIndex instead of selectedItem. If you do not want to do something more like physRegion.selectedIndex = selectCboIndexByData ("physRegion, ' Auckland", label) by using the update function of

    public void selectCboIndexByData(theCbo,_theDataValue,_identifier:String):Number {}
    for (var i: Number = 0; i< thecbo.dataprovider.length;="">
    If (theCbo.DataProvider.getItemAt (i) [ID] == theDataValue) {}
    Return i;
    }
    }
    return 0;
    }

  • Web site works not-selection drop-down list box does not correctly

    Http://mobile.free.fr/moncompte -commerce site
    A drop-down list box shows that the user can choice phone numbers.
    The result is always a warning message 'phoe number still used '.
    FireFox version: 29.0.1
    plugin: WOT, ADBLOCK +.
    Best regards

    Many issues of the site can be caused by corrupted cookies or cache.

    • Clear the Cache

    Press < Alt > or < F10 > to display the toolbar. Then;
    Tools > Options > advanced > network > content caching Web: clear now

    and

    • Delete Cookies

    Press < Alt > or < F10 > to display the toolbar. Then Tools > Options > privacy.

    Under historical, select Firefox will use the custom settings.
    There is a button on the right side, called View the Cookies.

    If there is still a problem,
    Start Firefox in Safe Mode {web link}
    While you are in safe mode;
    Press the < Alt > or < F10 > key to bring up the toolbar... Then
    Tools > Options > advanced > general.
    Find and stop using hardware acceleration.

    Dig safe web sites and see if there is still a problem. Then restart

  • Select the list box file and read the data from file

    I can list the files in the folder in the listbox

    1. I want to just list file .txt files

    2. How can I read data from the selected file (.txt)?

    I think that's what you want, enter a model in your list of files vi (for example, *.txt) and then just use File.vi text of reading by using the selected item in the list box (double click on event or value change) and use the starting for the vi records list path.  I have included a crude extract for your pleasure.

  • Box selection drop-down list in the multicolumn list box.

    Hi friends,

    Is it possible to insert the drop-down list box in the multicolumn list box.

    You can see this kind of GUI in "multiple variables Editor.

    I have attached screenshot of this screen.

    "picture explains more then thousand words.

    Thank you.

    And here's one: http://forums.ni.com/t5/LabVIEW/Add-a-Drop-down-menu-Combo-Box-into-a-specified-cell-of-a-multi/m-p/...

    You can also take a look at this code in LAVA: http://lavag.org/files/file/31-type-sensitive-popup/

  • Select the string table drop-down list box.

    Hi all

    I want to select the combo box list based on a string in the entry, I don't know how to do this. I have a drop-down list box and the value comes from a database, what I want to do is I want to change the value of the selected box based on the existing value in the database drop-down list. for example, A, B, C D I strings in the drop-down list box, and then in my database, I have a field with the string C, I want to change the C to A. I can't enter the value of C in a string format, but I don't know how to be the first position of the drop-down list box in so the order of channels combo box will be C, A, B, d., the value of C

    Thank you

    Then just write a new array of strings, with the elements of the new agenda, to the "[] strings" - property.

    Either you must code something that allows you to create an array of strings with the elements in the order that you want them to be. If there is a reorganization only, you could do something like:

    -Get the array of strings [] from the drop-down list using a property node box.

    -Find the position of the element you want to place first and use "delete from table", which returns the new array and the element removed.

    -Build a new table 1 d of the deleted item and table remaining. Move to the second combobox Strings [] property of a node property.

  • get the index of a selected item in a drop-down list box

    Hello

    If I have a list of strings in a drop-down list box and the user selects one in the drop-down menu, how can I get the index?  I was able to explore the table for the selected channel, but it seems like duplication of effort to create a list and then go back and research it.

    Thank you

    Brendon

    It's easier to change control of the ring or Enum which gives the index as a default value, a drop-down list box gives a string that must be converted. But if you like really graphic and you want to use the drop-down list you can uncheck the "use strings as values" option and enter the index as numbers and then make a string to Decimal conversion.

    /Y

Maybe you are looking for

  • Is re-use of the parts of a Pavilion P7 1449, possible?

    So I build a new computer, and I wanted to know if I could reuuse the disk, the drive disk and RAM of my 1449 and put it in my new build. Thank you!

  • Signed App behavior

    I think I just sign my application successfully, but I can't because I have not received an email from RIM that I've heard that you're supposed to do. Is there another way to check if the signature has been accepted? They behave differently at all in

  • Custom gauge field

    Hi all Is it possible to add any bitmap with GaugeField to display the progress bar? Concerning Ali Said

  • Oracle odbc dll-pointing wrong

    I just moved to windows 7 from xp.   I have a query that uses an ODBC driver for oracle.  He seeks the msorcl32.dll in \windows\system32 and it isn't there anymore, but it is in \windows\sysWOW32\ how to change the path for the data sources work corr

  • Hide unused file extensions

    HelloI would like to see if I can hide unused dialog file extensions "save under". I think it would allow me to save a lot of time. I did some research on Google and have met discussions where people solve this problem but I can't find anything that