Vertical Scaling of Front Panel Indicators

When I use the Window Size option "scale all objects on front panel as window size changes", some objects scale in x and y and others (my indicators in particular) scale only in x, causing them to look wide but short.

Dear Jeremy,
Thanks for your help and sorry for being slow to get back to you. I have LabView 6.0. The problem does not appear to be caused by rounding. For example, I have a Boolean button which is sized 72x72, and an indicator sized 137x46. My overall window size is 1159x700. When I increase my overall window to 1448x875 (a 25% increase in both directions) and check off "scale all objects...", the button increases to 90x90 as expected but the indicator increases in length only to 171x46. It's height does not change. This is true for all the similar numeric indicators and controls. Perhaps it is the font size that determines their heights.
I will attempt to post the vi. I am new to these discussion forums - it appears I should do this as a file attachme
nt. Hope it works.
Thanks, Peg
Attachments:
KLA_Power_Supply_Remote_2.4.1.vi ‏675 KB

Similar Messages

  • Are there any disadvantages to writing data to front panel indicators when the vi's panel is not shown during execution?

    Hi,
    In the case where a sub vi's panel is not shown during execution, does it matter if I include front panel indicators on the sub vi's panel? (these indicators were there for debugging purposes). Is there any performance penalty for this? Thanks!

    If the frontpanel is not loaded it has no time penalties. But a frontpanel is sometimes loaded because of property nodes!
    greetings from the Netherlands

  • How do I cause a vi to sent the contents of it's Front Panel Indicators out to STD OUT?

    I inherited an intermixed bag of software tools that are called from Command Line Interfaces I would like to add some code that I have written in LabVIEW to this bag. The only problem I have at the moment is getting anything that looks like a standard output argument from LabVIEW.  Is this possible? For example lest say I have a vi that performs a number of tests based on input criteria at the completion of the tests the indicators on the front panel look like oh say,  a Boolean that says Pass, a string that says Unit Name, and an array of strings that holds the names of the tests run, and a numeric that indicates the number of tests performed. How can I pass these values to STD OUT?

    an old thread I know but wanted to share this howto use a LabVIEW executable with SystemExec
    - pass your command line arguments by using the LabVIEW Application Property Node App.Args
    - write to std out using System.Console.WriteLine
    - write to std err using System.Console.OpenStandardError (string2byteArray, see screenshot)
    This solution is pure .net and works for 32 and 64bit systems.

  • Programmtically Scaling the front panel objects depending on the Dispaly card resolution.

    I have programmed my application in dispaly resolution of 1024 by 768. I want to deploy the same code on a machine having a resolution of 800 by 600. how do i scale down my front panel objects to 800 by 600 resolution .
    I want to do it programmatically.
    Suresh Thangappan

    To get best control, you will need to do it programmatically. Using the property nodes, all controls can be moved and resized. Resizing is problematic, however, because there is no single method that works for all controls. The top level Bounds property is read-only. It should be used to make sure whatever you did to change the size resulted in the size you expected. You will need to search the control–specific properties for the one which resizes your control of interest. For example, the Plot Area.Size property changes the size of a Waveform Graph.
    You can link one control to the size of the panel and have it scale automatically. Do this by selecting the object, then selecting Edit>>Scale Object with Panel. I typically use this for the main object on my panel. The rest of the objects are then moved around the rescaled object, but not rescaled. You will have to rescale them yourself, and move them again if you do not like the position. You will probably want/need to change font sizes on numerics.
    What you are trying to do is possible, but it is also tedious. Good luck! Let us know if you still have problems.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Front panel indicators used as controllers and viceversa

    It is possible to use indicators also as controllers?
    I would like to load data from a file and then to be able to edit that data.
    Kind regards

    Hi vick217
    this is the Spanish board. But I think  a "Local Variable" or a Value "Property Node"
    could work for you.
    Regards.

  • Is there a way to use the built-in Datalogging and programmatically log the front panel while the vi is running?

    I would like to use the built-in Data Logging feature. There is the "Log at Completion" option, but is there a way to programmatically make a new log record while running? I looked around in VI server and couldn't find any methods that would do that. Currently, I am grabbing all of the front panel control references using VI Server and if there are any changes, the changed values are written to a log file along with a date/time stamp. I'm mostly dealing with buttons, which simply change from 0 to 1 or 1 to 0, so it's not too hard to visualize what was pressed. It works okay for reconstructing what happened, but it would be much nicer to use the built-in fe
    ature because you can "replay" directly onto the front panel and actually see what the changes were. However, without being able to programmatically make a new log, it won't work for me.

    Jake,
    There are several options here.
    I would suggest using your own code for datalogging. The datalogging you are referring to is primarily for debug, and one shot datalogs of front panel indicators (and controls?), not including graphs, etc.
    If you go to the file functions, you will see a menu for datalogging. These functions will allow you to save your data, as you need it, simply, and in a compact format.
    I recommend opening the datalog file, doing all your file operations, and closing the file before the program is complete. There are several examples of this in the examples database.
    Good luck

  • How to save settings in the front panel to different files and retrieve it later?

    How to save the front-panel controllers' settings to different files and retrieve it later?
    What I've archived is the "Save Settings" function, but when trying to "Reload Settings", I can only retrieve the saved data to front-panel indicators, but not the controllers!
    Can anybody give me some advises?
    Thanks in advanced!
    Charles Lu

    Hi
    Just write the retrieved data to a local variable (but make it writable first) or property node of the controls.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Update a front panel indicator from a loop inside a called vi. Without exiting

    I am looking for the best way to update some indicators from within loop within a called .vi.
    I need to update the front panle without exiting the loop.
    I am able to use functional global vi to update the values of front panel indicators from within my nested loops, but I am looking for the best way that these values can be read to update my indicators.
    Thanks

    Or a cluster of references, that way each reference can be named, and can be different types to match the respective indicator.
    There are also methods where you can just send in a VI reference, and in the subVI traverse all the controls and search for the appropriate references by name.
    Take a look at this long nugget.

  • Why am I unable to select the boolean indicators on my front panel?

    Hello all,
    This has to be an easy one for you guys, but here goes...
    I created a front panel with approximately 20 boolean indicators on it (LEDs). I realized that I only had 10 functional, so I made the others 'greyed out and disabled'. Well, now the ones I disabled are functional again, so I want to enable them. Problem is, when I go to the diagram and select 'show indicator' it is still grayed out. I cannot click on the indicator on the front panel to 'enable' the indicators. I cannot select them at all.
    I've tried creating property nodes and enabling them that way. They are no longer grayed out when I do this, but I still cannot click on them to move them about the front panel.
    All
    I want to do is select them so I can rearrange the way they look on the panel, but I cannot click on them.
    And, yes, I've had my tool palete on both 'Automatic Tool Selection' and 'Position/Size/Select'. It is also interesting that I can select and move the indicators which I never disabled in the first place.
    Any help would be great!
    Thanks in advance,
    Dave Neumann
    [email protected]

    "Neumannium" wrote in message
    news:[email protected]..
    > Paul,
    >
    > Part of the problem is that I cannot click on them at all. If I try
    > to right click, the Controls palette pops up (like it would if there's
    > nothing on the front panel).
    >
    > If I drag a box around them, they are not selected. It's as if they
    > don't exist, but they do! They still function -- I can still run the
    > test and the booleans react as they should, but they are not where I
    > want them to be (the user cannot see them all without scrolling).
    What happens if you go to the diagram and double click on the control? It
    should take you to the front panel and highlight/select the control.

  • How can I make a global change so all controls and indicators labels on the front panel change to another colour?

    How can I make a global change so all controls and indicators labels on the front panel change to another colour?
    I need to change the front panel so that it can be used in a dark environment.

    Hi
    The only way I see, is to use the "Controls[]" property and iterate through all of them. But don't forget about nested elements (i.e. clusters, tab-controls, ...).
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Problem : controls & indicators not updated when programati​cally open Front Panel

    Hi,
    I have a strange problem when I want to progamatically open the front panel of a sub-vi: for some sub-vis the controls and indicatores are correctly updated while for others they are not (ie the controls show outdated values).
    I have created an example here that illustrate this. The 2 sub-vis are *exactly* the same, but only one shows updated controls when I open it (with the sub-vi previously closed of course).
    How is that possible?
    What do I have to do to have the controls updated to the last value of the *last call* when I open the sub-vi?
    Solved!
    Go to Solution.
    Attachments:
    Front panel problem.zip ‏35 KB

    titi_nicolas wrote:
    mhmmm,....no that is NOT the reason... Have you tried the VI???
    Honnestly, I would not bother people on this forum for such a stupid mistake.
    And I also expect people to know how to run a VI....
    And to play in your game, you forgot -3) Turn on the PC, -2) log in windows, -1) open labview...
    Well, I DID run your VI and everything worked just fine, however I no longer have LabVIEW 7.1 so maybe your observation no longer applies to newer versions. It could also be because they were just upgraded as Ben noted. I did not study it in detail.
    And Yes, as Ben noted, invisible VIs don't get updated for performance reasons (and not to waste extra data copies for the controls and indicators). LabVIEW is typically smart enought to update when needed, e.g. if the subVI tries to print its panel, etc.
    I guess you haven't been in this forum for too long, but since controls can easily be operated in edit mode is is absolutely important to mention at which step you run the VI. (try to operate your controls with the computer turned off and you will see that it is not that easy ). Also if you have been programming for any length of time, you should know that stupid mistakes happen all the time (at least to me and Ben ). It is much easier to weed out the stupid mistakes with a quick question&answer than to spend hours searching for a deep and complex solution.
    LabVIEW Champion . Do more with less code and in less time .

  • Waveform graph displayed vertically on front panel

    Hello everybody
    I would like to know if it is possible to display waveform graphs vertically on front panel and if enventually could someone tell me how to do it.
    Thanks vey much for help.

    You'll have to use an XY graph, and do some programming. You could use the attached vi that simulates a vertical chart as source of inspiration.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    YChart.vi ‏34 KB

  • VI Method "Front Panel:Get Image Scaled" Memory Error 17

    Hi all, I've got two almost identical sub vi front panels that I'm dumping to a jpg image for reporting purposes.  One was copied and slightly modified from the other to show a different data set and plot.  The original works just fine, but the second sub vi, when using the "Front Panel:Get Image Scaled" method to pass the image to write the jpg, always returns the following error:
    "Error 17 occurred at Invoke Node in Myprogram
    Possible reason(s):
    LabVIEW:  Not enough memory to manipulate image.
    =============================
    NI-488:  Unrecognized command.
    Method Name: Front Panel:Get Image Scaled
    [Continue] [Stop]  "
    I've stripped the problem section into a simple tiny new that only opens the report and tries to get the image with the same working/non-working result above.  Using the Execution Trace Highlighter, it error is definitely occuring when the Method executes.
    Any ideas?  Thanks.

    Hey cjgpr,
        I haven't been able to dig up much info on this error message.  There's one other discussion forum post that talked about it some, and a KnowledgeBase article on it.  It seems that whatever changes you made to the front panel have caused it to exceed your computer's memory when creating an image.  Try removing items until it works, then see what actually breaks the functionality.
    Brian B
    Field Sales Engineer
    Tennessee/Southern Kentucky
    National Instruments

  • Auto save and auto recover of front panel controls/indicators values

    i just want that when i exit from the VI's front panel all controls and indicators current values get saved automatically and when i get back into this vi,those values get recovered automatically.
    Like if i incremented numeric control value from 1 to 5 , when i exit from the vi the value 5 get saved automatically and when i get back into the vi ,it shows the recovered value 5 to me automatically.
    best regards

    I'm Back
    I was mistaken when I said the you could select to save either the controls or indicators or both in the Open G Vi's, They are hard wired for both. I made minor changes to these VI's for my app.,  because I only needed the controls to be saved. The example I am providing uses the Modified VI's, but I've also included the originals.
    Modified
    Read Panel from INI.vi
    Write Panel to INI.vi
    Originals
    Read Panel from INI.vi
    Read Panel from INI__ogtk.vi
    The ability to select either or both could easily be implimented into these Vi's using a case selector and an enum wired as an input
    Controls only
    Indicators Only
    Both
    Incase you don't have the OpenG toolkit I've provided the necessary files for this example to function
    Extract the zip file to your User.lib directory then open Usage.vi
    Hope this helps you
    Georges Janveau
    Attachments:
    Config File Usage.zip ‏861 KB

  • Front Panel Bank of Switches and related indicators

    I am designing a test system.  I would like a bank of switches on the from panel to turn individual test cases on/off.  I've figured out how to do that.  And I can do individual banks for the indicator (pass/fail) LEDs and the numeric test result field.  But, I'd like to tie them all together.  I'm  guessing I should start by using a cluster rather than an array.  But how to I get the various banks to act as a single group?
    As I have it so far, I have a back of switches and a bank of indicators (of switch status) for just playing around.  The indicators do not line up with the switches. I'd like a 1-to-1 correspondence for the operator's ease of use.  When I use "properties" to expand the indicator bank, it won't take the number.  It is internally limited somehow.
    DH
    Solved!
    Go to Solution.

    I've got an array of clusters now.  Much better, but not there yet.
    In the example provided, all of the indicators are labeled "T1".  I have the same issue with my implementation.  Change one label and it changes them all.  I would like to see "T1, T2, T3, ..." but cannot find a way to do that.  Also, I'd like each type in the cluster to be labeled at the head of the row or column on the front panel.  I can do this by brute force (just create a text field and plop it next to the array.  But I figure there has to be a more elegant solution.  One that ties the pieces together.
    Any thoughts?
    DH

