Uncontrolled expansion of a system slide control

I have two system slide controls (part of a larger cluster) that are getting longer by a few pixels every so often without me touching them on the front panel.  I don't know what this is correlated to (i.e. opening the .vi, running the .vi, etc.) but these slides are now running into the space for other controls and even their own digital displays.  My program does not change the position or sizing of these controls, however I do occasionally write to them through local variables and value references.
After noticing this issue, I tried programmatically keeping them down to size however there is an issue with this.  When the slide controls start to grow, their scales remain in place so there is a bit of a mismatch between the position on the scale and the corresponding label.  When I reduce the size by hand, or in the program, the scale similarly moves thus preserving this mismatch between the slide position and the label position.
The only fix I have found deleting the control and putting in a brand new one.  This is obviously not a tenable solution.  Does anyone have any ideas?  For reference, I'm using LabView 8.5 on the Mac but I had this problem with version 8.2 as well.
Thanks! 

johnsold / Lynn
The slider control is within a cluster that is indeed a typedef from a custom control, yes.  However, I noticed this behavior in slider controls belonging to clusters that are not deposited from a custom control.  I have never found this expansion to occur in slide controls that were standalone variables.
I have included a .vi. that has the cluster of interest -- it would be difficult to include the cluster as part of the offending program.  I should mention that this slide expansion does not occur when the program is running, or even when the .vi is in memory.  I only notice this when LabView boots up and the .vi is first loaded.  In looking at this cluster now, the slide controls have expanded more than 10px on both ends.  Interestingly, i just noticed that they are getting taller too.  The scale on the bottom cluster is now starting to be clipped by the boundary of the cluster itself.
Any insight would be a great help. 
Attachments:
VI Cluster with Slider.vi ‏13 KB

