Make string indicator scroll automatica​lly to last entry

Is it possible to have a small string indicator on the front panel automatically show the last part of a string rather than the first? We have a situation where we are updating a long string (adding to it) and prefer to see the latest additions without using a scroll bar but still (rarely) be able to scroll to the top.
Thanks, Peg

Make a property node for the string indicator, set to write, and set the property to "Scroll Position". Then just wire a very large number to it or get the length of your string (string length under string pallete), and wire that in.

Similar Messages

  • How to remove the last line input into a string indicator??

    I am currently working on a program where the user has the ability to create a profile for one of our lab machines to run.  When the user selects what parameters they would like, a string indicator shows the user the last input they set followed by a comma.  For example, if the user selects which profile they want, and the times they would like to set, the following string would be displayed:
    As you can see in the picture above, the profile is updated in the string indicator after every set button is hit.  In the event the user makes a mistake, I want them to have the ability to delete the last line that was added.
    This is the code I developed so far.  The string coming in and leaving is attached to a shift register so it continues to append to the indicator.  I tried in this case to count how many lines have been written in the string so far, and I built an array with the current string.  Using the delete from array.VI I indexed it to the number of lines that was created so that the last line is deleted.  I unfortunately had no luck.  Any suggestions?

    tbob wrote:
    Fonzie1104 wrote:
    Hey Tbob,
    That almost worked.  The only issue though is it leaves a null string in its place without moving everything after up one line.  Also, if i have a parameter repeating multiple times, it doenst seem to work.
    I'm confused.  If you are deleting the last line, how can there be anything after?  What do you mean by a parameter repeating multiple times?
    If you look at my example front panel, you will see that the last line is deleted.  Isn't this what you asked for?
    It's due to the fact that your constant doesn't have a comma in the last line. If you add that in, you should be able to reproduce his problem. This is just a guess though, I didn't actually test it to see.
    Message Edited by for(imstuck) on 06-08-2010 01:24 PM
    CLA, LabVIEW Versions 2010-2013

  • Force a string indicator to scroll to the bottom

    In LV Web UI Builder is there a way to force or programmatically scroll a string indicator to the bottom? 
    I am building a virtual hyperterminal and I am writting a very large amount of data into a string control.  I have the vertical scroll bars turned on, but by default it just shows the information at the top.  I want to include all of the data so that the user can scroll back to see the history, but it would be nice if by default the scroll bar would stay at the bottom.

    I just wanted to confirm there is no way currently to force a string indicator to scroll to the bottom. I will note this down as a product suggestion for the Web UI Builder team.
    Vivek Nath
    National Instruments
    Applications Engineer
    Machine Vision

  • Change the colour of lines in the same string indicator.

    Hi everybody,
    I'm getting crazy, because I'm looking for the way to change the colour of
    the lines I want in the same string indicator.
    I'm doing an application to control an instrument by serial port, and I'm
    concatenating the lines that this instrument gives me, but there is some
    line that I would want to change its colour, because there has been an alarm,
    for instance. And I only can change all the string.
    Is there any way to do this? I don't know.
    Could you please help me?

    Thank You Very Much.
    The fourth step is a little bit difficult to understand, but what I've done
    is all the three first steps, and in the fourth one I've made an array (I32)
    of the lines that I don't want to highlight and connect it to Disabled �tems.
    Do you think this is a good solution?
    Thank you again for your help. I really needed someone to help me, because
    if not I would still be with the STRING INDICATOR.
    Timothy John Streeter wrote:
    >Hi Carlos>>I'm sorry for being too brief with the last email.>>1) Place
    an 'Multiple Selection Listbox' on your front panel.>>2) Create an attribute
    node. Make the attribute 'Item Names'.>>3) Put every completed line into
    the last element of an array, and then pass the array
    >to the attibute node. (This build the list>of strings in the Listbox).>>4)
    To highlight a line, make an array containing the line numbers (I32) that
    you want
    >highlighted and pass it the terminal of the>Listbox.>>Hope this is more
    helpful>>Tim>>Carlos Jorge wrote>> Thank you for your help, but I don't
    understand what you have told me. What>> I have to pass to the indicator
    node, and what is this indicator node? My>> problem now is the last thing
    I have to do.>>>> Could you please explain my doubt with more detail?>>>>
    Thank you a lot.>> Timothy John Streeter wrote>
    >Hi Carlos>>Try using a 'Multiple Selection List Box' indicator instead of>>
    a string indicator. You>> >can highlight a line by adding the line>number
    to an array and pass it to>> the indicator node.>>Tim>>Carlos Jorge Granadino
    wrote>> Hi everybody,>>>>>> I'm getting crazy, because I'm looking for
    the way to change the colour of>>>> the lines I want in the same string indicator.>>
    I'm doing an application>> to control an instrument by serial port, and I'm>>
    concatenating the lines>> that this instrument gives me, but there is some>>
    line that I would want>> to change its colour, because there has been an
    alarm,>> for instance. And>> I only can change all the string.>> Is there
    any way to do this? I don't>> know.>>>> Could you please help me?>>

  • Saving text written in a string indicator on the front panel

    Hi,
    As a new LabVIEW user I'm trying to type a manual to explain how to use the software program I'm writing. I would like to display it on the front panel in one of the tab windows. There is quite a lot of writing and I would like the user to be able to scroll through the text. I tried inserting a string indicator, right clicking on it and selecting 'visible items'>>'scrollbar'. However, when I saved my changes the writing in the indicator was not saved with the rest of the changes. I'd be grateful for any advice.
    Thanks,
    Adrian
    [email protected]

    Adrian,
    The 'data' in your string indicator was probably not saved as 'default', so that when you closed the VI and re-ran it, it was lost.
    For any data (strings, numbers, etc.) that you want to have as default, you will need to rt-click the indicator/control and under data operations, select 'make current value default' (when you have the data entered).
    Also - add an Invoke node function to force this indicator to display the default data upon initial running of the VI.
    Another way, though, when you have a 'lot' of text, is simply save your info in a text file, and have a VI open the file and display it either as the text file itself, or as input into a string indicator.
    Good Luck, Doug

  • How can I make a indicator transparent grey?

    Hi,
    I would like to make the background of a string indicator transparent grey on the FP. No Problem making it either transparent or grey, but I don't know how to make it transparent and grey at the same time.
    Would anyone know?
    Labview 8.5. & XP
    Thanks a lot,
    Marc

    I'm not sure I follow you.
    If you make a control or indicator transparent, that means there is no color.  Whatever is behind goes through.
    If you make it grey, then it is grey.  It is not transparent.  You can't have both at once..
    Now, do you want to see something underneath the control or indicator and see it as grey?
    If so, then make the control / indicator transparent and color whatever is in the background grey..
    Or maybe I totally didn't understand what you want to do..
    Can you post an example code of what you want to do?
    R

  • I need to rotate a string indicator 90 degrees. Is this possible

    To make my front panel less cluttered, I would like to have my string indicator rotated 90 degrees counter clockwise. Is this possible and if so will I be able to place it in an array of strings? Any and all help is greatly appreciated.

    pcardinale wrote:
    So just color the indicator transparent, and feed the text to the caption (i.e. use the caption as an indicator).
    Paul Cardinale
    While fundamentally, this would provide a potential work-around.  I find it morally objectionable Whats next? tategaki?
    Jeff

  • How to create a string indicator with a history?

    I'm interested in creating a string indicator that has a history to it, possibly with time stamps attached to it.
    For those who have used AutoCAD it would be exactly like the command bar. A plus would be if I could only
    save the last 100 entries to keep the size memory usage down.
    Any thoughts? Does anyone have a code segment of this? 

    Keep a line count and once you go over your limit search the string for the first new line and split it at that point.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Tab characters in a string indicator box

    I have a string indicator box and would like to make text on different lines match up. When I try using the tab character or a \t I only get a single space. Is there a trick to making the text line up?

    Whenever the string indicator is too lame for my purposes I usually go with the ActiveX text box.

  • How can I modify the Stile of a String-Indicator (without the Frame)?

    I only want to see the Text-String on the Frontpanel,
    without the Indicator-Frame.

    Go to the Classic Controls palette, select a Simple String indicator. Then use the paintbrush tool with transparent selected (The T in the upper right hand corner of the color palette) to make the indicator transparent. The text in the indicator will still be visible, but not the indicator frame or background.

  • Change string indicator background color

    I am trying to make a string indicator with a black background or make it to where the string indicator is transparent
    thank you
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Solved!
    Go to Solution.

    You can change the colour of a string control background using the paint tool. Choose View > Tools Palette.
    Select the lower-most icon of a paint brush.
    Right click on the background area of your string control.
    A colour mixer will appear - select either a block colour or the T in the upper right corner for transparent.
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • I would like to do a program that have one string control and one string indicator, any character that I type in the string control in the same time it will be appear in another string (indicator). How can help me?

    I would like to do a program that have one string control and one string indicator, any character that I type in the string control in the same time it will be appear in another string (indicator). How can help me?

    Why not use an event
    Add a While Loop, inside the loop add the Event Sructure.
    Now in the event structure selecd the String Controls.value change event to
    react
    and the new value inside the event that you get,( connect to the String
    indicator box.
    On Sun, 10 Aug 2003 15:58:47 -0500 (CDT), WiltonFilho wrote:
    > I would like to do a program that have one string control and one
    > string indicator, any character that I type in the string control in
    > the same time it will be appear in another string (indicator). How can
    > help me?
    >
    > I would like to do a program that have one string control and one
    > string indicator, any character that I type in the string control in
    > the same time it will be appear in another string (indicator). How can
    > help me?
    >
    Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

  • How to make an indicator takes more than one input

    Hello,
    I want to know how to make an indicator ( like gauge for example) response to more than one case strrcuture result. In other words, how the indicator can take more than one input and move based on different input values ( the arrow of the gauge moves to different angles basesed on the logic structure and not only to one degree).
    Thanks in advance,
     

    YES, you got it right Coastal !
    This is what i want to do,
    I dont know how to establish this output in the software, i am still learning LabVIEW.
    I put a merge block to join the outputs but it didnt work.
    check it in the attached VI file.
    I am sure it is an easy thing but I dont know how to implement it.
    Any help you provide is appreciated,
    Best wishes 

  • How can I export formatted text from a string indicator?

    Does someone know how I can export formatted text (i.e., parts of the text have different formatting, such as color, fontsize, etc.) from a string indicator? Using copy/paste does not work, as it only exports unformatted plain text.

    Hello Sparti,
        Thank you for your suggestions, they are all very useful, and I plan to use the HTML feature under Report Generation to export the formatted text from Labview. However, I am still not sure how I can extract the formatted text from a *string indicator* and transfer it to one of those VIs, so that it can be exported to other applications. Let me give some more specific info on what I am trying to achieve:  I am monitoring the communication between two pieces of equipment. A string indicator shows all the data flow, with different colors for data coming from different instruments. I managed to do that by using a property node and playing with the selection and font color properties. Now, if you just wire the output of the string indicator, the formatting is gone and all you get is just plain black text (for instance, try to programmatically transfer the formatted text from one string indicator to a different string indicator and you will see that the formatting is not preserved). Even if you try the "brute force" method of manually selecting and copying the text in the indicator and pasting it to Word, LV does not export the formatting. But, if you paste *within*  LV (for example, paste it to a string constant in your diagram), then it works. To extract the formatted string from the indicator, I also tried to use a property node, but without success. I am trying to avoid duplicating part of my code to generate the same color-coding scheme on a report. It would be way easier to be able to transfer the formatted text from the string indicator. This is particularly annoying, because the information is there, stored in the data structure associated with the string indicator. But how can I put my hands on it? Any ideas?

  • How do you make a page scroll horizontally with mouse wheel?

    As the title says, how do you make a page scroll horizontally with mouse wheel in edge animate?

    This should get you there
    http://css-tricks.com/snippets/jquery/horz-scroll-with-mouse-wheel/
    1. Load the mousewheel min script via CDN (jquery-mousewheel - cdnjs.com - the missing cdn for javascript and css)  into the Scripts Panel;
    2. Add the provided snippet into your Stage > compositionReady event handler.
    hth
    Darrell

Maybe you are looking for

  • Mini display Port To HDMI not fully working with tv

    Ok So, I am using and 13" macbook Pro Alu (march 2009) and a 40" Samsung LED 120hz 1080p screen (Brand spankin New!). I am connecting the two between a dynex mini Display port adapter to HDMI out. Then have an HDMI cable Running from the adapter to t

  • Display Image in Browser

    Dear all, I have use the JLabel to add the ImageIcon with the filename passed under JPanel. It work on appletviewer but not in Browser. The appletviewer can show both ImageIcon at the top and the Text at the bottom. But the browser (IE) can only show

  • 6070 - how do i get my photo's of this phone !!!

    guys, I'm a bit of a phone phobe but I have an old 6070 hand me down - I have loads of pics stored on it but don't know how to transfer them to the pc or what cable to buy ..... no instruction nothing - anyone help ... non techy. Solved! Go to Soluti

  • Do we have to Bounce Apache evertime JSP changes are made ?

    Hi all Do we have to Bounce Apache evertime JSP changes are made ? I am making a change in my JSP change (changing a sql query and adding a display text which is static) but the changes are not getting reflected when I upload the page to my server. D

  • Image files and changing extensions

    Hello All, I am completely new to photoshop and for that matter, graphic design in general. I always thought that a particular image type (.gif, .jpeg, .bmp) needs to be altered by a graphics program into another graphics type, i.e. 'Save as...'.  A