Change a control into indicator

Hello
With LabView 6i, is it possible to change a numeric control into an
indicator and vice-versa, on the front panel of a running vi ?

This is (at least logically) impossible, as long as if you have a control wired to something and acting as a control and you change it to indicator, most times you'll get a broken wire, so programatically this is not possible. If you want to use a control as an indicator or vice-versa, you can use local variables, to write into a control or read from an indicator. If i'm not wrong, in LV 6 you can use property nodes for that too.
Hope this helps

Similar Messages

  • How to change numeric control and indicator radix programmat​ically?

    Hi All,
     I need to know how can we change the radix of numeric control as well as numeric indicator while program is running.
    Regards,
    Pramod M G
    Solved!
    Go to Solution.

    Right.  Sorry   Display Format -> Format
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • Can I change the Controls labels & messages into a different language in user interface.

    Hi,
    I am working on China based project and they want to switch the UI controls and indicator’s labels, 
    menu or selection control and messages into two different language i.e. English or *****.
    Please let me know is this possible using labview programming. This will be very helpfull for me if we can do using labview.
    Regards,
    Srikant

    Check it in your PC, whether you can display ***** Characters for the Captions/Labels.
    For control text we can’t change Language directly so, we need to create two Language Texts for each Controller/Indicator. Based on user request we need to update Caption Language.
    As per below snippet,
    Just I wrote, ***** & English (because I can't write ***** characters on my FP). In your case you need pass ***** & English text separately.
    Munna

  • Changing price control indicator and posting difference to sperate account

    Dear Guru's
    Need your advice on how to handle the following scenario. Company wants to change the Price ontrol indicator in a material from V(moving price average) to S(Standard cost).However there is stock in the inventory for this item.Additionally they also want to change the price of the item with the difference posted to a seperate balence sheet account.

    Hello
    While changing the price control, the moving average price becomes the standard price, which is then used for valuation.
    You change the type of price control by overwriting the price control indicator in the material master record with the new indicator.
    Changing the type of price control for a material does not change the value of the material stock, since in both cases the current price becomes the new price.
    For changing the material price, use revaluation MR21.
    At the time of price change, for a material subject to standard price control, the material debit or credit is posted to a price difference account. The offsetting entry is made to an income or expense account. Consequently, a material debit or credit for a material subject to standard price control does not lead to a revaluation.
    Regards

  • Control or indicator?

    I have a subvi that the user uses to edit some settings used by the main vi. ie, click a settings button, and the subvi pops up.
    Anyway, the subvi reads a text file to load the previously saved settings.  Question is, should the elements of the text file be put into a control or indicator?  The user needs to be able to edit the values on the subvi panel, and then save them again.  Seems I can do this with both controls or indicators.
    -Mike
    Solved!
    Go to Solution.

    KSU Flyer wrote:
    Seems I can do this with both controls or indicators.
    Not quite. Indicators cannot be changed by a user when the VI is running. So, in your case you'd want to use controls. When you read the file for the saved values you can simply update the values of the controls using local variables or property nodes. Be careful about race conditions with local variables.

  • Copy selected values from a table control into another table control

    hi there,
    as seen in the subject i need to copy selected values from a table control into another table control in the same screen. as i dont know much about table controls i made 2 table controls with the wizard and started to change the code... right now im totally messed up. nothing works anymore and i don't know where to start over.
    i looked up the forums and google, but there is nothing to help me with this problem (or i suck in searching the internet for solutions)
    i have 2 buttons. one to push the selected data from the top table control into the bottom tc and the other button is to push selected data from the bottom tc into the top tc. does somebody has a sample code to do this?

    you're funny
    i still don't get it... can't believe, there is no tutorial or sample code around how to copy multiple selected rows from a tc.
    here's my code, maybe you can tell me exactly were i have to change it:
    tc1 = upper table control
    tc2 = lower table control
    SCREEN 0100:
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      MODULE get_nfo. --> gets data from the dictionary table
      MODULE tc1_change_tc_attr.
      LOOP AT   it_roles_tc1
           INTO wa_roles_tc1
           WITH CONTROL tc1
           CURSOR tc1-current_line.
      ENDLOOP.
      MODULE tc2_change_tc_attr.
      LOOP AT   it_roles_tc2
           INTO wa_roles_tc2l
           WITH CONTROL tc2
           CURSOR tc2-current_line.
      ENDLOOP.
    PROCESS AFTER INPUT.
      LOOP AT it_roles_tc1.
        CHAIN.
          FIELD wa_roles_tc1-agr_name.
          FIELD wa_roles_tc1-text.
        ENDCHAIN.
        FIELD wa_roles_tc1-mark
          MODULE tc1_mark ON REQUEST.
      ENDLOOP.
      LOOP AT it_roles_tc2.
        CHAIN.
          FIELD wa_roles_tc2-agr_name.
          FIELD wa_roles_tc2-text.
        ENDCHAIN.
        FIELD wa_roles_tc2-mark
          MODULE tc2_mark ON REQUEST.
      ENDLOOP.
      MODULE ok_code.
      MODULE user_command_0100.
    INCLUDE PAI:
    MODULE tc1_mark INPUT.
      IF tc1-line_sel_mode = 2
      AND wa_roles_tc1-mark = 'X'.
        LOOP AT it_roles_tc1 INTO g_tc1_wa2
          WHERE mark = 'X'.    -
    > big problem here is, that no entry has an 'X' there
          g_tc1_wa2-mark = ''.
          MODIFY it_roles_tc1
            FROM g_tc1_wa2
            TRANSPORTING mark.
        ENDLOOP.
      ENDIF.
      MODIFY it_roles_tc1
        FROM wa_roles_tc1
        INDEX tc1-current_line
        TRANSPORTING mark.
    ENDMODULE.                    "TC1_MARK INPUT
    MODULE tc2_mark INPUT.
      IF tc2-line_sel_mode = 2
      AND wa_roles_tc2-mark = 'X'.
        LOOP AT it_roles_tc2 INTO g_tc2_wa2
          WHERE mark = 'X'.             -
    > same here, it doesn't gets any data
          g_tc2_wa2-mark = ''.
          MODIFY it_roles_tc2
            FROM g_tc2_wa2
            TRANSPORTING mark.
        ENDLOOP.
      ENDIF.
      MODIFY it_roles_tc2
        FROM wa_roles_tc2
        INDEX tc2-current_line
        TRANSPORTING mark.
    ENDMODULE. 
    thx for anybody who can help with this!

  • How can I hide a text label as I would a control or indicator?

    As I have multiple indicators that must have the same identifier to the operator I can not use the indicator label as the items identifier. At times I want to hide the indicator and label. How can I hide the label? Please recall a text label just sits on the front panel as desired. It isn't within a raised or lowered box. In the attached sample I would like to hide "MyLabel" when the date indicator is hidden.
    Attachments:
    Test_Label.vi ‏35 KB

    Here�s a way. Its a little involved, but it will work:
    1. Customize a control or indicator to remove the border (I used a string control)
    a. Right click on the control or indicator, go to �Advanced � Customize�
    b. Click on the wrench on the tool bar to enter edit mode
    c. Select the border and drag it off to the side
    d. Reduce the size of the border to a single pixel (it won�t let you delete it)
    e. Rubber band a box around the 1 pixel border to select it and use the cursor keys to move it within the �white space� of the string control. It will effectively disappear. You will NOT be able to move it with the mouse as LV will try to resize the border instead of moving it.
    f. Using the color tools �suck up� the background color of your vi and �paint� i
    t into the white space of the control.
    g. Make the control the correct size to hide your label(s). Make sure it is right as you will NOT be able to resize the control outside of the �customize� function (i.e.: while on your front panel)
    h. Click on the tweezers to go back to customize mode.
    i. Give your control a descriptive name
    j. Right click on the control, go to �Visible Items� and uncheck �label� to hide the label.
    k. Save your new control
    2. Back on your front panel, place your new control over what you want to hide and programmatically make it visible or invisible as desired.
    I have included a copy of your original vi, modified to hide and unhide your label. I have also included the customized string control that accomplishes this. You may resize the control as needed by �customizing it as described above.
    The only disadvantage to this method is that if you want to hide multiple labels they must be in the same area of the front panel. Otherwise you must have seve
    ral �hiding� controls.
    An advantage is that you will not have to make the original control or indicator (i.e.: the date indicator) visible or invisible as it can be hidden as well.
    Hope this does what you want.
    Good Luck.
    Attachments:
    Test_Label.vi ‏27 KB
    InvisibleString.ctl ‏6 KB

  • Removing the default (View As Icon) for the control and Indicator

    If you remove the default selection View As Icon  for all the control and indicator, it is good for the programmer for easy to visualize the Block diagram code.

    This has already been suggested - http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Default-Option-Do-NOT-Place-Front-Panel-Terminal-as-Icon/idi-p/926871
    Also, note that you can already change it on your computer as mentioned there.

  • Change Message Control for Customer Master data

    Hi Friends,
    I have to choose/populate a message when the user is about to create an already existing customer.
    In SPRO --> Financial Accounting --> Accounts Receivable and Accounts Payable --> Customer Accounts --> Master Data --> Preparations for creating customer master data --> "change message control for customer master data" ...
    OK...
    When u click this it goes into Change View "message control by User" Overview screen wherein u can insert new messages and texts and the type of message ....
    Now .....
    I want to display the 145th message (F4 help of the Message column) ..... it picks up the text "Customer found with same address;check"..... with Online mesasage type 'I' and batch type 'I' and with standard type '-' ..
    I want to have the same message with message types 'E','E', and 'I' respectively.......
    How is this possible (or) what should i do to meet my requirement :-|
    Expecting ur answers
    Thanks in advance ........
    Cheers,
    R.Kripa.

    Hey yes it is not possible (as of now
    I ve met the requirement by just using message statement in the program itself ............
    My requirement is met but still if anyone knows about this do answer / reply
    Thanks
    Cheers,
    R.Kripa.

  • Change Table control Column Header text dynamically

    Hi,
    I have an requirement to change table control column header text dynamically.
    i.e. I have about 10 columns in table control, out that need to change 5 columns header text. These header texts are stored in an internal table.
    I had looked into the below link but could not get exactly how to do it.
    Dynamic headers in table control
    Could you please tell me how to do that.
    Thanks in Advance.

    Hi Saba,
    What you will need to do is this.....
    1. First replace the column Header Text box by I/O Fields and name them accordingly.
    Say for example we will consider the same example which i had explained in the link.
    there in the column header we want the header to change when some dates and entered into two fields which are out of table control say
    Start Date: 01.01.2010 to End Date: 06.01.2010
    Now we want the header to look like this,
    Column  No.    -        1               2             3                  4               5               6
    Header label   -    01/FRI       02/SAT     03/SUN       04/MON     05/TUE      06/WED
    Header name -    SPOTS1   SPOTS2    SPOTS3      SPOTS4     SPOTS5    SPOTS6
    then you go as per the instructions in the link......
    Let me know if you need further help,
    Hope this solves your problem....
    Regards,
    Abhijit G. Borkar

  • I do not manage to find the function to change a letter into exposing. I have MUSE DC 2014.2 and the menu does not display this possibility. I tried to import it IN design but that does not function either?

    I do not manage to find the function to change a letter into exposing. I have MUSE DC 2014.2 and the menu does not display this possibility. I tried to import it IN design but that does not function either?

    I'm not clear on exactly what it is you're asking, but if you're referring to changing opacity, you can change the opacity setting for the States of a menu item via the States panel and Control Strip.

  • Problem in placing controls and indicator on imported pictures

    hi.
    i have a problem in placing controls and indicator on imported pictures on labview front pannel.
    when i place a control or indicator on imported picture ..the control or indicator don't stay at the top of picture but go behind the picture...
    kindly tell me what to do to avoid this....as complete project has been made and now i have to place all controls and indicator of front pannel on to a picture.

    The Front Panel is built in layers. Each new control or decoration you add is placed in the top most layer.
    To change this, select the picture, click the "Reorder" button (that's the rightmost button in the row of buttons on the toolbar, the one with the 2 arrows forming a circle), and select Move to Back. Your picture will be moved to the background and your controls will be in front of it.
    Try to take over the world!

  • Documentation of a control or indicator

    I was documenting a control and indicator using the Properties->Documentation section. In Labview 8.0, you can add new lines into the Description section. In Labview 8.2, I can no longer add new lines in the area. This function fortunately works in the VI documentation. Is there any special codes that will allow me to start new lines, e.g. <B> other </B> will bold the text.

    Use <Shift>-<Enter> (on Windows).

  • Bringing dynamically created controls into scope

    Normally I can bring controls into scope in a function with
    the line
    var myControl = myControl;
    where myControl is the name of the control.
    If I dynamically create controls (called say cbx1, cbx7 etc.
    where the
    numbers are all different, but not necessarily contiguous)
    and save
    their names in myArray, then myArray[0] will contain the name
    of one of
    my new controls.
    How can I bring this control into scope in my function?
    And is there a way to create, read and change variable
    variables in
    ActionScript?
    Doug

    create an array within your function that's local to your
    function, if that's what you want. what's the purpose,
    though?

  • HT5024 It states that it takes 24hrs for changes to come into effect. However, what does it mean that it may retains my review in the system indefinitely, so if I rate it 1 star by accident, and changed it to rate 5 stars, the 1 star rating is not removed

    It states that it takes 24hrs for changes to come into effect. However, what does it mean that it may retain my review in the system indefinitely? So if I rate it 1 star by accident, and changed it to rate 5 stars, the 1 star rating is not removed?

     Hi,
    One of my ex-colleagues has installed a NI-DAQ 6.5 in our system. [And I do not see any other naitional instruments card in the CPU of the computer, may be he removed it] I deleted the account and all his files in the system. When I am trying to install version8.0, its not getting installed and giving me a message that I should uninstall the previous version by going to Add/Remove programs in the control panel.
    I tried doing that, but the "Change/Remove" button does not seem to work...[There is no response and so unable to install the new version...]
    Any idea how can this problem be solved?
    It is a windowsXP operating system with SP2 installed on a machine with P4 processor.
    Thanks

Maybe you are looking for

  • Can i add an additional iphone to my itunes account and how?

    can I add an additional Iphone on my itunes account or can i have multiple itunes accounts on my computer?  thanks, sd

  • Wrong Derived Segment in Accounting Transaction

    Dear FI Experts, When I simulate account clear vendor (tcode F-44), it's shown :                                                                    Profit Center                  Segment                                                                

  • Problem in fch5

    Problem in fch5. at time of manual check creation i got one error this document is not a payment document . can any help me Edited by: anjaneyulu.N on Feb 16, 2011 6:05 PM

  • Designjet T2500 "Hardware error in scanner"

    OS: Windows 7, 64 bit.  Novell iPrint Client v05.98.00 Our Designjet T2500 keeps displaying the following message: "Hardware error in scanner. Call Hp Support." with what looks to be an error code, 09.10:10. Once restarted (which takes several minute

  • Where's the fix for CIT200's disconnected message?

    My phone recently started showing the disconnected message. The phone simply isn't connecting to Skype but linksys shows connected in the taskbar (running xp). I've been searching for a solution to this problem in various forums and tried everything