Changing tab control strings

I found that if I modify the TEST_UUTS string in ModelStrings.ini, I can change the text displayed in my entry point button.
[MODEL]
TEST_UUTS = "ATE TEST"
SINGLE_PASS= "DEBUG"
Similarly, I made changes to UIControlOperatorInterfaceStrings.ini to change what shows up in the tabs for my Top-Level VI in the TestStand 3.5 Operator Interface.
[TSUI_OI_MAIN_PANEL]
EXECUTION = "Test Execution"
SEQUENCE_FILE = "Test Sequence"
Now for my questions - one specific, one general
1) If I add a page (tab) to my tab control (say Quick  BIT), I was told I could just create a contant in CustomStrings.ini and TestStand would grab the text out of that file.
[TSUI_OI_MAIN_PANEL]
QUICK_BIT = "Quick BIT"
How/where does it do that?  I assume this constant (QUICK_BIT) would have to be unique and it would have to be specified in one of the properties dialog boxes somewhere?
2) In general, where does TestStand use these contants (say, for example, the one for TEST_UUTS)?

Hi,
You have to call the TestStand - localize Front Panel.vi, which is found in the TestStand Palette in your LabVIEW. You need to provide the Engine reference which you can obtain from IAppllicationMgr.GetEngine and also a string containing the section name found in your CustomStrings.ini
Regards
Ray Farmer
Regards
Ray Farmer

