Autoscale only upper bound

Is there a way to autoscale only the upper bound of the Y axis on the XY graph.  I would like the lower bound to be fixed at zero.  I'm using LabView 9.0
      Thanks, Vitaliy
Solved!
Go to Solution.

I don't think you can do auto-scale this way, but you can change the axis setting though a vi.  You can change your y axis max to the max of your y values + an offset.
Yik
Kudos and Accepted as Solution are welcome!

Similar Messages

  • Why can't I select an object from its center?  Direct selecttool will only select bounding box.

    Why can't I select an object from its center?  Direct selecttool will only select bounding box.

    You may have turned on "Object selection by path only" in the "Selection Options".

  • Save only the bounding box region of image as png?

    Hi,
    I'd like to save each layer's item as png.
    If possible, i'd like save only the bounding box of image(of an item), and the corresponding bounding box's origin/size info(relative to artboard's origin) somewhere as text file.
    To do this,
    I need to be able to get a bounding box of an item.
    and possibly artboard's origin. (because I'm not sure where a bounding box's coordinate's origin is).
    Thank you in advance

    If I understand you correctly you have one table with a bunch of yes/no values (SA, SC, SS, etc.).  Then for each record in that table you want to output a string listing all the fields from the first table which = yes (i.e are checked).  Perhaps
    the following code would get you started:
    Sub JimNeal()
        Dim strProcedure_Value As String
        Dim rst As DAO.Recordset
        Dim rstOut As DAO.Recordset
        Set rst = DBEngine(0)(0).OpenRecordset("TableWithCheckboxes")
        Set rstOut = DBEngine(0)(0).OpenRecordset("OutputTable")
        Do Until rst.EOF
            strProcedure_Value = ""
            If rst!SA Then strProcedure_Value = strProcedure_Value & "Surface Area,"
            If rst!SC Then strProcedure_Value = strProcedure_Value & "Surface Contour,"
            '... etc
            If rst!SS Then strProcedure_Value = strProcedure_Value & "Steep Slope,"
            rst.MoveNext
            ' Strip off final comma
            If Len(strProcedure_Value) > 0 Then strProcedure_Value = Left(strProcedure_Value, Len(strProcedure_Value) - 1)
            ' Output the string to your output table
            rstOut.AddNew
            rstOut!Procedure_Value = strProcedure_Value
            rstOut.Update
        Loop
        rst.Close
        rstOut.Close
        Set rst = Nothing
        Set rstOut = Nothing
    End Sub
    -Bruce

  • RFC function callls a SAP Business Connector Flow - only upper case

    Hi everybody,
    I wrote a function in SE37 which is calling a Flow in SAP Business Connector.
    R/3 and SAP BC, both are Non Unicode systems.
    The export parameter is TYPE makt-maktx.
    The call to SAP BC works fine. Only all the text I can see in the pipeline of SAP BC is upper case.
    I checked wether the domain of the makt-maktx allows case sensitive texts.
    This is OK.
    I have no idea how I can tell SAP BC to receive case sensitive texts.
    I checked the forums. Seems nobody had such a problem.
    Can somebyody help?
    Best regards
    Jochen
    Hi to all,
    it was not the JAVA Version, or a bug or whatelse.
    I just ingnored while testing in SE37 that there is
    a Flag [X] case sensitive - That's all!
    Shame on me!
    Greetings Joe
    Message was edited by:
            Jochen Seeliger

    Hi Priya
    Seeing the messages, it appears that server is down.
    "java.net.ConnectException" occurs whenever you try to connect to a system which is not up and running.
    cheers
    Sameer
    PS: Please award points if you find the answer useful

  • How do I male keywords (only) upper case in a JTextPane

    I'm using a DefaultStyledDocument subclass to handle SQL syntax highlighting but what I want to do is ensure that keywords are converted to upper case so as to maintain a "good" style without the hassle of shift or caps lock.
    Now, the StyledDocument seems the wrong place to implement this functionality as it should be just for display purposes while changing text to upper case is an actual change to the character values selected by the user.
    The JTextPane class itself has a replaceSelection(String content) method but this relies on the text being selected.
    I guess I could do this if I had a hook back to the JTextPane from my StyledDocument. When I find a keyword, select the text and replaceSelection.
    Is there a cleaner way to do this?

    Okay, top tip.
    I added the document listener which processed the text on each insert.
    At this stage, I've only implemented keyword checking on single character inserts (to capture changes as they are typed) - multi character inserts need to be handled differently.
    If I have a character I know can signal the end of a SQL keyword (space, carriage return, brace, parenthesis, comment etc) then I jump back to the last space in the document. This gives me the last "word" in the document.
    Remove the last character (as this is the character that has triggered the event) and then see whether it is upper case or not? If not, should it be (is it a keyword)? If so, insert the upper case String in its place.
    It was a bit fiddly to put the pieces together (a document listener which then has to use SwingUtilities to make the change using a third Runnable class) but it does exactly what I ask of it.
    I have to implement a similar algorithm now to cope with deletions (what if a delete the "a" at the end of "selecta") and multi-character inserts.
    Thanks for the advice. I've not used DocumentListeners before so this was doubly helpful.

  • 2008 R2 SP1 failover cluster, after connect to VM from failover cluster manager console I've get only upper quourter of screen console

    Hello :)
    I have to ask because this issue is boring me a long time ago :(
    From time to time when I connect to virtual machine from failover cluster manager console I've get virtual machine connection screen (console) which is reduced only to upper left quorter of full screen. There is no scroll bar ... If I live migrate
    VM to another node (or restart VM on same node) and reconnect, console screen is displayed ok (ie all console screen is visible).
    It is happening regardless of OS version installed into guest VM: 2003 R2, 2008 R2, 2012, 2012 R2).
    I've check inside VM ( I can see that integration services are installed and running but when I click onto console window with mouse I've get message:
    "Virtual Machine Connection
    Mouse not captured in Remote Desktop session
    The mouse is available in a Remote Desktop session when
    integration services are installed in the guest operating
    system...."
    From SCVMM console I can see that IC version on guest VM is: 6.1.7601.17514
    I would like to know what is going on and is there any way how can I detect those situation or even better how to prevent it ?
    Thank you for any idea.
    Best regards
    Nenad

    Hi Nenad,
    As you mentioned you have tried 2003 R2, 2008 R2, 2012, 2012 R2 guest vm, but all this do not work properly, With Server 2003 platform the 2008r2 Hyper-V the 2003R2 are not
    supported, in your case you must update to Windows Server 2003 R2 with Service Pack 2.
    Server 2012 as guest vm on 2008r2 you must install the following hot fix:
    You cannot run a Windows 8-based or Windows Server 2012-based virtual machine in Windows Server 2008 R2
    https://support2.microsoft.com/kb/2744129?wa=wsignin1.0
    Server 2012 is the last version of Windows that will be supported as a guest operating system on 2008r2 Hyper-V therefore the 2012r2 guest vm is not supported.
    Please use the following command can query all guest vm’s IC version, please compare this problematic vms IC version with functioning vms.
    The following powershell command can be used to display the version of integration services installed on all VMs on the Hyper-V host:
    PS C:\Users\administrator> get-vm | ft name, IntegrationServicesVersion
    Name                                                       
    IntegrationServicesVersion
    TestVM2012                                           
    6.2.9200.16433
    SQL01                                                    
    6.2.9200.16433
    SQL02                  
                                      6.2.9200.16433
    SCVMM01                                               
    6.2.9200.16384
    SCVMM02                                               
    6.2.9200.16384
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Making a field read only (and bound) or editable depending on some criteria

    Hi,
    I am using Netweaver 2004s SP15 and Adobe Lifecycle Designer 7.1 with Web Dynpro for Java.
    I am generating a PDF that contains a number of fields that are bound context values attribues.
    Now I know according to certain criteria if any given field will have a value....
    Now if such a given field has a value then it must populate the Adobe form and make that field read-only - so it can not be changed.
    However, if that field has no value.. instead I need to make it editable.
    I am re-implementing the application this will be used within; and the previous version had 8 different interactive forms to cater for the 8 different possible combinations of fields that would not have values.
    I would really really prefer to have one interactive form to maintain with logic in it that determines dynamically if a field should be read-only or editable. (For example I could have a boolean context node that could be used)
    Am I doomed to have to create 8 different forms? Or is there a way of doing this smarter?
    Thanks to anyone who can point me to the light,
    Ilan

    hmmm....
    I did a search through the forum using the phrase "javascript" and it turned out a lot posts that indicate that this should indeed be possible.
    I am boggled, the original application was developed by an Indian outsourcing company that is well respected. The developer who took over maintenance of it told me that it was impossible to change the read only nature of the fields once set at design-time.
    My search through the forum has turned up much to indicate that this design was idiotic and the "facts" I was given completely wrong.
    grrrrrrrrrrrrrrrrr... I am marking this as answered now. I will have to learn some javascript.
    Are there any caveats for using it within WDJ?
    I am assuming I can do something simple in pseudo-code.. (I will need to work out the Javascript version).
    if (hasOption1) {
      field.readonly = true;
      field.style = sunken;
    else if (hasOption2) {
    else if (hasOption3) {
    etc
    (There are only actually 3 options that can change.. but that results in 8 different possible forms)

  • Only upper case in geocoding servie response?

    when calling the geocoding service, I always get the the result in upper case
    (i.e.
    http://elocation.oracle.com/geocoder/gcdemo.jsp?country=DE&match_mode=DEFAULT&address=ctive+media+NEUHAUS%0D%0Asteinstr.+75%0D%0A81667+m%FCnchen
    Is it possible to get the result in the correct case?
    Edited by: beHam on Sep 21, 2011 5:45 AM

    Okay, top tip.
    I added the document listener which processed the text on each insert.
    At this stage, I've only implemented keyword checking on single character inserts (to capture changes as they are typed) - multi character inserts need to be handled differently.
    If I have a character I know can signal the end of a SQL keyword (space, carriage return, brace, parenthesis, comment etc) then I jump back to the last space in the document. This gives me the last "word" in the document.
    Remove the last character (as this is the character that has triggered the event) and then see whether it is upper case or not? If not, should it be (is it a keyword)? If so, insert the upper case String in its place.
    It was a bit fiddly to put the pieces together (a document listener which then has to use SwingUtilities to make the change using a third Runnable class) but it does exactly what I ask of it.
    I have to implement a similar algorithm now to cope with deletions (what if a delete the "a" at the end of "selecta") and multi-character inserts.
    Thanks for the advice. I've not used DocumentListeners before so this was doubly helpful.

  • Add to only upper limit

    -Hello Everyone
    I'm new with TS, and running TS2.0
    Q1:
    I want a multiple numeric step measurement to only compare to a upper limit value. Can I do it?
    Apparently TS allows me to compare to a low limit, and not necessary have an upper limit.
    However, I can't do the opposite... comparing just the upper limit and not have a low limit.
    I guess an easy solution would just to add inf or -inf.
    Q2:
    1)Some steps I have test with different limits.
    2)Some steps I have test with same limits.
    3)Some steps I have test with different/same limits, but different units.
    for 1) should I use multiple numeric limit test or use a loop & change step limits.
    for 2) use a numeric limit test, or use a loop to do the comparisons.
    for 3) again use solution in 1).
    Just curious, in how the most efficient way would be.
    thanx

    Hi,
    For Q1, yes you can do upper limits (GT) testing, unfortunately TestStand stores the limit value in the lower limit property whether its a lower limit test or an upper limit test. There are tricks you can do, which have been address in this forum and maybe a knowledge base note or example on the NI website, so as to store the upper limit value in the correct place.
    For Q2, there are examples showing how to use different limits based on expression see
    here
    and there is an example in the TestStand examples under limit loader.
    Whether to use Multiple Limits steps or Numeric Limit Test steps really depends on what sort of tests you perform and whether the test returns more than one result. But using MultipleLimitsTest step with the limit file can get a bit confusing to look at.
    Hope this is of help.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Explanation on Greatest Lower Bound and Least Upper Bound.

    Hi All,
    Can any one explain how Oracle Implements GLB and LUB with examples.
    Have a Nice Day.
    Thanks & Regards,
    Ahmed.

    Doc is here :
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14267/worklabel.htm#i1008754
    Nicolas.

  • How to add item to a List with a bounded wildcard

    Hi,
    Is there a way to add a subtype instance to a List with a bounded wildcard? For example, say I have an
    abstract class called Car. Then I have 2 concrete subclasses--Ford and Toyota. Now say I have another
    class that contains a prepopulated list and is wildcard bounded like this: List<? extends Car> carList. I
    want to add a method where I pass in a Car subtype as a parameter and then add it into this list, e.g:
    public void addCar(Car car) {
    carList.add(car);
    Trying this, I keep getting "cannot find symbol" compilation errors. When I went back to read the Generics
    tutorial by Bracha, he mentions that explicitly adding a subtype, e.g. carList.add(new Ford()), can not be
    done. But here I'm adding the "upper bound" of the wildcard, i.e. the Car type. Therefore there should be no
    discrepancy between supertype and subtype an thus the carList.add(car) should be ok, IMO.
    Am I misunderstanding something with this logic? Also, if carList.add(car) can not be done, then how can
    I go about doing something similar which will allow me to add subtypes to a "generic" list?
    Thanks in advanced!
    -los

    I get a compilation error expecting an Object instead of a Car. Of course you did. List<? super Car> is a list into which you can put cars -- and possibly other stuff. List<? extends Car> is a list out of which you can get cars (possibly of different makes).
    Do you need a list that you can put cars in and get cars out? That's List<Car>
    This isn't a linguistic problem you are having; this is a design problem. If you have a function that takes an argument which is a list that you can put any kind of car into and be sure of getting a car out of, it isn't reasonable to pass in a List<Ford> (because the function might put in a Chevy) or a List<Object> (but there might be motorcycles already in there). By the requirements you have, you need a List<Car> and nothing else.
    Yes, you could use a cast, but all you are doing is circumventing the type system by saying "I know this List<Object> only has Cars in it."

  • Javac bug with lower bounded wildcard?

    Hi all,
    I have found the below code snippet not to compile with javac (1.5 & 1.6) even though
    I think that it is correct. Also the Eclipse Java compiler accepts this code without errors.
    Can anyone confirm that this is a bug in javac or maybe explain why the code is really wrong as javac is claiming?
    Thanks a lot for any help!
    $$$ cat A.java
    interface I { }
    class C1 { }
    class C2 extends C1 implements I { }
    public class A<T extends C1 & I> {
    A<? super C2> a;
    $$$ javac A.java
    A.java:6: type parameter ? super C2 is not within its bound
    A<? super C2> a;
    ^
    1 error

    Hi Danny,
    thanks for your feedback. Actually, "? super C2" does not allow any arbitrary supertype of C2 since each type argument must also respect the bounds of the type parameter. Therefore, "? super C2" represents all supertypes of C2 which are also subtypes of C1 and I. In our case here, the only such type is C2.
    Here is also an attempt at showing that the code is correct based on the JLS3: Any type parameter is correct iff it is a subtype of all the types in the bound of the type parameter. To check this, you should take the capture conversion (JLS3 5.1.10) of "? super C2" which is a fresh type variable, let's say CAP, with the upper bound "C1 & I" which clearly is a subtype of the type parameter T as it has the same types in the bound. Or am I just missing something?

  • Crosstab query using pure SQL only

    Hi all,
    Found a lot of threads on crosstab, but none seems to address what I need. I need to perform crosstab query using pure SQL only & the number of columns are dynamic. From a query, I obtained the below table:
    Name Date Amount
    Alex 2005-06-10 1000
    Alex 2005-06-20 1000
    Alex 2005-07-10 1000
    Alex 2005-07-20 1000
    Alex 2005-08-10 1000
    Alex 2005-08-20 1000
    John 2005-06-10 2000
    John 2005-06-20 2000
    John 2005-07-10 2000
    John 2005-07-20 2000
    John 2005-08-10 2000
    John 2005-08-20 2000
    And I need to transform it into:
    Name 06-2005 07-2005 08-2005
    Alex 2000 2000 2000
    John 4000 4000 4000
    Reason for the columns being dynamic is because they'll be a limit on the date ranges to select the data from. I'd have a lower & upper bound date say June-2005 to August-2005, which explains how I got the data from the above table.
    Please advise.
    Thanks!

    Hi,
    I couldn't resist the intellectual challenge of a pure SQL solution for a pivot table with a dynamic number of columns. As Laurent pointed out, a SQL query can only have a fixed number of columns. You can fake a dynamic number of columns, though, by selecting a single column containing data at fixed positions.
    <br>
    <br>
    If it were me, I'd use a PL/SQL solution, but if you must have a pure SQL solution, here is an admittedly gruesome one. It shows the sum of all EMP salaries per department over a date range defined by start and end date parameters (which I've hardcoded for simplicity). Perhaps some of the techniques demonstrated may help you in your situation.
    <br>
    <br>
    set echo off
    set heading on
    set linesize 100
    <br>
    select version from v$instance ;
    <br>
    set heading off
    <br>
    column sort_order noprint
    column sal_sums format a80
    <br>
    select -- header row
      1        as sort_order,
      'DEPTNO' as DEPTNO ,
      sys_connect_by_path
        ( rpad
            ( to_char(month_column),
              10
          ' | '
        ) as sal_sums
    from
        select
          add_months( first_month, level - 1 ) as month_column
        from
          ( select
              date '1981-01-01' as first_month,
              date '1981-03-01' as last_month,
              months_between( date '1981-03-01', date '1981-01-01' ) + 1 total_months
            from dual
        connect by level < total_months + 1
      ) months
    where
      connect_by_isleaf = 1
    connect by
      month_column = add_months( prior month_column, 1 )
    start with
      month_column = date '1981-01-01'
    union all
    select -- data rows
      2 as sort_order,
      deptno,
      sys_connect_by_path( sum_sal, ' | ' ) sal_sums
    from
      select
        dept_months.deptno,
        dept_months.month_column,
        rpad( to_char( nvl( sum( emp.sal ), 0 ) ), 10 ) sum_sal
      from
          select
            dept.deptno,
            reporting_months.month_column
          from
            dept,
            ( select
                add_months( first_month, level - 1 ) as month_column
              from
                ( select
                    date '1981-01-01' as first_month,
                    date '1981-03-01' as last_month,
                    months_between( date '1981-03-01', date '1981-01-01' ) + 1 total_months
                  from
                    dual
              connect by level < total_months + 1
            ) reporting_months
        ) dept_months,
        emp
      where
        dept_months.deptno = emp.deptno (+) and
        dept_months.month_column = trunc( emp.hiredate (+), 'MONTH' )
      group by
        dept_months.deptno,
        dept_months.month_column
    ) dept_months_sal
    where
      month_column = date '1981-03-01'
    connect by
      deptno = prior deptno and
      month_column = add_months( prior month_column, 1 )
    start with
      month_column = date '1981-01-01'
    order by
      1, 2
    <br>
    VERSION
    10.1.0.3.0
    <br>
    DEPTNO      | 81-01-01   | 81-02-01   | 81-03-01
    10          | 0          | 0          | 0
    20          | 0          | 0          | 0
    30          | 0          | 2850       | 0
    40          | 0          | 0          | 0
    <br>
    Now, if we substitute '1981-03-01' with '1981-06-01', we see 7 columns instead of 4
    <br>
    DEPTNO      | 81-01-01   | 81-02-01   | 81-03-01   | 81-04-01   | 81-05-01   | 81-06-01
    10          | 0          | 0          | 0          | 0          | 0          | 2450
    20          | 0          | 0          | 0          | 2975       | 0          | 0
    30          | 0          | 2850       | 0          | 0          | 2850       | 0
    40          | 0          | 0          | 0          | 0          | 0          | 0
    <br>To understand the solution, start by running the innermost subquery by itself and then work your way outward.

  • " DVD RW Drive " is not reading / writing DVD. It can read only CD.

    HP Pavilion dv6-3140se Entertainment Notebook PC 
    {Personal Information Removed}
    Product Number:   XS065EA 
    " DVD RW Drive "  is not reading / writing DVD.  
    The same DVD can be read on my frnds laptop. 
    Corresponding drivers r up to date.. I even tried uninstall and then restart and then let my laptop install the required driver automatically. I've tried everything I could find on some forums.
    I was told to delete " Upper & Lower filters ". I didnt find Lower filter so I had to delete only "Upper Filter".
    Plz assist me..
    I will be waiting for ur kind reply.
    Thank u so much.

    The upper and lower filter thing only applies if the drive is not showing up at all in the Device Manager. If it appears as a drive and will perform any function at all, then it is likely a hardware issue. One way you can be sure is to try to boot from a bootable DVD such as a Windows 7 install Disk. If the computer will not boot from such a disk then it is apparent the hardware is defective, not the Windows software because the problem exists even before Windows loads.
    The drive has multiple lasers and it is possible for one to go out but not the others.  The drive is easily replaced. See below:
    This eBay seller ships worldwide. You would have to transplant your plastic drive face but that is very easy to do:
    http://www.ebay.com/itm/HP-Pavilion-DV6-3000-DVD-RW-DVD-RW-Multi-Burner-Drive-TS-L633-603677-001-B-/...

  • Setting the max and min bounds of a result set

    I'm trying to set the upper and lower bound values of a result set. Meaning, I want to limit the values in my result set to not be below/above a certain number, BUT I want any number in my result set that is below/above the lower/upper bound that i have designated to be decoded to the lower/upper bound number that I have designated. Here's an example to help clarify:
    WITH temp_table AS
    SELECT 1231.12 AS col FROM dual UNION ALL
    SELECT 1001.00 FROM dual UNION ALL
    SELECT -32.0 FROM dual UNION ALL
    SELECT -3.0 FROM dual UNION ALL
    SELECT 332.0 FROM dual UNION ALL
    SELECT 211.0 FROM dual
    SELECT CASE WHEN col < 0 -- 0 is the lower bound
                THEN
                     0
                WHEN col > 1000 -- 1000 is the upper bound
                THEN
                     1000
                ELSE
                     col
           END as desired_result
    FROM   temp_tabledesired result set:
            DESIRED_RESULT
         1000
         1000     
            0
         0
         332
         211I was wondering if there was another function or method of achieving my desired result set without having to use a CASE statement? I have to do this to several columns, and it doesn't seem very efficient to throw a CASE statement around each one.

    LEAST and GREATEST will do that too :
    SQL> WITH temp_table AS
      2  (
      3   SELECT 1231.12 AS col FROM dual UNION ALL
      4   SELECT 1001.00 FROM dual UNION ALL
      5   SELECT -32.0 FROM dual UNION ALL
      6   SELECT -3.0 FROM dual UNION ALL
      7   SELECT 332.0 FROM dual UNION ALL
      8   SELECT 211.0 FROM dual
      9   )
    10  SELECT least(greatest(col, 0), 1000)
    11  FROM temp_table
    12  ;
    LEAST(GREATEST(COL,0),1000)
                           1000
                           1000
                              0
                              0
                            332
                            211
    6 rows selected
    I have to do this to several columns, and it doesn't seem very efficient to throw a CASE statement around each one.Any test case showing CASE as not efficient?
    Edited by: odie_63 on 25 juil. 2012 23:20

Maybe you are looking for