Calculating the value of output with custom scale

Hello

I defined a custom in MAX scale.

I want just to calculate the value of an input applied with this scale value.

Process is simple:

X-online custom-online output value scale

in the process of

Is there a way to do it simply (reminder: custom scale can be linear, polygon, table etc...)?

Looks like you might need to check the interpolation
http://zone.NI.com/reference/en-XX/help/371361J-01/GMATH/interpolate_1d/

Tags: NI Software

Similar Questions

  • change the values of 'choiseListe' with javascript

    Dear Sir

    Is it possible to change the values of 'choiseListe' with javascript.

    Example they have a choseListe:

    Country / / / values

    United States us

    France fr

    Sp Spain

    When he clicks in a botton I whant to change this choceListe:

    Country / / / values

    My Morocco

    PT Portugal

    ............

    Thank you

    Hello

    Drop-down lists and drop-down menus can be scripted against without much to safely.

    You would need something like that in the click event of the button:

    listbox1.rawValue = null; //clear previous choice
    listbox1.clearItems(); //clear the list items
    listbox1.addItem("Moocco", "ma"); //add new list items
    listbox1.additem("Portugal", "pt");
    

    Hope that helps,

    Niall

  • ADF - JavaScript getValue is not recovering the value of output text

    Hello.

    I have a workflow with fragments, before the page loads, I call a function in my Bean, function to set initial values.

    In my grain I have variables like this:

    private String var1;

    public void setVar1 (String var1) {}

    This. var1 = var1;

    }

    public String getVar1() {}

    return var1;

    }

    According to a request, I put this variables.

    On my page, I have several panel grid layouts, with the cells in the grid that contains an af:link and an af:outputText.

    My af:link get the icon property with the help of the variables set before the loading of the page, like this:

    /Dir1/Dir2/#{MyBean.var1}.jpg

    A my the same output text:

    value: #{MyBean.var1}

    It works perfectly.

    What I need is to valorise tha in the output through a JavaScript function text.

    Inside the af: link, I have a clientListener that calls a JavaScript function where I need to get this value, something like this:

    function testValue (actionEvent) {}

    actionEvent.cancel ();

    source var = actionEvent.getSource ();

    var value = source.findComponent ("c1");

    var value= currentValue. getValue();

    Alert ("currentValue:" + currentValue);

    }

    The value is never shown. I also tried withAdfPage.PAGE.findComponent

    Its curious, because I do the same with a seizure of text on the page, have not the value of a Bean and the value was fine.

    I don't understand what is happening.

    Could you help me?

    Thanks in advance.

    I solved it.

    I've been away a property: ClientComponent: true.

    Thank you.

  • Calculating the values of resource (CPU = zero etc..)

    Hello!

    I ' using Chargeback 2.0.1 but I cannot measure the value of average CPU consumption. It doesn't give me 0 Ghz to each customer.

    (The County of vCPUs is fine).

    Best regards!

    You can use its use with ovDCs by distribution.

    Ensure that billing policy that uses the cost model is specified as 'use' of the CPU. Also make sure you have a rate specified for the CPU resource for the period under review.

    Finally, for the test, you must do the TIME use some cycles CPU (use cpuhog or something like that) and make the short period, and/or the price artificially high so that the cost and usage do not round to 0.

    If you do all this, you should see its use not null and a cost for the vApps used enough cycles CPU.

    See you soon,.

    Milos

  • Getting the value of Session with javascript

    Hello

    I was wondering is it possible to get the: value of the SESSION with javascript with Apex 3.2? Or is it still the case that we do an Ajax call to get this value?

    Here is my code, and as you can see I am using the $v function but his return nothing.
    <script>
    function showMultiValButton(pVal, pThis){
         var selectVal = $x(pVal).value;
         var multiValues = new Array ("6","8","9","10","11");
         var apexSession = $v("SESSION");
         
         if (jQuery.inArray(selectVal, multiValues) != -1) {
              $(function(){
                   vHelp = '<div id="multiBox" title="iCreate Get Multi Values"><iframe src="http://hts03:7778/pls/htmldb/f?p=180:214:'+apexSession+':::::" width="650" height="450" title="iCreate Get Multi Values"></iframe></div>'
                   $(pThis).append(vHelp);
                   $("#multiBox").dialog({             
                 show: 'scale',
                 stack: true,
                 modal: true,
                 height: 500,
                 width: 685
              });
         });} else {
              $(function(){
                   $("#MULTI_VAL_BUTTON").hide();
              });
         }
    }
    </script>
    See you soon,.
    Paul.

    Hello Paul,

    Replace $v("SESSION") by $v ('pInstance')

    Greetings,
    Roel

    http://roelhartman.blogspot.com/

  • vary the value of output of the digital HIGH output voltage.

    Hello

    Is it possible to vary the values of the NOR-DAQ HIGH output voltage. If Yes please tell me how to do the same. I want to reduce tension before moving out of my camera, digital signal as my rating of device is only 3 volts for the digital HIGH.

    Kind regards

    Pradeep.

    The digital output voltages cannot be changed on your USB-6259 (that you mentioned that you use in a different thread).  Please see the specifications for more information on the digital logic levels used on your Board.

    Best regards

  • How to show the value of string with spaces in separate columns

    Hi all, I am using Oracle 10 g.

    create table
    create table sample_test (
      Name    VARCHAR2(20 BYTE))
    Insert a table
    insert into sample_test values ('JOAN   SCT')
         insert into sample_test values ('MELIA FILCK')
          insert into sample_test values ('SSAN LIER-LILEY')
           insert into sample_test values ('C.M. DANY WES')
               insert into sample_test values ('A L SCOTT')
    Select * from sample_test;
    Name
    JOAN   SCT
    MELIA FILCK
    SSAN LIER-LILEY
    C.M. DANY WES
    A L SCOTT
    I would like the following output
    NAME1        NAME2      NAME3
    JOAN          SCT               
    MELIA        FILCK               
    SSAN       LIER-LILEY
    C.M.          DANY       WES
    A             L          SCOTT
    whenever there is a space in the name of the value next to who should be included in another column. Please note the name joan has TBS of two spaces. but it must be treated as a single space.

    also is it possible to get something like that
    NAME1        NAME2     
    JOAN          SCT               
    MELIA        FILCK               
    SSAN       LIER-LILEY
    C.M.DANY       WES
    A L          SCOTT
    the value before the first space on the right must be everything in domain Name1 Name2.

    Thanks in advance.

    Hello

    Since you have Oracle 10, you can use regular expressions:

    For the release of 3 columns:

    SELECT        REGEXP_SUBSTR (name, '[^ ]+', 1, 1)     AS name1
    ,        REGEXP_SUBSTR (name, '[^ ]+', 1, 2)     AS name2
    ,        REGEXP_SUBSTR (name, '[^ ]+', 1, 3)     AS name3
    FROM        sample_test;     
    

    [^ xyz] means "any character except x, y or z."
    + means "1 or more of the previous ones.
    The 4th argument to REGEXP_SUBSTR indicates where we want the appearance of the model.

    For the release of 2 columns:

    SELECT        REGEXP_REPLACE (name, ' *[^ ]+$')     AS before_last_space
    ,        REGEXP_SUBSTR  (name,   '[^ ]+$')     AS after_last_space
    FROM        sample_test;
    

    $ here means "the end of the string.

    In Oracle 10, you will often use REGEXP_REPLACE to get substrings.

    Thanks for posting the CREATE TABLE and INSERT statements; It's very useful!

    Published by: Frank Kulash, 7 Sep 2011 15:21

  • The value of textarea with line breack (crlf, CR LF) using javascript

    Hello

    I want to set the value of a text box called P103_SEND_MESSAGE with line breaks inside before it appears (via pop-up site).

    & gt; & lt; script language = "JavaScript" type = "text/javascript" & gt;
    & gt; int CHECK_SEND_MAIL (v_value)
    & gt; {
    & gt; If (v_value == 'YES') {}
    & gt; var v_message_text = "Test CR LF Hello, utl_tcp.crlf had finished your task";
    & gt; var url = ' f? p = & APP_ID.:103: & SESSION. : P103_SEND_MESSAGE: "+ v_message_text;
    & gt; Window.Open (url, ' popup ',' toolbar = no, width = 520 height = 320, resizable = no, top = 40, scrollbars = no "");
    & gt; P52_CHECK_SEND_MAIL in JS variable
    & gt; var l_field_id = document.getElementById ("P52_CHECK_SEND_MAIL");
    & gt; value set for the field
    & gt; l_field_id.value = ";
    & gt; }
    & gt ;}

    The field fill up, but no line breaks appear.

    Anyone who has an idea?

    Thanks in advance,


    Tobias

    Hi Tobias,.

    In plsql, you can use your method.
    The javascript I use works for me? Have a look here http://examples.apex-evangelists.com/pls/apex/f?p=286:45

    
    

    Kind regards
    Dimitri
    ----------------------------------
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Create the user by using the API OIM11g R2 with custom attributes

    Friends,

    I am trying to create a user using API in OIM 11 g 2 with a custom attribute.

    < String, Object > HashMap createUserMap = new HashMap < String, Object > ();
    createUserMap.put (UserManagerConstants.AttributeName.FIRSTNAME.getId (), "Test);
    createUserMap.put (UserManagerConstants.AttributeName.LASTNAME.getId (), "tester);
    createUserMap.put (UserManagerConstants.AttributeName.USER_LOGIN.getId (), "tester1");
    createUserMap.put (UserManagerConstants.AttributeName.USERTYPE.getId (), "End user");
    createUserMap.put (UserManagerConstants.AttributeName.EMPTYPE.getId (), "EMP");
    createUserMap.put (UserManagerConstants.AttributeName.PASSWORD.getId (), "Welcome1);
    createUserMap.put (UserManagerConstants.AttributeName.EMAIL.getId (), "[email protected]");
    createUserMap.put ("act_key", new Long("1"));
    createUserMap.put ("USR_UDF_DEPTNO", "10");

    Try
    {
    UserManager userService = oimClient.getService (UserManager.class);

    User user = new User (userLogin, createUserMap);
    Result = userService.create (user) UserManagerResult;
    System.out.println ("State of creation: '" + result.getStatus ());
    }
    catch (System.Exception e)
    {
    e.printStackTrace ();
    }

    But it fails with the error below.
    Create a user application cannot set or change the USR_UDF_DEPTNO attribute, since it is not defined in the corresponding dataset. : create user: USR_UDF_DEPTNO. *

    But this attribute exists in the IOM and I was able to create the user using the user interface with this custom attribute.

    Please let me know what I am doing wrong.

    You must pass a long time don't value not int. It should be that way.

    Long deptno = 1234;
    createUserMap.put ("deptno", deptno);

  • Synchronization of the inputs and outputs with different sampling frequencies

    I'm relatively new to LabView. I have a NOR-myDAQ, and I am trying to accomplish the following:

    Square wave output 10 kHz, duty cycle 50%.

    Input sampling frequency of 200 kHz, synchronized with the output that I get 20 analog input samples by square wave, and I know what samples align with the high and low output of my square wave.

    So far, I used a counter to create the square wave of 10 kHz, display on a digital output line. I tried to pull the document according to (http://www.ni.com/white-paper/4322/en), but I'm not sure how sample at a different rate than my clock pulse. It seems that this example is intended rather to taste one entry by analog clock pulse. There may be a way to create a faster clock (200 kHz) in the software and use that to synchronize the analog input collection as well as a slower 10 kHz output generation square wave?

    I eventually have to use the analog inputs to obtain data and an analog output to write the data channel, so I need the impetus of the square wave at the exit on a digital PIN.

    How could anyone do this in LabView?

    Hi Eric,.

    All subsystems (, AO, CTR) derive from the STC3 clocks so they don't drift, but in order to align your sample clock HAVE with pulse train that you generate on the counter, you'll want to trigger a task out of the other. I would like to start by a few examples taken from the example Finder > Input and Output material > DAQmx. You can trigger GOT off the train of impulses, start by Gen digital Pulse Train-keep -you probably already use a VI like this to generate 10 k pulse train. AI, start with an example like Acq Cont & chart voltage-Ext Clk - Dig Start.vi-you'll want to use the internal clock so just remove the control of the "Source of the clock" and it uses the internal clock. From there, simply set the "Source of the command" either be the PFI line generates the meter, or ' //Ctr0InternalOutput '-assuming that you are using the counter 0. You'll want to make sure that the start of the task HAVE faced the task of counter I is ready to trigger off the first impulse. They should be aligned at this point.

    For debugging, you can use DAQmx export Signal to export the sample clock - you can then brought the train line and the PFI pulse to make sure that they are aligned.

    Hope this helps,

    Andrew S

  • Hi I need day the value of totalPrice_raw with the liquid.

    This is my code I need to update with the new value totalPrice_raw calculate.

    How can I get it? Thank you.

    {% assign cambioHoy = cart.items [0] .totalPrice_raw %}}

    {% assign totalPrecioWCom = cart.items [0] .totalPrice_raw %}}

    {% assign comisionPais = cart.items [0] .description %}}

    {% If comisionPais is 'OK' %}

    {% assign comision = 4.99 %}

    {% other %}

    {% assign comision = 6.99 %}

    {% endif %}

    {% assign totalPrecioWCom = totalPrecioWCom | more: comision %}}

    Your basket is locked - they prices. You cannot change what the person pays in cash it.

    You use the codes of products/shipping options/reduction to effect the setting of prices.

  • Setting the width and the height of the elements (texts, images), with custom percentages associated with the width of the browser

    Dear Muse-Geeks,

    I'm really pleased with the ability and especially the ease use of Muse. But I couldn't imagine that the width of a text box, image, the box cannot be defined as a percentage of the width of the browser.

    But now after some research on the web I really seems the only option is the 100% browser width.

    I just missed something to set a value in percentage (vertical/horizontal) size?

    Concerning

    André

    Hi Woods

    When you talk about the size of objects as a % of the browser, I think you are talking about the responsiveness of the site. If Yes, then it is not possible to create sensitive sites in Muse at the moment. But yes, you can set the width to 100% for some items and a slide show full-screen only.

    Kind regards

    Aish

  • What is the value of creating a Custom UIComponnets like Comboboxes?

    Hello


    I have a query regarding the creation of custom components, I've seen a number of examples where sites
    leading by example how to create a custom Combobox.

    But can someone please let me know what would be the use of the creation of a custom as a Combobox component?

    Please share your ideas on this.

    Thanks in advance.

    Hi Kiran,

    Supplies of a Flex ComboBox control that you can use as part of a form that collects a customer address information. In the form, you can include a ComboBox control to let the user select the portion of the address of a list of the 50 States of United States State in an application that has multiple forms, where a user can enter an address, it would be tedious to create and initialize multiple ComboBox controls with the same information on each of the 50 States.

    Instead, you create a component MXML that contains a ComboBox with all 50 States defined in her breast. Then, whenever you need to add a State selector to your application, you use your custom MXML component. The following example shows a possible definition for a custom ComboBox control:



    http://www.Adobe.com/2006/mxml">
          
            AK
            AL
           
       

    The application main, or any other component MXML file, is reference to the StateComboBox component, as shown in the following example:



    "http://www.adobe.com/2006/MXML" xmlns:MyComp ="*" >


       

    Hope this will make things clear.

    If this post answers your question or assistance, please mark it as such.

    Thank you

    Jean Claude Chari

  • How to set up the PL/SQL Developer with customer instant

    Hi buddies!

    I want to install PL/SQL Developer. I would like to install Instant customer? I need to install the PL/SQL Developer in my pc that will access the database of the server.

    Please enlighten me.

    Thank you.

    See you soon!

    Nith

    Published by: user645399 on May 12, 2010 16:26

    user645399 wrote:

    Here are the steps I followed.

    I don't see a problem with these steps. It is correct. Step 7 is redundant (because of the where you have placed the tnsnames.ora file)-it is only really necessary when you place the file in another directory where +%ORACLE_HOME%\network\admin+ is no longer applicable.

    Note that the customer himself, needs to load the DLL of OIC InstantClient - and this DLL uses the settings of environment and the rest of "do its thing".

    If customer load another customer Oracle DLLS, then bets are open InstantClient is used, never mind will work.

    Only one copy of a DLL can exist in memory. So if some other s/w is using other DLL OIC, then this DLL is already loaded and will be used by all other client s/w. Nothing will be able to use the DLL itself InstantClient.

    Therefore, make sure that no Oracle client driver is loaded at all. Then make sure that when the client s/w requests to load the DLL of the OIC, it is loaded from the InstantClient directory.

    As far as I remember, the core Win32 LoadLibrary() call is made by the application - if the DLL is not in memory, the current (in the virtual machine for this process of Windows) directory is used. If the DLL does not exist there, the %PATH% variable is used to find and load the DLL. DLL usage meter is then set to 1. When multiple processes require the DLL, it is incremented. When a process ends, the usage count is decremented. When it reaches 0, its unloaded from memory.

    Result of all this is that only one module DLL (whatever the number and versions of the physical DLL files on disk) can reside in the kernel space, and you must ensure that the correct physical DLL is loaded by the kernel.

  • Calculating the values of dynamic dropdowns

    Hi all, there is the question of the day noob

    I created an invoice form in LiveCycle Designer and I'm totally stuck to the calculation of taxes:

    for each product, you are able to choose between two percentages of tax in a drop-down list, and at the end of the form, I want to show a total amount of each tax.

    unit price net price
    product Qty
    VAT
    Pack of red shoes2$ 204%$ 40
    Pack black shoes1$ 254%$ 25
    white umbrella1$ 107%$ 10

    Total price Excl. VAT$ 75
    + 4% TAX$ 2.60
    + 7% TAX$ 0.70
    Total$ 78,30

    How can I set the HT 4% and + 7% TAX field to enter their respective product lines?

    Sorry for my bad English... I hope you get the issue!

    If you send your form to [email protected] I codera it for give you to you the idea of how to do it. Please include a description of what you want to do in the email.

    Paul

Maybe you are looking for