Similar Messages

  • Change tab control page programatically using boolean.

    I am wondering if there is a way to programatically change the tabs on tab control when a user clicks a button on  the interface? Here is what I am trying to do and if anybody has any great ideas please let me know. I have a tab control with currently 3 tabs. I want a button on the main area of the vi to go to page 2 and back to page 1 as the user clicks it. The second is that I want about 5 buttons in page 2 that will go to say page 3-5. Any ideas. Thanks
    Derek Tucker
    Derek Tucker
    [email protected]

    Sure, though I don't know why the user can't just click the tabs themselves. All you need is a simple event structure and writing to a local variable of the tab control.
    Attachments:
    tab control.vi ‏43 KB

  • Programatically Change Tab Control Image

    Is it possible to change the tab image of a
    tab control using program calls?  I can add an image to a tab by
    right clicking the tab, then selecting Advanced --> Tab Layout
    --> Import Image From Clipboard.  This works well when editing
    the VI, but I would like to change the image while the VI is
    running.  Any help?
    I have found no resources online, or by looking at the property node or invoke node for the tab control.

    Not possible. The image can only be set while in edit mode.

  • Capturing javascript tab controls?

    I'm working on archiving a website using Acrobat Pro 9.x. There are many pages in which the content is in tabs switched by javascript (toggling the CSS divs to hide or display). However, "Web Capture cannot convert javascript links ... ", so content not on the default tab is lost. Are there any workarounds for this? Even opening all the tabs simultaneously, as if the user has turned off javascript, would be fine.

    change "Tab Control" to indicator
    Attachments:
    tab control labview8.2.1.vi ‏11 KB

  • Tab control page

    Dear all:
    I want to change Tab Control "page captin" name by program control ,but I don't find any property node about this.
    Please help me!
    Like this picture.
    Solved!
    Go to Solution.

    Hi 新手一號
    see this link
    http://forums.ni.com/ni/board/message?board.id=170&message.id=16404&query.id=305842#M16404
    Mike

  • Tab control page label change color programmatically

    Hi everybody!
    I have a question about a tab control.
    I'm trying to figure out a way to programmatically change the  properties of the tab labels so the selected tab's label looks different to the others.
    I'd like to do this by changing aspects of it's font and it's color. But I can't find out how to access it either directly or by reference.
    I can get at the label string so if all else fails I could make the selected one all capitals!
    Am I missing something, or is this one of those things which can't be done?
    I'm using Labview 11.
    Regards,
    Jonathan.

    The link still works for me!
    Search the forum for "Tab Color".
    This does not change the text, but the tab color which is what I do to high light the selected tab.
    I use dark gray and light gray to help the user tell which tab is "active".
    Not exactly what you wanted.
    http://forums.ni.com/t5/LabVIEW/How-can-I-change-the-font-color-size-of-tab-controls/m-p/967920/high...
    http://forums.ni.com/t5/LabVIEW/Programmatically-changing-page-color-in-a-tab-control/m-p/840699/hig...
    http://forums.ni.com/t5/LabVIEW/tab-control-color/m-p/3062557/highlight/true#M873360
    Omar

  • Tab Control - change page name and color

    a)
    Is there any possibility to
    change the names of pages in a Tab Control programmatically?
    (I want to change the names in a runtime version depending on the user
    selected language. Therefore I can't use the Import Strings function.)
    b)
    Is it possible to change the colors of a Tab Control ?
    Robert
    (using LV6.02 on WinNT)

    Hello,
    If you use the property "Independant Label" of the tab, you can change the TabCaption.
    You cannot use blank names.
    See attached file. It was written with LabVIEW 6.1 and converted back to 6.0.
    Attachments:
    Change_Tab_Page_Name.vi ‏15 KB

  • Control Click to Change Tab Order

    I know there are new ways to move the field names around to change form fields, but I miss the ability to change tab order by control clicking on the field. I like the new ones, but would like to have the old way also.

    You can get the coordinates of the mouse "drop" relative to the scene in the onDragDropped handler with
    event.getSceneX() and event.getSceneY().
    You can get the location of the top left of a node relative to the scene with
    private Point2D getSceneLocation(Node node) {
         if (node.getScene() == null) {
              return new Point2D(0,0);
         double x = 0 ;
         double y = 0 ;
         for (Node n = node ; n != null; n=n.getParent()) {
              Bounds boundsInParent = n.getBoundsInParent();
              x += boundsInParent.getMinX();
              y += boundsInParent.getMinY();
         return new Point2D(x, y);
    (and you can get the other corners of the node simply by adding the width and/or height from node.getBoundsInLocal() to the result of that if you need.)
    So if you ensure every tab has a graphic, you can iterate through the tabs and do something like
    int dropIndex = 0 ;
    for (Tab tab : tabPane.getTabs()) {
         Point2D tabLocationInScene = getSceneLocation(tab.getGraphic());
         if (tabLocationInScene.getX() > event.getSceneX()) {
              break ;
         } else {
              dropIndex++ ;
    tabPane.getTabs().add(dropIndex, tabToBeAdded);
    Ensuring every tab has a graphic probably just means setting the text to an empty string and setting the graphic to a Label containing the text; or I guess you could just use a zero width and height Rectangle, or some such.

  • Can I individually change any of the attributes of an individual tab (not the page) on a Tab Control?

    I have a Tab Control with approx. 15 tabs. After the user changes anything (adding text, changing a ring control, etc. ) from the default configuration on any of the 15 tabs, I would like a change to that individual tab only (say color change, text change, anything) so when the user sees all 15 tabs, they know what tab page has had changes to the defaults.
    I appreciate your help with this one!
    (Note: I tried using a imported bitmap control of a red checkmark - and use true/false to an
    visible property node -this only works when placed in any of the Tab control pages, but not on the individual Tab itself.)
    -Karl H.

    Karl,
    I have attached a LabVIEW 6i example to this post that indicates with an LED if the control on the Tab has been changed from its default value. I used the classic LED's to make them invisible when the value is still the default. Hope this helps.
    Attachments:
    tabcontrol_default.vi ‏27 KB

  • How to change the name of the tab control window?

    Dear all,
    Is there any way to change the name of the tab control page programatically?
    Thanks,
    Ritesh

    Hi Ritesh,
    yes it´s possible, see this link.
    Mike

  • Can you change tabs on a tab control by using boolean buttons?

    Need to change tabs by pressing a button instead of using the actual tabs.

    Absolutely. First create a local variable for your tab control. Then poll your boolean to tell when its value has changed. Finally write a value to the tab's local variable to change its tab page programmatically.
    Message Edited by Jarrod S. on 02-07-2007 05:46 PM
    Jarrod S.
    National Instruments
    Attachments:
    tab.PNG ‏17 KB

  • Tab control - takes long to change between tabs

    Hi everyone,
    I am using a tab control to display a set of results on each tab. So, I have a tab control with three tabs and each tab consists of 16 indicators which are updated with values. Now, when I run the program, it is taking a long time to switch between these tabs. For instance, if I am currently on Page 1 and then I click Page 2, it takes around 5 seconds to change the tab. I know this should be like this but I cannot understand what is happening. 
    I need help, please. I know it is a silly question but I cannot make heads or tails of it!
    Thanks!
    Solved!
    Go to Solution.

    I would also recommend to streamline the code a little bit.
    For example the cases in frame#1 differ only by some small operations. All that belongs inside the case is the code that differs. none of the local variable seems to be necessary. All that belongs in the smaller cases are the colorbox constants (might be easier to index into an array of colors). If you autoindex on the For loop boundary, you don't need to wire N and you can eliminate the "index array" operation.
    In frame #2, you could autoindex on arrays of references, all in a single FOR loop (same for all the initializations).
    You have race conditions. Initializing all the colors (to the right and left of the sequence structure) all occur in parallel to the sequence structure. You should create a data dependency to ensure things occur in a defined order.
    You can probably eliminate all these hidden indicators and associated local variables. The wire is the data!
    LabVIEW Champion . Do more with less code and in less time .

  • Changing captions of tab-control

    Hi,
    how can I change the label of every page (tab) of a tab-control during
    runtime?
    Mareike

    This feature has not currently been implemented for 6.02. NI please prove me wrong since I need this feature too!
    Michael Aivaliotis
    VI Shots LLC

  • Control/change tab order

    How does one control the tab order (the order in which controls are visited when the TAB key is pressed) in a JavaFX 1.3.1 application?
    It isn't always the case that one wants the tab order to be the same order as used in the layout.

    Thanks a lot for your help guys.
    Let me explain a little bit more my problem, maybe you guys get a good way to do this.
    Ok, I have a tab control with 4 tabs (Auto Mode, Manual Mode, Troubleshooting and Configuration) in that order. In the "Auto Mode and Manual Mode tabs I have a selector switch to select the operation mode (auto or manual). Now, when I have the switch in auto mode, the manual mode tab page is hidden, when I change the selector switch to manual mode the manual mode tab page is unhide, the auto mode tab page is hide and the manual mode tab page is automatically selected. This happens because my manual mode page is the second one and when the page before is hidden the next one get active. The problem came up when I change the switch back to manual mode. I want that the auto mode page unhide, the manual mode page hide and the auto mode page get active, but instead the page that came active is the troubleshooting page since this is the one after the manual mode page.
    So, what I was planning to do was to rearrange the pages order when auto or manual mode are selected so that the second page be always the hidden one.
    Maybe I confuse you guys more, but that'sthe idea. If something came out of your mind, I really appreciate the help.
    Ferdinand Martinez
    FMO Automation LLC

  • Change the pages of a TAB control programmatically

    How can I change the pages of a TAB control programmatically, but not by pushing the tabs in Front Panel when program runs?

    100% correct, Thanks
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

Maybe you are looking for