Similar Messages

  • Intensive slider control use may lead to LabVIEW hang and system instability when coupled to event loop "Value Change"

     Occasionally, over the past year or two, I have noticed on different machines and versions of LabVIEW (8.0 and 8.5) that intensive operation of the LabVIEW slider control (holding down the left mouse button and shaking the mouse quickly back and forth to move the slider for several seconds) may cause LabVIEW to hang with high CPU usage (50% on my current test machine, which has a Pentium IV "hyperthreaded" processor, so 50% is the max that a single thread can take up). In some instances, after the LabVIEW process is forced to quit, the system itself becomes unstable (more high CPU usage) or hangs, up to and including the need for a hard restart. I have seen this behavior both when handling slider change events the "old fashioned" way with a while loop and a case structure; and also when using a while loop with an event structure handling the "Value Change" event for the slider. 
    Attached is an .rtf file dump of the front panel and block diagram of a simple test VI that replicates this problem in my hands (using an event structure). The loop count runs to at least several hundred iterations before the crash occurs.
    At least for the "old fashioned" loop handling method, adding a forced wait of a few dozen msec per loop didn't seem to be a workaround. I haven't tried this idea with the event structure, but don't expect joy to follow. The possibility of a system hang discourages aggressive experimentation. 
    Is this a known issue? Can anyone else replicate it (carefully)? In any case, I'd welcome other suggestions for workarounds.
    Thanks,
    Darin Nelson
    Attachments:
    Hang Slider.rtf ‏683 KB

    Thanks for all your responses, and especially to those who are waggling their mice around trying to reproduce this. I'll respond to (most aspects of) the last several posts in one message.
    LabViewGuruWannabe:
      I'll see if I can get the original code to post in a separate message, I posted the .rtf originally because I thought there might be filtering on forum posts (I'm sort of new here). But I doubt you re-created it wrong.
      The "more modern" test hardware was an Intel Core2 , 2.4 GHz, 2Gb RAM, on an Intel 965 family motherboard. As I said, it took me two tries to trigger the error on this hardware; in the case where it triggered, I was at almost 12000 iterations before things went south. 10000 iterations, therefore, might not be enough--or you might never get it, for all I know. My Pentium 4 Hyperthreaded machine (3.2 GHz, 2 Gb RAM) triggers the hang much more easily (always within 2500 iterations, usually within 1000), so there seems to be some hardware dependence here. Maybe the workaround is just to use hardware recent enough that no one not under the influence of strange compulsions will accidentally trigger the hang.
    TonP:
      After reading your suggestion, I tried something even more radical  -- getting rid of the handling code altogether. I took the slider node out of the while loop, and removed all code inside the "Slide" case of the event structure.
     On my Pentium 4 machine, the hang triggered after 677 iterations.
    Brian Beal:
    <!--
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
    {mso-style-parent:"";
    margin:0in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:12.0pt;
    font-family:"Times New Roman";
    mso-fareast-font-family:"Times New Roman";}
    span.EmailStyle15
    {mso-style-typeersonal;
    mso-style-noshow:yes;
    mso-ansi-font-size:10.0pt;
    mso-bidi-font-size:10.0pt;
    font-family:"Courier New";
    mso-ascii-font-family:"Courier New";
    mso-hansi-font-family:"Courier New";
    mso-bidi-font-family:"Courier New";
    color:windowtext;
    mso-text-animation:none;
    font-weight:normal;
    font-style:normal;
    text-decoration:none;
    text-underline:none;
    text-decoration:none;
    text-line-through:none;}
    @page Section1
    {size:8.5in 11.0in;
    margin:1.0in 1.25in 1.0in 1.25in;
    mso-header-margin:.5in;
    mso-footer-margin:.5in;
    mso-paper-source:0;}
    div.Section1
    {pageection1;}
    -->
     Huh, I never even noticed that checkbox existed. Anyway, yes, I
    kept the default to lock out the front panel while the event process. If I
    disable it… I still get the hang.
    Message Edited by dman on 02-04-2008 06:36 AM

  • FW8 Slider controls missing on properties box

    The slide controls in the properties panel for such things as
    text size, transparency, grain, edge size etc. are suddenly
    missing. When I click where they should be, the screen goes blank
    and I have to press the escape key to return to fireworks.
    Does anyone know why this might be happening? I uninstalled
    FW8 and re-installed it. I restarted the computer completely, tried
    turning off all other running programs, reducing the color set to
    16 bit.... Nada.
    I DID recently change from a CRT to an LCD display
    (widescreen) but do not know if the missing elements happened at
    that point or not.
    Any suggestions would be greatly appreciated. I can make
    changes to the values by typing them in, but it is pretty tedious.

    I notice that the javascript files got uploaded by NetFinder as binary files and got the ".bin" suffix appended to them. I bet that's the problem...they should have been uploaded as text files.
    NetFinder says it uses the file mappings in "Internet Config" to determine how a file gets uploaded. Do you know where those mappings are in OSX (I don't see a system preference called "Internet Config" anymore).
    Mike

  • This is not the logical system of controlling area 2000

    Hi,
      While creating Activity type / price planning in kp26....i am getting the the information like...
    "This is not the logical system of controlling area 2000"..
      but i am using the company code 3000 which is assigned to the controlling area 2000....
    so...kindly tell me how to come out of this....
    Thanks in advance..

    Hi,
    I assume the error is either KC028 or  COCORE081. In any case: please check if you have activated an ALE scenario for the relevant controlling area in TA OKKP1. Then check if the logical system differs from the system defined for you client in TA SCC4. If this is the case, then that is the reason for the error.
    Regards
    Karl

  • HOW DO I CREATE A SYSTEM TO CONTROL BOOKINGS

    Hi there,
        I've designed a hotel's website and now I wanted to design a system to control bookings in that, on the bookings page there would be a chart showing the varieties of rooms available and also the chart must also indicate the rooms already booked once the user books for one.(the indicator can be in form of a color, to differentiate the ones booked from the ones not booked). But now the main problem is that I'm new to Dreamweaver application development and I don't know where to start from, I'm stuck and I don't know which tools to apply. Plz somebody help

    But now the main problem is that I'm new to Dreamweaver application development
    Such applications are by nature pretty complex and complicated to develop, so if I were you, I´d rather integrate existing room booking applications such as MRBS

  • How to change slider control digital display precision from program

    I want to change slider control digital display precision from my Labview 2013 program. I can not find property that changes slider digital display format. 
    Solved!
    Go to Solution.

    rt clk the digital display>create>property node>format string
    you could also do the slide scale, if needed...
    from the front panel:rt clk properties>goto display format tab>goto drop down list and pick "digital display 0" and format

  • The volume slide control on my 4s has disappeared when I watch videos and listen to music. Any suggestion on how to get it back? I've tried the recommendations in the manual

    The volume slide control on my iPhone 4S has disappeared when I play videos, music and YouTube. I've tried the recommendations in manual, to no avail. Any suggestions?

    Your phone still thinks it is plugged into the stereo. I don't remember how to solve this but perhaps you can search through the forum or maybe one of the members here will jump in on how to switch the playback to speakers.

  • Can a slide control have a range of 180 to 0 to 180?

    I've got a slide control and I want its range to be 180 to 0 to 180.  No negative numbers are displayed or shown in the data.  This is how a aircraft cockpit roll indicator is marked as well as some other gages.  Electricaly the indicator is like this:
    0 volts equals 180 degrees roll to the left,
    5 volts is 0 degrees,
    and 10 volts equals 180 degrees roll to the right.
    Can slide controls work this way?  I would of thought there would be some sample code or something for aircraft cockpit gages but my searchs have been nill.  Thanks for any help.

    You should be able to modify the control slider to do that.  The value would output 0 to 10 as you indicte for voltage but change the slider control to not display the numeric values with the ticks.  The use free text to lable the tick marks.  I don't know if you can actualy have the control equal to the same value in two different slider postions, but if you need to have 180 to 0 to 180, make the range have negative values and convert them to positive values in code.  You will still have to not show the slider values and use free text. 
    Message Edited by paulmw on 11-14-2006 11:25 AM
    Attachments:
    slider.JPG ‏7 KB

  • Dynamic Update in real time with slider control

    We have requirements to display complex data in a graphical format. So far this has gone well by leveraging ADF and DVT components (dvt:Map, dvt:gauge, dvt:bargraph, af:tables, af:inputNumberSlider, etc.); however, we recently have been asked to add real-time animation of these controls over time. In brief, the user requires the ability to control the on-screen visualization of data by sliding the control on an af:inputNumberSlider (or equivalent) that represents a multi-month time scale. While sliding this control, the user expects to see the data visualization controls dynamically update in real time, keeping up with the rate at which the user moves the slider control. Think of this like a flip book animation where the slider controls the page the user is looking at and they can flip through the pages forwards or backwards at any desired speed. The time slider increments are one hour.
    Our current application architecture:
    Oracle ADF Fusion Web Application (v 11.1.1.5)
    EJB 3.0
    Eclipselink
    Oracle 11g
    Any kind of help is highly appreciated.
    Thanks,
    Mehabub

    Hi,
    the af:inputNumberSlider does not provide this functionality. Your alternative is a custom component (or any component that raises a client JS event) and call an af:serverListener in a custom event to send the notification to the server.
    Frank

  • Pie chart in combintion with a Slider control in Dashboards 4.0

    Hi,
    Following the my requirement for creating a dashboard.
    1) i have to display employee count for different regions in a pie char for a particular month.
    2) This month needs to be selected from a slider control(Horizontal).
    3) The slider control needs to show Month and year (MON-YYYY format) for the last 13 months.6 months above the slider and 7 months below the slider.
    4) So when a user selects a particular month by dragging to the particular month in slider, then the pie chart should display employee count for the selected month.
    5) And Also the slider control by default should show last month employee count in pie chart when the dashboard is opened every time.
    So Any body knows how to implement this requirement please send me the solution in a step by step approch.
    Thanks in Advance,
    Regards,
    Nanda Kishore.

    Hi,
    Set up your data like this
    For the months we just use 0 for the selected month and we mark our min & max.
    (I just took a few months, just as test, in real, you have to have all your months, off course)
    Link the slider component, data to B2, min to B3 and max to B7
    Create combobox, link labels to cell B3:B7
    setup of data insertion, see screenshot below. (destination: j4:J7)
    for behaviour column do as follows...
    Your pie chart component
    results in
    now you have to put some makup on your dashboard, (hide the combobox - hide the values -6,0and 7), create some textcomponents to show the correct months (create a key row (-6 >0>7) and a month-text row), you can use vlookup or via a combobox to fetch the correct month-text
    Have fun with it

  • Programatically Accessing the Increment & Decrement of a Slide Control.

    Does anyone know if its possible to change the Increment and/or Decrement buttons in a Slide control? I know I can do this through the property pages but I can't find a method or property in the CNiImage class to gain access to these "buttons".
    Basically I have a 3D Horizontal Fill Slide and want to make the rounded ends flash when the value is under or over range and I can't find a way of doing it.

    Take a look at the CNiSlide::Images method. The documentation describes how you can access a CNiImage that corresponds to parts of the slide, including the increment and decrement buttons. Once you have the CNiImage for the buttons, you can configure the animation, blinking, etc. For example:
    CNiImage image = m_slide.Images(_T("Increment Button"));
    image.BlinkInterval = CNiImage::SpeedVeryFast;
    - Elton

  • Tiled vi pane background​s can cause slow slider control updating

    In diagnosing a slow responding slider control I found that the problem was having selected a Pane background image that was set to Brushed Metal and Tiled.
    It turns out that it was the tiled setting that caused the slowdown (which was very pronounced).  It may not be commonly known, but if you right click on a vi pane scroll bar you
    have a right click menu that has the option of setting the background image jpg.

    Hmm, yes, it's actually pretty noticeable even all you have on the front panel is a slide control (you can see the slider trailing the mouse pointer when you move it up and down). It also seems to be specific to the metal brushed theme and doesn't happen when other backgrounds are tiled...
    Let me do some more testing here...
    Misha

  • I would like to create a pop-up window appear from Labview Interface. In this window, I will have a slide control and an image taken from a camera. The main VI have to run while pop-up window is open. How can I do ?

    When I pushed a button, this pop-up window has to appear. There will be a slide control and a picture from a camera in this window. Is it possible to make appear this windows while main VI Interface continue to run ? How can I do this ? Thank you for your answers.
    Cyril.

    Here you go. This is simple example. Maybe not the best way, I am just
    beginner in LV and still not comfortable with data flow that much. I prefer
    events, so I would change this to use Event Structures.
    When you click on OK button on SliderMain, it opens Slider.vi. Now both
    windows are open and you can interact with both. Now if you click on OK
    again with Slider.vi open, you run into problems. Only thing I did was
    change VI properties of slider.vi, mainly window appearance.
    vishi
    "Cy" wrote in message
    news:[email protected]..
    > I would like to create a pop-up window appear from Labview Interface.
    > In this window, I will have a slide control and an image taken from a
    > camera. The main VI hav
    e to run while pop-up window is open. How can I
    > do ?
    >
    > When I pushed a button, this pop-up window has to appear. There will
    > be a slide control and a picture from a camera in this window. Is it
    > possible to make appear this windows while main VI Interface continue
    > to run ? How can I do this ? Thank you for your answers.
    > Cyril.
    [Attachment SliderMain.vi, see below]
    [Attachment Slider.vi, see below]
    Attachments:
    SliderMain.vi ‏16 KB
    Slider.vi ‏11 KB

  • Changing Slide Control Scale Range

    I am creating a program that will allow the user to select a range of time over which data will be analyzed.  Is there a way to set the slide control range to start at the beginning of the data set (t0) and go to the time at the end (tf)?  I can change the values using a property node, but the values are for the start and stop and increments are doubles.
    Thanks.
    --Robert

    Change the format for the digital display. The tip strip will be formatted the same as the digital display.
    So far, you have only changed the scale format.
    Message Edited by altenbach on 06-19-2008 06:21 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    TipFormat.png ‏46 KB

  • Slider control

    Hello again, i am experimenting with the 'slide control'. In the example I’m looking at there is a slider control which updates a numerical label immediately to the left of the slider on the main view (I’m sure you've all seen this before). It’s part of another newbie iphone program taken from another book, and one particular line of code is confusing me. It's within the slider action method, and within this list of commands is some kind of cast command? I understand how casting works with commands like
    int t= (int) floatValue/7; // sort of thing...
    but how does the command (in bold) work?
    -(IBAction) sliderChanged:(id)sender {
    *UISlider *slider =(UISlider )sender;
    int progressAsInt =(int)(slider.value+0.5f);
    NSString *newText = [[NSString alloc] initWithFormat:@"%d",progressAsInt];
    sliderLabel.text =newText;
    [newText release];
    }

    Mike200 wrote:
    Hello again, i am experimenting with the 'slide control'. In the example I’m looking at there is a slider control which updates a numerical label immediately to the left of the slider on the main view (I’m sure you've all seen this before). It’s part of another newbie iphone program taken from another book, and one particular line of code is confusing me. It's within the slider action method, and within this list of commands is some kind of cast command? I understand how casting works with commands like
    int t= (int) floatValue/7; // sort of thing...
    but how does the command (in bold) work?
    First of all, always wrap source code in two lines of:
    like so:
    -(IBAction) sliderChanged:(id)sender {
    UISlider *slider =(UISlider *)sender;
    int progressAsInt =(int)(slider.value+0.5f);
    NSString *newText = [[NSString alloc] initWithFormat:@"%d",progressAsInt];
    sliderLabel.text =newText;
    [newText release];
    Since id is the base class of all Objective-C objects, and since you know that any slider action is going to be passed the slider itself as the sender, you can just cast the id into a UISilder. There is actually less going on here than in your first cast example. When you cast from a float to a int, you actually change the value. When you cast from one pointer type to another, no code change takes place - it is all in the compiler.

Maybe you are looking for

  • How can I get my app store to open to shop for games ?

    I did buy some games from app store,suddenly I am having problems opening app store, it tells me sorry you cannot get iTunes. Hmmmm."...

  • 24" iMac allows login but does not startup

    My login screen comes up and I log in with my username and password, the login dialog goes away but it does not continue to start up. It remains with the "starfield" background on the screen. I've also tried logging in with an admin account, but got

  • Uploading file: Browse System Folders?

    Hi there. When uploading a file, is it possible to browse the system folders such as tmp, etc, and bin? And with saving things with TextEdit, why can I not browse, and only save in preset folders? Thanks, Troy

  • Need BR*Tools Studio assistance

    Hi, I have installed BR*Tools Studio for playing in "Multi-Instance Server Mode" on my Windows XP PC. I have installed the software under the path "C:\Programme\SAP BRTools Studio 7-10". The JDK is 1_4_2_18 and the Oracle Containers for J2EE is versi

  • Export to powerpoint not working for certain views

    Hi All, I am in the process of implementation of STVN 2.1 Pre EHP3 version of Nakisa OrgChart for one of my clients. During testing, it is observed that export to powerpoint object is not working for the following views. 1. Condensed Org. Chart 2. Co