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

Similar Messages

  • 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

  • Programmatically changing the x scale range of xy graph

    Hi,
    from a subvi I need to access the x scale range of an xy-graph on the panel of the main vi. I tried the code shown in the pdf attached to my posting. How can I restrict the general property node for an unspecified control to a more specific property node that offers the property "x scale range"?
    Thanks,
    Peter
    Attachments:
    access_property_node.pdf ‏34 KB

    You can use "To More specific Class" from the application control palette.
    Of course make sure to handle errors gracefully. This is just a draft 
    Message Edited by altenbach on 09-18-2007 09:31 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ToMoreSpecific.png ‏5 KB

  • 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

  • Change "Chart x scale maximum range" in running mode....

    Hi,
    I have a little problem for labview world, i use chart graph and  if user choose 100 meter for x scale range in running mode,  every time user must see last 100 meter on the chart x scale range in running mode. Also if user change x scale range for instance 200 meter in running mode, user can see last 200 meter every time.
    I did little labview .vi for this but my problem is that
    user choose: 100 meter in running mode (0-100 meter) 
    and chart value is 101 for x scale,  x scale is 100-101,100-102,100-103... so on no update other range (100-200) "ı dont do this....
    Thank you every one and i love labview by the way i added example coded for problem (labview 8.0), (block diagram explain problems with label) if u want u can see correct code solution.... 
    Solved!
    Go to Solution.
    Attachments:
    chart x scale max.vi ‏14 KB

    kacco wrote:
    by the way i wanna ask some question about event str. Why am i using time out terminal 50 milisecond? if i connect -1 while loop doesnt work, or if event str time out terminal is empty value, i see same problem(while loop doesnt work, chart is not running)
    but event structure can use empty value for timeout terminal..... this vi  no  What is the meaning of this????
    kudos is coming soon my friend this is good and very useful solution thank u.....
    The timeout terminal lets you perform an action at a prescribed rate.  If I didn't use it, the Event Structure would sit until a Front Panel control is changed; that would keep the Random Number function from adding to the chart.  I wanted a new random number to continually add to the chart so I put it in the Timeout case.  I used 50 ms, instead of your 150, because I wanted it to run faster.  Not wiring something to that terminal results in the default value (-1) being used which makes it never time out, explaining why your VI doesn't work when you tried it.
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • Change tank scale range

    Hi everyone, I have the following question:
    1. Some one konw how change de scale range, for a tank, in run time, ? I think I shold
     create aproperity node but I couldnt found it.

    Hi gamarra,
    right-click the control or it's terminal and select create->property node->Scale->Range->All Elements...
    Message Edited by GerdW on 08-06-2009 11:00 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Why can't i use the old remote control to change slides in the latest version

    why can't i use the old remote control to change slides in the latest version of keynote

    It would help to know what remote control your talking about, there are hundreds out there.

  • Change scale range with property

    hello,
    is it possible to change the scale range of aslider with a properties?
    markus

    Have a look at the attached vi. Is this what you are looking for?
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    range.vi ‏41 KB

  • 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

  • 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

  • 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

  • Front panel slide control

    Is there a way to programmically control the scale of a front panel slide control? Like wiring the "i" and "N" of a For loop to a FP slide control?

    Thank you miguelc for the answer.  Now I can "wire up" to the slider's scale max & min values.  So now they are dynamic and not static constants.  My slide control's scale now can change dynamically as the "N" (total For loop iterations) value changes a couple times throughout run-time (as well as showing the preogress as "i" approaches "N"), and my progress meter changes according to jobs done and to-do as expected. 

  • Slide control autoscale??

    How can I programmatically autoscale a slide control in LabVIEW 6.02 without manually reading out if the max value is smaller than the value to display and set the max value? I have found no property for autoscale or scale fit for slide controls but cannot imagine that such an important function is not included.

    > How can I programmatically autoscale a slide control in LabVIEW 6.02
    > without manually reading out if the max value is smaller than the
    > value to display and set the max value? I have found no property for
    > autoscale or scale fit for slide controls but cannot imagine that such
    > an important function is not included.
    I don't know that I've ever heard this requested before, and after
    thinking about it a bit, the request makes sense, but probably just as a
    momentary action, or only zooming out the scales, but not zooming in.
    Otherwise, the thumb would always be in the same place and the scales
    would just change alot.
    It is not built-in, but a subVI could easily be written to do this
    whenever asked on any slide, given its reference and perhaps a par
    ameter
    to state the style of rescaling.
    Perhaps someone already has a similar VI they would like to put on devzone?
    Greg McKaskle

  • CS4 - In InDesign can I change the Control Panel????

    I have recently upgraded to InDesign CS4 and I'm finding that my Control Panel does not match the one I used in CS3. Is there a way of adding tools to the Control Panel? Or changing the Control Panel?
    For example when I have text selected the Character Formating Controls offer: font, font size, leading, some options like superscript & subscript, alignment, indents, space before & after, drop cap, bullet list & number list. When I switch over to the Paragraph Formating Controls I get the exact same items just in reverse order. How do I add kerning, horizontal scale, the hyphenation box, and more. I'm noticing similar issues when I have an object selected, where is my "fit frame to" options?
    It seems with CS3 I had so much more available, is there any way to get CS4 to be set up in the same way?

    More options appear on the Control panel if you choose the Advanced workspace instead of Essentials. Choose Window > Workspace > Advanced.

  • Unable to change the scoring scale from 1-10 to 1-5

    Hi,
    We are using E-sourcing 5.1
    We didn't see any options to change the scoring scale to 1-5.
    Note:
    For manual score question : system is asking us to score the scale 1-10
    only but would like to have 1-5 instead of scoring scale 1-10.
    Kindly let me know the process step to change the scoring scale
    Thank you,
    Mani

    Mani,
    Unfortunately I do not believe that there is any configuration option to change the scale range from "1-10" to "1-5". That range is fairly embedded within the application and is used by the scoring system to weight the response in determining an overall score.
    -Howie

Maybe you are looking for

  • Is there any automation in Photoshop and how it is named ?

    Does Photoshop support COM automation for example ? Should one buy additional module(s) ? Which ones ? What's available "in box" (i.e. basically) ?

  • Date to number conversion?

    I want to select a number of rows created within last week. To do it I use a select statement with: WHERE sysdate-o.created_on <= days; (days is a number, created_on is a date) Everything works fine, but I get warnings like this one: PLW-07204: conve

  • BlackBerry Storm Not Working Please HELP!

    One day iI was using My BBS like any other day and it turned off unexpectedly. I tryed turning it back on and that did not work. I charged it, that also did not work. Then after that I even bought a Brand New Battery. That also did not work. Then I b

  • Accessory not recognized by phone

    Hi everyone. I recently purchased the Bad Elf external WAAS GPS that is made for the iPhone, and despite it working with 5 other iPhones I've tested it with, it will not work with mine. The iPhone doesn't seem to recognize it, although I can use a pr

  • Osx 10.5.8 and ios 7

    I have osx 10.5.8 which does not support itunes 11.1, which means my ipad and iphone, with the new ios 7, are both incompatible with my macbook! What can I upgrade to? Any help most welcome.