Maybe you are looking for

  • Trying to position a form in the header using CSS - not working right in IE

    I am making my first foray into CSS-only design (no tables), and it's going pretty well – except for one thing (so far). If you look at this link in Firefox http://www.daveblaker.com/clients/jenslist/indexTEMP.htm the "Search Archives" field appears

  • File-RFC Syncronous interface with out BPM

    Hi experts, i have a scenario syncrhonous: file to rfc and get back response rfc to other file. I have 3 communication channel: 1 sender file, 1 receiver file, 1 receiver RFC, sender aggrement, receiver aggrement, interface determination and receiver

  • Different Company Code with same fiscal year variant and controlling area

    Hi I have three company codes in three three different countries: 1000 (ABC India), 2000 (ABC Inc, US), 3000 (ABC Dubai) But our consultants have assigned only one fiscal year variant V3 and one controlling area 1000 (with fiscal year variant v3) So

  • LSMW for Inspection Plan

    Hi Sapiens, I am a requirement to upload the Quality Management data through LSMW. 1) Quality Info Recrod 2) Inspection Plan For the first one, I could able to create Project in LSMW and successfully do for over 200 customers. I am saying problem in

  • Satellite X200 - HD-DVD playback problems

    Hi, I've recently acquired an Satellite X200. I decided to upgrade to the latest drivers and applications found on the Dutch support site. Since I now have my first HD-DVD player, I also bought the latest Harry Potter on HD-DVD. Playback with no upgr