Repeated Interface elements-the best way to approach

What is the best way to repeat several times N interface elements?

For now, I use an array of bunches, but this does not work very well because the property nodes are all identical for each element in an array. In this case the different scales and beaches restrictions are needed on the various elements. I understand that it is feasible to the behavior of its equivalent of code manually, but it seems a bit of a cludge. Is there a "right way" to do?

He needs a little more in detail.  N is fixed, you have to show N at the same time.

Often the best solution is to separate the data from the user interface, which is to store the data as an array of locked but to present data to the user for interaction as a single element or a cluster of clusters of a window fixed populated the table elements.

Tags: NI Software

Similar Questions

  • What is the best way to approach writing a server that communicates with a wireless xbee on TCP?

    Hello all-

    I need to write a Labview program that communicates over TCP with a xbee: http://www.atmel.com/Images/doc42006.pdf

    Program LabView are going to order one of these: http://www.atmel.com/Images/doc8120.pdf

    The xbee will send packages "update" while the LabView program sends packets 'setup' and 'control' to the xbee.

    The LabView program will basically serve to control a robot by sending TCP packets.  The robot simply sends the updates to the LabView program on its current position.

    I searched through the following examples:

    1. how to set up the TCP header

    http://forums.NI.com/T5/LabVIEW/how-do-I-send-data-in-this-format-over-the-network/m-p/830019/highli...

    2. the data Client.vi and data Server.vi

    https://decibel.NI.com/content/docs/doc-9133/diff?secondVersionNumber=5

    3. how to analyze packets

    http://forums.NI.com/T5/LabVIEW/how-to-extract-individual-TCP-packet-values/m-p/1795840#M620097

    Is there an example that combines all of the above for example?

    I would appreciate if someone can point me to a sample program that communicates with another program labview with at least 2 different types of packages.

    How the rzusbstick does not appear on your system?  It is a resource of COM?  If so, you probably want to use the API of our VISA to write commands in the port.  These commands will be similar to what you are doing, although you will probably want to use integers instead of doubles.

    There are several examples of series in the Finder of LabVIEW example available in the Help menu in LabVIEW.

    Hope this helps,

  • What is the best way to approach the installation of Mcafee to the linked Clones

    We are in version 8.7 and I was wondering if there is a guide to install and configure Mcafee for use in a related clone pool?

    Yes, he must have copied over my previous post.  I fixed it with the exact link.

  • INTERFACE design - what is the best way to allow the user to define a kind of infusion at various times (non-periodic)?

    I want to allow the user to specify a curve like this:

    Such as some under - VI shows the A2 value when a variable of time is between R1, A1 when the time variable is between A2 and A3 when time is in the range A3.

    My design looks like this:

    With the error checking that looks like this:

    My question is, is the approach of the table according to optimal? Otherwise, how could combat this?

    I think I can summarize the conversation on this point as a response to the original question (what is the best way...) -to start writing code, to think about what you want to accomplish and write it down (otherwise known as 'Write the first Documentation').  One of the points of a good User Interface is that it is not allow users to "stupid mistakes" - it leads the user "by hand", limiting the entries to the "legal values" and demanding that the entries be made logically.

    If you were going to have a list of Infusions to enter, it is therefore logical to decide or not to enter into time intervals (which are always > 0) or order the times (which, logically) are still growing.  You can (and should) decide that you (or you may have a control that allows the user decide, but maybe it's too flexible) and then apply your "rules".

    Let's say you've decided on "Intervals" (which seems to me to be more User Friendly).  After the user has entered the intervals (and you've provided a nice plot of perfusion vs. time), pouvez allow you the user to an interval of 'split', 'Delete' an interval, or "Edit the Infusion" interval, or you can decide to have a choice more simple "accept or start again" - If you have only a few intervals, the last would be the simplest (and therefore best) design choice.

    Spend more time thinking before coding usually pays Big dividends!

    (Speaking of sad experience) Bob Schor

  • The best way to separate the user interface in the model LV 2012 queued Message Handler?

    If you create a new "queued Message Handler" new model 2012 LV, you will see a blue box in the case of "Update view" that says the following:

    Code Recommended - If you wish to decouple the Message Handling Loop from your user interface, consider creating User Events (like the "Stop" event in this VI) to message the Event Handling Loop whenever the user interface needs updating.
    

    I would like to give a suggestion, but I am struggling to find the best way to do this and still keep code modular.  The template creates a user - Stop.lvlib "event with a create/Destroy/fire Subvi.  I would like to create a library of "User event - Update UI.lvlib" similar with similar Create/Destroy/fire Subvi keep this new modular and separate user event.  The problem, I am struck, is that there may be only two hydrants in case Structure dynamic event so, how I modularlize creating user events in separate SubVIs and always maintain this dynamic event terminals?

    As a follow-up on the issue, it would be preferable to have a library of user by indicator events that must be updated or that a single UI update of the user and then event pass a cluster as the message that contains the name of the control for the update (to use with a structure of matter), then the data to go with it?

    Thank you!

    Instead of having the events to record in the 'create' methods, you could be part outside your 'create' SubVIs and then simply bundle them. Then, you create your individual event of the user management. See excerpt where I created a vi 'Create user event - Update' in front of the stop.

  • What is the best way to always increment at index 0 only for an array of multiple elements?

    The principle is to complete a worksheet of left right in the same line but the increment of the column letter only (IE - B4 and C4 etc.). Herewith, I adapted an existing example VI that works for an array of 2 elements (ie - B4) but does not work for a 3-element array (ie - B40, B50 becomes). Keeping simple, what is the best way easier to modify my existing code to always check that the size of the table and the index automatically return to 0 to correctly increment the first letter only (IE - B) and not the number (IE - 4)?

    Thank you!

    Barry

    Instead of 'index automatically to zero', why not just make a zero instead of the size of table manipulation-1-1?

    Of course it will all fall apart once you get to column Z.

    Also look into the Board of Excel.   Do not post question.  This is just a link to the other discussions related to Excel.  Some of them might give you ideas how to manipulate your cell references.

  • What is the best way to repeat a subset of instructions box a fixed number of times

    I have a state machine with a structure of enclosure containing about 30 cases. Whenever the case #20 is called, what is the best way to repeat the case #20 throught #25 within the affair 10-fold structure before moving to another record number?

    Put the register shift outside the structure of matter which changes state.

    Set it to 1 initially.

    In each case, pass directly through without changing it.

    The only case that could change the value is 25.

    If the value is 9 or less, go back to section 20 and increments the counter by 1.

    If the value is 10, go to box 26, and return the meter to 1.

  • WIP Interface - the best way to move jobs next year

    I currently supports a WIP application that creates the work of ONGOING work using the wip_job_schedule_interface table.  After the charge mass WIP job runs, the task is created in the first operation.  The user asked if we can automate move the work to the next step, the user would perform all subsequent shots.  I'm new to work-in-PROGRESS, so I'll try to read up on the best way to do it.

    So far, I only found the WIP_MOVE_TXN_INTERFACE as a possibility.  My thought would be that after the task is created, and then use this interface board to make the trip.  What is the best route, or can do something during the creation of intitial interface to achieve this?

    Thank you.

    Yes, it is a good option.

    Suppose you have operations such as 10, 20, 30, 40

    and that users want you to answer operations 10 and 20...

    You can also check with them why cant they perform a move operation the queue of 10 to 40 - queue (instead of 30-queue in the queue of 40)

    Thank you

    Claire

  • What is the best way to have a form of request for a page web app that tells you what element of web application they watch?

    In previous old web apps, I used the see a scenario of a friend, even if it was not ideal, it did / still works for the most part elderly. It's a long time I don't remember putting it in place! What is the best way to make a request for information from the page now? Any help appreciated

    If you have a form on the detailed view of the web application, and you fill in the fields, lets say 'product name' with the actual tag name as the value of the entry. So who will automatically fill.

    Given that the user has no need to change it, you can even hide the field filled with his car.

  • Programmatically update nested arrays of Clusters? (What is the best way?)

    I have an array of configuration files that is loaded at startup. Then, I need to update the values in this table of configuration values. The attached VI works, but I was wondering if this is the best way. It seems not scalable I added elements that I do need to update (mostly because the real configuration file has a lot more items).

    What is the best way to update an element of tables nested clusters?

    In this version shortened:

    When I click on "Set a new value" it should set the updated for the selected Config values #, # test, a subtest #.

    Back panel:

    Thank you!

    A better approach is to use the standard bundle/unbundle and the subset model table index table/replace. A component of Inplace Structure using simplified, as shown:

  • What is the best way to sort?

    Hi I have 1,000 customers in the database. I need to display in the drop-down list box. COMBOX is editable. The user types the letters, I need to filter and display the names of customers. for example if the user types 'a' in the combox I display all customer names beginning with "a". If the client type 'under' then I have to show only names that begin with "what," in the drop-down list box popup. for every key stroke, I filter and display the names of the clients.

    for this, there are two approaches: -.
    1. for each key stroke, go to the database and retrieve the sorted results and display. This way sort takes place in the database.
    2. pull once all clients in java, cash and therefore sort them based on key strokes. In this sorting is done in our java code.

    friends said that it is expensive to go to the database for every key stroke. I feel pulling all clients at once and their collection in java isn't a good idea.

    I'm really confused. I need a suggestion expertise. where is the best? Why is this the best way? What are the advantages and disadvantages of the two ways. Please help me.
    Thanks in advance.

    Thanks ejp but initially if the combo box is not empty. This means that if he did not type any letter I show all the names.

    N ° this is the error. Don't, don't. A ComboBox with 1000 or 5000 elements is completely useless. Do as I said.

    My problem is that if there are 5000 customers then what? It will not create a performance problem.

    Of course, it will be. It will also create a problem of great performance for the user.

    However, you seem to have missed something else. Using the combobox with anything, you're already running a cache. Not two ways on this subject and no way to avoid it. So all you fill with, and each time you do, all you have to do when the user types a different combination of keys is filter the model combobox to exclude everything that does not prefix that he hit. To return to the database is not yet arise.

  • How the best way to keep the information user´s?

    Hello people.
    In my application, I use the method getDBTransaction () .getSession (). getUserData() to store user information, such as the ID, user name, etc...
    However when my application is used by more than 20 users. Application loses the information in session variables very often. In most cases the user session is lost in less than 2 minutes of use. Some entities in my application using this information to fuel elements of the entities which are necessary for the table, so that the application generates errors like Houston-27014 and Houston-25017.
    I wonder what the best way to store this information so that I can use the methods of the data model and user interface methods.

    Thank you once again.

    Willian

    What is described in the [docs here: http://download.oracle.com/docs/cd/E15051_01/web.1111/b31974/bcstatemgmt.htm#sm0495]

    Timo

  • What is the best way to copy the 700 lots of e-mail files to a new computer?

    I'm moving my wife and an old (Thunderbird, Win XP) computer to a new computer (Thunderbird Win 7). It has about 700 local folders with thousands of emails in them. What is the best way to copy to the new computer?

    The easiest is just to copy the whole profile.

    Menu help > troubleshooting information

    Close Thunderbird

    In windows Explorer, select all and copy.
    just stick on a thumb or other portable media to read/write (not the CD or the DVD)

    on the new Machine to repeat the troubleshooting and close the steps to get the current profile folder

    This time all the portable media stick in the profile to replace what is there

    Open Thunderbird, your additions of e-mail contacts does it all

  • What is the best way to collaborate on a project in logic at the same time?

    My brother and I collaborate on music, even though we live in different States.  We try to understand the best way to work on a project at the same time... not to live (although that would be awesome) rather by the project back repeatedly for multitracking.  Is there an effective way to send only the new audio files and a logical update file back instead of the entire project (which happens to be several gigs in size)?  It seems that there must be other people working together like this.  This seems particularly important when you mix when we are not adding a lot of new files, but making subtle adjustments to the mixture and arrangement.  All the tips are greatly appreciated.  Thank you!

    https://www.Gobbler.com/collaborationversioning/

  • The best way to read and write?

    Hello

    I'm working on the project with labview.

    with this program I connect PC to MCU via modbus RTU sreial.

    in this program, there are some data must be read and some data they need to write.

    what I need is most of my reading polet exuted time except when some of the elements of control (as the edit box) changed by the user.

    every time something has changed by the user writing polet executed.

    now, what is the best way to do this?

    Best regards.

    Structure of the event within a while loop.  With the structure of the event, detect you the change of values and send the appropriate commands.  You can use the case of timeout for reading the State of the MCU.

Maybe you are looking for

  • Firefox slow to open links from Thunderbird and elsewhere

    With Firefox versions later than 34 (or maybe 35 - not sure) try to open a link to the page of a Thunderbird e-mail and occasionally other sources, results in Firefox 36 and 37 suspended up to one minute before opening the page and a new tab, so I'm

  • Blue kernel_data_inpage_error error screen HELP Please

    Should I be worried that I came to my PC after that leaving locked during the night and found the following error blue screen: KERNEL_DATA_INPAGE_ERROR STOP: 0X0000007A (0XC000000E, 0 X 92188860, 0XC041AD60, 0X835ACD7E) Igdkmd32.sys address 921B 8860

  • BlackBerry Smartphones can not click some buttons on Web sites

    I don't know if I have "on or off" something when things on my "BOLD" setting. But now, when I'm on different sites, I can't click on some buttons to perform certain functions. Examples: In my downloads, I opened Mobile Banking for the first time.  B

  • View webmail vs Microsoft Outlook View

    Had to replace my hard drive in Acer touch screen.  The files have been saved before replacement.  After the connection to display the email (from the mosaic of mail), I see only the version "webmail".  How can I change this view of the Outlook view

  • How to get my serial number

    I have the cd of Adobe Creative Suite 5 Design Premium, but I want to get my serial number to use my product.