Creation of sliders with variable limits

Hi, I have to make a program to edit the membership of a fuzzy functions. The fundamental problem is that I have to take the coordinates of the user 4 x for my trapeze. I have attached a picture to make this more clear.

Obviously, 0<><=b,><><=c,><><=d,><><5 (see="">

I'm setting the values of a, b, c and d using 4 sliders as witnesses. Can I somehow give within these limits as the lower and upper limits for cursors and who is day dynamically during execution of the VI? for example, say I adjust the value of b, I want that lines a and c, which depends on b, to adjust automatically to their respective sliders.

Is this possible?

Thank you.

Hello

You can update the top slider and lower limits using the "Scale.Ranges" of the cursor property

Hope this helps

Concerning

David

Tags: NI Software

Similar Questions

  • recorder with variable unit

    Hallo!

    I tried to use the recorder with variable units. It does not it? Can I change the units of the recorder of the version of the runtime somehow?

    Thanks for your advice.

    Hilby

    Hello again!

    I found the solution:

    Even when it is not possible to use a variable in the context menu, it is possible to put a global string in the recorder manually. I put "${Unit_Ch1}" on the ground for the unit, and it worked.

    Have a good day everyone.

  • Problem with variables not excluding search terms not

    People,

    I'm having a problem with variables, when used in topic titles.

    We produce two distinct versions of a webhelp. The text is almost exactly the same, but the product has a different name in each version. In one version, he is called FLOW; in another, it is called Service generator. We use the user-defined variables to control which name is used to identify the product, when we generate the webhelp.

    So, I have (for example), a subject that begins with the heading:

    Construction of a FLOW script

    where the text occupied by 'FLOW' is provided by a variable with two values - FLOW and Service constructor.

    So when I generate the generator using the web Service version, I put Robohelp using the Service Builder variable defined, and all contained text and the table of positions generate fine; FLOW is nowhere to be seen.

    But when I type "FLOW" in the search box, the system identifies each of the three subjects that are built as in the example above, with a topic title that contains the variable used to set the name of the product. In addition, it displays in the search results using STREAM in the title of the topic, not Service Builder (but when I open the topic, the text in the header is rendered correctly).

    In addition, the system uses the "FLOW" and not "Service Builder" in the headings found by the search, regardless of what research the term is used.

    Everyone comes through this? Nobody knows how to solve this problem, please?

    Thanks in advance,

    NA.

    What version of RoboHelp do you use?

    I use the 2015 Release version. It used to be version 11.

    In the Release version of 2015, my topic Properties dialog box looks like this:

    I think that version 11 may have introduced the possibility of having a variable in the title of the topic. If your version is older and does not seem to offer a way through the dialogue box to deal with this, I was wondering if you could fudge by manipulating the code manually. For example, I see that when I use a variable in a topic title, I end up with this:

    So I was wondering if you could add just in the bit that reads:

    < InsertVariableNameHere >

    Of course, you want to replace the text InsertVariableNameHere with the actual name of your variable.

    It can fail miserably because the process of generation of RoboHelp doesn't know how to cope. But in fact, it might work! You won't know until you try.

    And even if it fails, I may be able to offer another approach that you will overcome the problem.

    See you soon... Rick

  • Reg: Cardinality Feedback for queries with variable bind

    Hi all

    One of my query (having no bind variables) takes a lot of time (10 minutes) to run for the second run.

    I came to know that its due to the feedback of the cardinality.

    I disabled _optimer_use_feedback for help and the query has been run within 2 seconds.

    If I disable _optimizer_use_feedback at the instance level, is there a problem for queries with variable bind?

    > Sorry! I'm not suppose to disclose the NAMES OF THE TABLES

    OK, no problem and I take this restriction as a chance to learn what is cardinality comments, and similar expressions.  Now, since you can't explain post program for our help, I would try to explain what is comments of cardinality and similar expressions: (since you did not mention Oracle version, so I guess it's 11.2.0.1)

    In the Oracle 11.2.0.1 database some SQL statements returns significantly different lines i.e. for some SQL statements earlier execution plan there are has 100 lines by optimizer in the first plan of execution and, where the same SQL statement executed, based optimizer 1000 lines.  This happens because of several cursors for child for a single SQL statement and change bind peeking, collection of statistics, characteristic of re-optimizing 11.2.0.1, permission to referenced objects, ACS (Adaptive Cursor sharing) etc.  The preaching of changes to lines due to above reasons as well regarding also the SQL statements that are not contains the variable i.e. AKA vibration cardinality of liaison function.

    I will highly recommend to read other links below:

    Cardinality feedback | Notebook of the Oracle

    http://www.centrexcc.com/tuning%20by%20Cardinality%20Feedback.ppt.PDF

    https://blogs.Oracle.com/optimizer/entry/cardinality_feedback

    Concerning

    Girish Sharma

  • could someone give me direction towards the creation of assets with REST/javascript

    could someone give me direction towards the creation of assets with REST/javascript?

    There is a sample packaged with webcenter sites to Misc/articles. You must implement the controller of proxy which serve as an indicator of xmlhttp request.

    The proxy will redirect the REST request to the target server resource

  • How to run execute immediate with variables

    Hi friends,
    How to run execute immediate with variables in v_stmt below?
    I don't know how to declare value I have here.
    Set serveroutput on;
    DECLARE
       i        VARCHAR (20);
       v_stmt   VARCHAR2 (100);
    
       CURSOR c
       IS
          SELECT sqlid FROM temp1;
    
    
    BEGIN
       OPEN c;
    
       LOOP
          FETCH c INTO i;
          EXIT WHEN c%NOTFOUND;
          DBMS_OUTPUT.put_line (i);
          v_stmt := 'select * from table(dbms_xplan.display_cursor('&i',null))'
          execute immediate v_stmt;
       END LOOP;
    
       CLOSE c;
    END;
    /
    Regds,
    Kunwar.

    You must first use a variable binding (named ': v' in the SQL statement in my example):

    set serveroutput on;
    DECLARE
       i        VARCHAR (20);
       v_stmt   VARCHAR2 (100);
    
       CURSOR c
       IS
           -- modified for a quick test
          SELECT sql_id FROM v$sql where child_number > 2;
    
    BEGIN
       OPEN c;
    
       LOOP
          FETCH c INTO i;
          EXIT WHEN c%NOTFOUND;
          DBMS_OUTPUT.put_line (i);
          v_stmt := 'select * from table(dbms_xplan.display_cursor(:v,null))';
          execute immediate v_stmt using i;
       END LOOP;
    
       CLOSE c;
    END;
    /
    

    However because your SELECT statement returns multiple lines, you need to adapt your code to process all rows returned (as already suggested in first response to your message).

    Instead of using the PL/SQL, I recommend you to generate a SQL file using only SQL, and then run the generated SQL file.
    For example:

    spool edx.sql
    set serveroutput on
    declare
    v_stmt varchar2(100);
    v_q char(1):='''';
    begin
    dbms_output.put_line('spool edx.log');
    for s in (select sql_id from v$sql where child_number >2)
     loop
      dbms_output.put_line('select * from table(dbms_xplan.display_cursor(' || v_q || s.sql_id || v_q || ',null));');
     end loop;
     dbms_output.put_line('exit');
    end;
    /
    spool of
    

    This generates a file similar to:

    spool edx.log
    select * from table(dbms_xplan.display_cursor('5rygsj4dbw6jt',null));
    select * from table(dbms_xplan.display_cursor('5rygsj4dbw6jt',null));
    select * from table(dbms_xplan.display_cursor('5rygsj4dbw6jt',null));
    select * from table(dbms_xplan.display_cursor('fsbqktj5vw6n9',null));
    select * from table(dbms_xplan.display_cursor('6q42j0018w7t8',null));
    select * from table(dbms_xplan.display_cursor('a5mmhrrnpwjsc',null));
    select * from table(dbms_xplan.display_cursor('3c1kubcdjnppq',null));
    select * from table(dbms_xplan.display_cursor('3c1kubcdjnppq',null));
    select * from table(dbms_xplan.display_cursor('9gkq7rruycsjp',null));
    select * from table(dbms_xplan.display_cursor('f0wj261bm8snd',null));
    select * from table(dbms_xplan.display_cursor('ab3swhv5g138y',null));
    select * from table(dbms_xplan.display_cursor('6vgvyh4xw9c5g',null));
    select * from table(dbms_xplan.display_cursor('ak5crjygnpk60',null));
    select * from table(dbms_xplan.display_cursor('9p6bq1v54k13j',null));
    select * from table(dbms_xplan.display_cursor('19x1189chq3xd',null));
    select * from table(dbms_xplan.display_cursor('7sx5p1ug5ag12',null));
    select * from table(dbms_xplan.display_cursor('730vdzhng6m6g',null));
    select * from table(dbms_xplan.display_cursor('730vdzhng6m6g',null));
    select * from table(dbms_xplan.display_cursor('0v3dvmc22qnam',null));
    select * from table(dbms_xplan.display_cursor('0v3dvmc22qnam',null));
    select * from table(dbms_xplan.display_cursor('a1zv6wju3ftgv',null));
    select * from table(dbms_xplan.display_cursor('7ng34ruy5awxq',null));
    select * from table(dbms_xplan.display_cursor('7ng34ruy5awxq',null));
    select * from table(dbms_xplan.display_cursor('b2gnxm5z6r51n',null));
    select * from table(dbms_xplan.display_cursor('b2gnxm5z6r51n',null));
    select * from table(dbms_xplan.display_cursor('g4gp07gt2z920',null));
    select * from table(dbms_xplan.display_cursor('1gu8t96d0bdmu',null));
    select * from table(dbms_xplan.display_cursor('g00cj285jmgsw',null));
    select * from table(dbms_xplan.display_cursor('g00cj285jmgsw',null));
    select * from table(dbms_xplan.display_cursor('g00cj285jmgsw',null));
    select * from table(dbms_xplan.display_cursor('bn4b3vjw2mj3u',null));
    select * from table(dbms_xplan.display_cursor('38243c4tqrkxm',null));
    select * from table(dbms_xplan.display_cursor('2abjfnvy5rkyg',null));
    select * from table(dbms_xplan.display_cursor('350f5yrnnmshs',null));
    select * from table(dbms_xplan.display_cursor('350f5yrnnmshs',null));
    select * from table(dbms_xplan.display_cursor('3s1yukp05bzg6',null));
    select * from table(dbms_xplan.display_cursor('3s1yukp05bzg6',null));
    select * from table(dbms_xplan.display_cursor('1tgukkrqj3zhw',null));
    exit
    
    PL/SQL procedure successfully completed.
    

    Edited by: P. Forstmann March 20, 2013 19:06

    Edited by: P. Forstmann March 20, 2013 19:33

  • Error of closure with variable

    Dear all,

    Please help me. I want to loop recording. I have two diet. First of all, I do without variable and no mistake. Second, I do with variable and error occurs. below my syntax:

    First of all:
    ------
    declare
    x varchar (50);
    Start
    -x: = 'choose the double dummy;
    C1 in loop (double dummy selection)
    dbms_output.put_line (C1. Dummy);
    end loop;
    end;

    result:
    -------
    X

    --------
    Second:
    declare
    x varchar (50);
    Start
    x: = 'choose the double dummy;
    C1 (looping x)
    dbms_output.put_line (C1. Dummy);
    end loop;
    end;

    result:
    -------
    Encountered the symbol "LOOP" when expected...

    If you want to use a dynamic SQL statement, you would need something like

    SQL> ed
    Wrote file afiedt.buf
    
      1  declare
      2    l_cursor sys_refcursor;
      3    l_sql_stmt varchar2(100);
      4    l_dummy    varchar2(1);
      5  begin
      6    l_sql_stmt := 'select dummy from dual';
      7    open l_cursor for l_sql_stmt;
      8    loop
      9      fetch l_cursor into l_dummy;
     10      exit when l_cursor%notfound;
     11      dbms_output.put_line( l_dummy );
     12    end loop;
     13    close l_cursor;
     14* end;
    SQL> /
    X
    
    PL/SQL procedure successfully completed.
    

    Justin

  • Compare with variable binding sql stored proc vs

    I have a complicated logic coded in the two sql with variables and stored procedure I need to compare the performance of the two and decide which binding. with sql, I think I must watch the plan exec etc. and get metrics. How can I do to stored proc

    user8798946 wrote:
    the sql will be a plsql function. I have to choose wheter I implemting the sql code in the plsql or a version of sql plsql. hope that what I say makes sense.

    Are you meaning "I can write an SQL statement in a procedure, or I can PL/SQL code to do the same thing as the SQL statement and the loop via a slider?

    If so, then go with the SQL statement.

  • With variable presentation month() function

    Hi all

    How can I use the MONTH() function in column answers, with variable presentation? I need to get the date month.
    I tried MONTHS (' @{tmp_date}' as date) but it doesn't work I get the error message.

    Thank you

    Hello

    If you select a single date value... go invite... then...
    Just keep filter on is invited to date column criteria of special relationship...

    Now, in the criteria take the same date column and apply * months ( column date ) *.

    So this column has the value selected and taken months of that particular date...

    try it this way...

  • explain the plan of a query with variables

    Trying to Explain plan at some sql code in sql * more. The query has a variable. How can I do this?

    I look to explain the plan and dbms_xplan but did not find anything with variables

    use sqlplus variable bind:

    SQL> --define variable
    SQL> var x varchar2
    
    SQL> -- notice the colon prefixing the variable
    SQL> explain plan for select * from customer where cid = :x;
    
    Explained.
    
    SQL> select * from table( dbms_xplan.display );
    
    PLAN_TABLE_OUTPUT
    -----------------------------------------------------------------------------------------------
    Plan hash value: 1709312366
    
    ----------------------------------------------------------------------------------------
    | Id  | Operation                   | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
    ----------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT            |          |     1 |    67 |     2   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| CUSTOMER |     1 |    67 |     2   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | CID      |     1 |       |     1   (0)| 00:00:01 |
    ----------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - access("CID"=:X)
    
    14 rows selected.
    

    the variable should not be set to explain the request, because explain does not actually run.

    Published by: shoblock on November 6, 2008 16:51

  • Problem with URL links with variable creation

    Hello

    I am trying to create a zoom ratio. This is the link that I got for my report in detail, I took it from the LINK of REPORT of SHARE and I chose the CURRENT PAGE:

    BiDev:9704/Analytics/Saw.dll?bipublisherEntry & Action = open & itemType = .xdo & bipPath=%2FTEST%2F00-TEST_REPORT.xdo & bipParams = {'_xmode': '2'}

    I have a variable binding in my DATA MODEL called P_CREATED.

    How to pass the value so that when the report is open, this variable will be used.

    I found this on a blog: http://bipconsulting.blogspot.ca/2010/02/drill-down-to-detail-or-another-report.html

    But somehow, his link is quite different from mine.

    Thank you

    I found the problem and it was pretty simple, I was going to BI Publisher via OBIEE (bidev:9704 / Analytics).

    Instead, go directly to the BI PUublisher (bidev:9704 / xlmpserver).

  • How to build an equation with variables

    I want to solve an equation below shows zero finder vi by the Newton Raphson:

    z a * b * c * exp(-z/a),.

    a, b, and c are variables

    I can build the equation with constant a, b, c, but how do I build it?

    Thank you very much!

    Use the number to the string functions in the palette of string with the antiderivative of string concatenation to create a formula with your values of a, b and c.  Read the detailed help for more information about limitations on the variable names carefully.  'z' is the only variable in your formula for the detector zero.  Example is LV2009.

    Lynn

  • Scan chain with variable elements of number?

    Hi all

    I wonder what would be a good way to parse a string containing a variable number of items to search for. I've seen comments of Roberto on the scan function that are very useful (link1, Link2).

    The string type, I would be sweeping would be "5 2.6 4.7 5.01 7.1 4.03" with 5 specifying that will follow 5 double rooms, delimited by spaces.

    Thanks in advance!

    Scan of the CVI function is very powerful, with many options and features, but it has some limitations.

    For example, the ability to scan several parameters in a table as Roberto watch is very slippery, but I can't find a way so he can tell me how many items have been scanned.  Scan returns the number of items formatted, but apparently, it counts a table as a single item.  You can check that by checking the return value of scanning in the message of Roberto.

    I tend to fall back on many of the functions of the library of ANSI-C function strtok Norbert suggested.  You need more lines of code, because you load the element of a table at a time in a loop, but you can add more checking along the way of the errors.  You could do the same thing with the sweep, playback of a parameter at the same time and then jump the NumFmtdBytes() in the next reading.  But if I do not need the additional capacity a CVI library function, I use the ANSI C function.

    It's just another way of seeing things.  strtok is not clearly better than Scan() in this case, it shows just another approach.  Each has its own advantages and disadvantages.

    Take a look at the attached simple example.  It shows some of the audit that can be done, with examples of several types of possible errors of possible errors.

  • Problem with variable referencing of presentation (KEY Date) in the instruction box

    Hello

    I'm trying to reference variables of presentation created on a Date column in the instruction box to one of the columns in the query, as shown below:

    -case when '-citation details. "" "Created" between ' @{of} {1999-1-1}' and ' @{until} {2999-1-1} "then"-quote Metrics. " "" end of number of citations.

    I m getting a view displays error message with the following error message:

    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 17001] Oracle error code: 1861, message: ORA-01861: literal does not match the format string to the call of the OIC OCIStmtExecute

    SQL issued: SELECT "-quote Types '." Name of level 2 Saw_0', case when '-citation details. "" Created "between" 01/04/2009 ' and ' 15 / 04/2009 ' then '-quote Metrics ' "." number of citations"end saw_1"(unit) - CATALOGUE of quotes"WHERE"-citation details "". "" Date of creation"BETWEEN timestamp ' 2009-04-01 00:00:00 ' timestamp AND ' 2009-04-15 00:00:00 ' ORDER BY saw_0


    When I created the prompt on the date field, I put the following in the command prompt:
    Cast ("-time".) Day)

    When I apply a filter on the query using these variables, it works fine.

    If anyone has faced this kind of question earlier and have a resolution, please help me.

    Thank you
    Kitenge

    Hello.

    Select the double - A NON-VALIDE MONTHS TO_DATE('1999-1-1','mm/dd/yyyy')

    Try this:

    OLD: EVALUATE ('TO_DATE (%1, %2)', ' @{of} {1999-1-1} ", mm/dd/yyyy)
    NEW: EVALUATE ('TO_DATE (%1, %2)', ' @{of} {01/01/1999} ", mm/dd/yyyy)

    and

    OLD: EVALUATE ('TO_DATE (%1, %2)', ' @{of} {2999-1-1} ", mm/dd/yyyy)
    NEW: EVALUATE ('TO_DATE (%1, %2)', ' @{of} {1, 1, 2999} ", mm/dd/yyyy)

    and if not ok after that, after an error in query SQL of NQQuery.log.

    Kind regards

    Goran Ocko

    http://108obiee.blogspot.com/

  • Using a matrix with variables in it.

    Hi all, I'm new on my HP 50 g so it can be easier that I am make it look like.

    I'm writing an equation for my strength of class material. The equation is the following:

    K = ((E*A)/L) * [C ^ C * S 2 - C ^ 2 - C * S]
    [C * S S ^ 2 - C * S S ^ 2]

    [- C ^ 2 - C * S C ^ C * S 2]

    [-C * S S ^ C * S 2 S ^ 2]

    The matrix is a 4 x 4. I need to be able to assign values to E, A, L and the largest C & S. So basically, I just need a scalar multiplied by a matrix. I can't find a way to make it work.

    Anyone would be able to help out me?

    I use RPN and CAS mode only has verified digital mode. I am really new to the HP 50 g but I can pass anything as longa s we can make this work!

    Thank you!

    If you want to multiply many different measurers to the matrix,

    or replace it with many different values of S, C, E, A, L, the best way is the following

    store the original matrix (again, in this example, only using 2 lines of the matrix)

    [[' C ^ 2 ' * IT '-C ^ 2' '-(S*C)']]
    [[THE OF * c ^ 2' '-(S*C)' '-(S^2)']]

    "MAT".

    STO

    the matrix is now stored in a variable called MAST

    now store the meter

    ' E * A/L '.

    "SCAL".

    STO

    the meter is stored in a variable called SCAL

    now for the original equation

    "SCAL * MAST '"

    « K »

    STO

    now for the first group of variables

    5

    « E »

    STO

    6

    « A »

    STO

    7

    « L »

    STO

    8

    THE OF '

    STO

    9

    « C »

    STO

    all variables have now assigned values

    Press the VAR

    to make sure that the variables are showing on the keys F1 to F6

    Press the key to display for K

    EVAL

    SIMPLIFY (or ENLARGE ENLARGE)

    and if you want the solutions of matrix in decimal form, press SHIFT RIGHT-> NUM (key)

    to change the values of variables, for example, 'L', it is very simple... a value of 20 L

    ENTER 20

    LEFT SHIFT

    L key (note that, to the left, then the selection key for the variable to be stored in the format works only in mode RPL NOT algebraic mode)

    now to reassess the matrix * equation Measurer

    K key

    EVAL

    SIMPLIFY (or ENLARGE ENLARGE)

    If you want to change the scaler, the same process.

    "L * E * A + 13'.

    LEFT SHIFT

    softkey SCAL

    K key

    EVAL

    SIMPLIFY (or ENLARGE ENLARGE)

    to change the matrix...

    softkey MAST

    DOWN (this automatically the matrix in the matrix writer application)

    Edit the required cells, and then press enter

    with the matrix now published on stack level 1

    LEFT SHIFT

    softkey MAST

    K key

    EVAL

    SIMPLIFY (or ENLARGE ENLARGE)

    etc...

Maybe you are looking for