Slider control locks up

Check this out. If you try to add "text labels" to this native horizontal slider control it looks like LabVIEW winds up in an infinite loop (processor usage @99%, no response). I haven't tried other slider variations yet.
My machine: Win2000, LV6.0.2
Attachments:
Date_Slider.ctl ‏8 KB

I too had the same problem. I tried changing the format, removing one of the sliders, changing the fill option, etc. but could not find a way to get the 'Text Labels' option to work.
I contacted NI to let them know about this issue...
Chris_Mitchell
Product Development Engineer
Certified LabVIEW Architect

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

  • 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

  • ===维护成本中心的control标签下的Lock中的项目是做什么的?===

    移动代码561初始化库存的时候出现一个错误
    Cost center S999/1001 blocked against direct postings on 17.09.2009
    Message no. KI260
    Diagnosis
    Cost center 1001, controlling area S999 is locked for primary postings on 17.09.2009. The SAP System automatically determined controlling area S999 from the company code (and business area).
    Procedure
    Remove the lock for primary postings in the cost center master.
    Or, assign the account to another cost center, order, or project.
    结果去维护成本中心中的control,有人说把lock全部项目的勾都取消就好了,有人说勾选某个项目就过了,没人讲为什么。。。
    想知道我上面的问题u201C背后、实际u201D是怎么回事,能不能尽量给说说-->
    这个问题是自动过账?会计科目?成本中心?还是他们之间什么引起的?
    或者lock里面的这些勾选项起到一个什么作用?为什么不让直接/自动过账(我也不知道这里561算是什么过账,自动?手动?u201Cdirect postings u201D是?)?
    谢谢。
    Edited by: OGALAXY on Sep 17, 2009 9:38 AM
    ps:我为了初始化库存自动过账,为GBB临时建了一个科目,也没有给它建初级成本要素更没和成本中心关联起来,应该和它没关系吧。
    Edited by: OGALAXY on Sep 17, 2009 9:40 AM
    经常来SAP论坛,给点是一定的(反正是借花献佛0,大家明年体恤衫不愁了),还请各位大侠多多帮忙。
    Edited by: OGALAXY on Sep 17, 2009 9:42 AM
    Edited by: OGALAXY on Sep 17, 2009 11:09 AM
    Edited by: OGALAXY on Sep 17, 2009 11:11 AM
    Edited by: OGALAXY on Sep 17, 2009 11:12 AM
    Edited by: OGALAXY on Sep 17, 2009 11:18 AM

    按照message英文解释的意思就是说把primary costs的lock的钩去了就行了吧。
    Lock Indicator for Actual Primary Postings 的解释是是否可以向成本中心进行直接费用的记账吧。
    我猜也许是因为成本中心可以分级,一部分成本中心只能用来记直接费用的,所以不允许从接受成本中心转移过来的费用。而另外还有一部分可能不能直接接受直接的记账,只能接受其他成本中心转移过来的费用吧。所以第二类的成本中心就把 Actual Primary Postings打上钩了吧。
    所以我觉得应该是成本中心的问题。
    〉ps:我为了初始化库存自动过账,为GBB临时建了一个科目,也没有给它建初级成本要素更没和成本中心关联起来,应该
    〉和它没关系吧。
    -〉这个我觉得这个科目和成本中心也没有关系。但是库存移动的时候可能会在别的地方有设定成本中心的地方。
    我对CO不是很熟了,呵呵。
    希望对你有点帮助,不过感觉我说的你都会。。。。

  • 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

  • Slider is locked and cannot change dock size

    The slider is locked and I cannot increase the size of the icons on the dock. Please help.

    Have you restarted the iMac, if so and that did not fix the problem reset the SMC and PRAM. Instructions are in iMac SMC and PRAM reset

  • 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

  • How to enable Change control locking in an environment?

    Hi all,
    Can anybody tell me how to enable change control locking_ in an environemnt? Any documentation regarding the same will also be very helpfull.
    Thanks,
    Anoop
    Edited by: The Student on May 13, 2009 10:04 PM

    Hi:
    Change control locking can be enabled through application designer. Go to Tools > Change Control > Administrator and select the options as desired. Refer to PeopleSoft Application Designer peoplebook for a detailed documentation on the same.
    Thanks,
    Sameer.

  • 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