How to write values to cluster of indicators (tank sliders)?

I'm writing a table 1 d of values to their 8 sliders matching tank.

So each element of the array is displayed as the value of the slider.

How can I do this?

This works if you view in a cluster of numeric values, but not the sliders.

I also tried to write the table to the 'value' property of each of the sliders, but still doesn't seem to work.

Any suggestions?

001,

How did you create the sliders? They are actaully the clusters of two elements, which appear to be identical cursors sitting on top of the other.

This is probably why you meet your data of wiring to them so much trouble.  I suggest that you create a new cluster with standard cursors.  Then, you can use the table to primitive Cluster to move the data.

Two caveats: 1. table to the default Cluster is 9 elements of the cluster regardless of the number of items in the table.  Pop - up on the release of cluster Terminal to change the number of items if necessary.

2. you have apparently added items to the cluster inoperable.  The order of cluster is important if you want to get the data in the right places.

In addition, it would be much easier for us to test your code if you included table 2D input data.  Put the data here and then change > use current default values. Then save.

Lynn

Tags: NI Software

Similar Questions

  • How to write the condition with the value of the parameter

    Hello
    I'm working on siebel BI publisher report. I am able to display the value of the parameter in the report.

    Now, I wanted to do something logical based on the value of the parameter.

    for example: If the user changes the value of the parameter then I have to call A submodel if user don't past not any value then it should not display A submodel

    can someone tell me how to write that above logic?

    If the parameter exists then MODEL of APPEAL one another do not call MODEL A

    Kind regards
    JAG


    Dial a submodel

  • Value of cluster lost when you leave the structure of the case

    Hi all

    I'm having a problem with a particular VI I'm working. (FYI it's in Labview 8.0)

    The VI is set to run a current source, voltmeter and thermometer, then recording and graph the data in various ways that can be selected by the user.

    Everything seems to work fine except a particular graphic method. When I try to graph current compared to the tension, the current value is lost estates. In a case the current and voltage are combined to form a cluster, and then leave the case structure to be later appended to a table of cluster.

    However, the value of the cluster is lost when the chart is set for the voltage vs. Any other method and it works correctly.

    I can't understand why this is happening as it does not make much sense than other methods of work charts, but this one isn't when it is coded the same exact other than having the different variables.

    I have attached the VI with added indicators showing that the value of cluster is lost once he leaves the box structure. Any help would be appreciated.

    Thank you very much and I apologize for my extremely messy VI.

    -Nathan Cernetic

    You really need to boil this down to something we can run and reproduce the problem.

    Have you tried to break a few relevant connections and rewire? Something is possibly corrupt.

    Besides being a mess, your VI has quite a few glaring errors.

    Let's take a look at the structures at the top right:

    • 90% of the code is the same in all the structures of three cases, so all that needs to be inside the structure is the small part where you built the table 2D. All the rest is outside of the case.
    • The structure of the sequence has no useful function.
    • Why do you need to reverse the table with each iteration of the small loop FOR? Once before the loop would be sufficient. Right?
    • Why you use table built inside the small loop FOR, but no autoindex on the edge of the loop? All you ever get is an array containing exactly one element, no matter how the loop runs. Seems unnecessary! (see below for an alternative image).
    • You wouldn't even need to reverse if you want to use "built the table" instead of "insert into the table at position 0" in the central part.

    Other: You constantly hammer all nodes of your property. The only need that will be called when things change. Again, you have far too many cases. For example, in the structure of the case where you are having problems, the same nodes of property exist in all cases. A single instance of the property node belong outside the case and only the string inside each case constants. Whenever the code is the same in all cases a case structure, which code belongs to the outside!

  • How to write a single line instead of the entire port?

    Hello

    I followed the example for writing to the digital line as follows

    int taskHandle;

    given int [8];

    char linename [] = "" dev2/port0 / line0:7 ";"

    DAQmxErrChk (DAQmxCreateTask ("", & taskHandle));

    DAQmxErrChk (DAQmxCreateDOChan (taskHandle, linename, "", DAQmx_Val_ChanPerLine));
    DAQmxErrChk (DAQmxStartTask (taskHandle));
    DAQmxErrChk (DAQmxWriteDigitalU8 (taskHandle, 1, 1, 10.0, DAQmx_Val_GroupByChannel, data, NULL, NULL)); Here the data have 8 digits
     
    Error:
    SetWaitCursor (0);
    If (DAQmxFailed (error)) DAQmxGetExtendedErrorInfo (errBuff, 2048);
    If (taskHandle! = 0)
    {
    DAQmxStopTask (taskHandle);
    DAQmxClearTask (taskHandle);
    }
    If (DAQmxFailed (error)) MessagePopup("DAQmx Error", errBuff);

    The example above shows how to write 8 binary to 8 lines, but how to write only one line? I try the following code, but it does not work

    char linename [] = "dev2/port0/line 2;

    ...

    DAQmxErrChk (DAQmxWriteDigitalU8 (taskHandle, 1, 1, 10.0, DAQmx_Val_GroupByChannel, & data [2], NULL, NULL)); Here the data have 8 digits

    The data format for the DAQmxWriteDigitalLines() function will do exactly what you want.

    The data format for the DAQmxWriteDigitalU8() function is a full port (even if you do not have a value of a harbour full of lines in your task).

  • How to store values of TextField in table

    Hello

    I am trying to write a code to store values of TextField in a table. I know how to convert entire TextField. But after that, we have different integer variables. I can't understand how to store values of these whole different variables in a table by using a loop.

    public class ArrAvg {}

    Public Shared Sub main (String [] args) {}

    int arr [10] = new int [10];

    inputNumbers (arr);

    }

    void int inputNumbers (int arr [10]) {}

    int i;

    TextField field1 = new JTextField();

    TextField Field2 = new JTextField();

    Field3 TextField = new JTextField();

    String value1 = field1.getText ();

    String value2 = field2.getText ();

    String value3 = field3.getText ();

    val1 = Integer.parseInt (value1);

    val2 = Integer.parseInt (value2);

    val3 = Integer.parseInt (value3);

    for (i = 0; i < 10; ++ I) {}

    arr [i] = val1 (this should be replaced by val2 and after that by val3? I don't know how to do this)

    }

    }

    Some body please guide me.

    Zulfi.

    I have stored text field in ArrayList so i should traverse the ArrayList. But when i am converting the contents of Arraylist into integer, i am getting type mismatch despite the fact that my ArrayList is of String type.
    
    
    

    Yes - the ArrayList to string but you create an iterator for object

    Iterator itr = al.iterator (); getting iterator of arraylist to iterate through the items

    This method of "al.iterator" () returns the iterator; for your use case E-online String. See the API

    https://docs.Oracle.com/javase/8/docs/API/Java/util/ArrayList.html

    You set it to 'Iterator' which is NOT a generic, so only objects are returned.

    So get back to string.

    Create your instance of the iterator Iterator.

    Is it possible to avoid "iterator"?

    Why avoid it? Just use the appropriate iterator.

    The class has a 'size' and a method 'get (int index) '. So you can use a loop from zero to the 'size', but simply use the iterator.

  • How interdependent prices (values)?

    Hello! IM creating e-commerce store. All my prices associated with USD/RUB Exchange rate and it would be wonderful if I can change only a single value (exchange rate) to change all my prices. Is it possible to make interdependent values such as in Exel?

    Future prospects for the answer.

    If what you want is a converter of price, this can be easily accomplished through JavaScript, if you want a solution client that you can drop in Project Muse. A solution on the server side would require something like PHP. Unless you want to use Business Catalyst, to my knowledge there is no widget solution that will allow you to use dynamic content with Muse, otherwise than by the object "Insert Html...". If you need a real e-commerce that is data-driven site, I recommend to look into other solutions, such as OpenCart. Muse is not satisfactory solutions on the data at all, however, if you know your stuff, it is possible to make it work. http://www.joshuafest.com is an example of a website built with Muse who has led the data items. Artist Lineup and FAQ sections to be precise. It took me a long time and much effort just for these items are displayed correctly. I do not recommend this. I had a better understanding of the Muse when I took over this project, I would have started from scratch and rebuilt.

    If you want some tips how ecrire write the simple javascript to change your price, let me know.

  • How to write a script for date get to the Clipboard

    Hi experts,

    How to write a script for date get to the Clipboard.

    the date format will be like this:

    05 - may

    respect of

    John

    Thanks guys, thanks Sanon

    I finally use the .bat doc

    like this:

    @@echo off
    for /f "delims =" % in (' wmic OS Get localdatetime ^ | find ".") "") Set "dt = %% a"
    the value "YYYY = % dt: ~ 0, 4%.
    the value "MM = % dt: ~ 4, 2%.

    If MM % is 01 set MM = January
    If % MM == 02 set MM = February
    If MM % is MM value = March 03
    If MM % is 04 MM value = April
    If MM % is 05 MM value = may
    If MM % is 06 MM value = June
    If MM % == 07 set MM = July
    If MM % is MM value = August 08
    If MM % is MM value = September 09
    If MM % is 10 MM value = October
    If MM % is 11A set MM = November
    If MM % is game MM 12 = December

    the value "DD = % dt: ~ 6, 2%.
    the value "HH = % dt: ~ 8, 2%.
    the value "Min = % dt: ~ 10, 2%.
    Set "s = % dt: ~ 12, 2%.

    Echo DD - MM HH % %% % Min | Clip

    It works

    respect of

    John

  • How to write a decryption function?

    Hi! everyone ,


    I see one encryption function in my database.


    Select f_pwd_encrypt ('password') of double


    -> 12412913141313139139130121


    My question is


    How to write a decryption function?


    As:


    Select f_pwd_decrypt ('12412913141313139139130121') of double


    ->password

    CREATE OR REPLACE FUNCTION EPADM."F_PWD_ENCRYPT" ( vpwd in varchar2)
    return varchar2
    is
        vother_p   varchar2(9);
        vtr_pwd  varchar2(2048);
        i       number;
        j         number;
        vsubstr varchar2(9);
        vtemp1 varchar2(08);
        vvalue number := 0;
        vdb_pwd varchar2(100);
    
    
        function str_2_bit(vstring in varchar2)
        return varchar2
        is
           i number;
           vtemp number;
           v1 varchar(2048);
    
    
         function single_byte(vin in number)
           return varchar2
           is
             i number;
             vresult varchar2(08);
             vtemp number := vin;
           begin
             for i in 1..8 loop
               vresult := to_char(mod(vtemp,2))||vresult;
               vtemp := trunc(vtemp/2);
             end loop;
             return(vresult);
           end;
      --
        begin
          for i in 1..lengthb(vstring) loop
            select to_number(substrb(dump( vstring ,10,i,1),instr(dump( vstring ,10,i,1),' ',-1)+1))
              into vtemp
            from dual;
            v1 := v1 || single_byte(vtemp);
          end loop;
    
    
          return(v1);
        end;
    
    
    begin
      vtr_pwd := str_2_bit(vpwd);
      vtr_pwd := substrb(vtr_pwd,4)||substrb(vtr_pwd,1,3);
      vvalue := 0;
      vdb_pwd := null;
    
    
       for i in  1..(lengthb(vtr_pwd)/4)  loop
         vtemp1 := substrb(vtr_pwd,(i-1)*4+1,4);
         for j in 1..4 loop
           vvalue :=  vvalue + to_number(substrb(vtemp1,j,1)) * power(2,j-1);
           dbms_output.put_line(j||' '||vvalue);
         end loop;
              vdb_pwd := to_char(vvalue) ||vdb_pwd;
              vvalue := 0;
       end loop;
      return(vdb_pwd);
    
    
    END;
    /
    

    OK, after reviewing the, I don't think you'll be able to write a function of decryption for him.

    The first thing he does is take the ascii value of each character in the password and converts them into a binary string.  The code it uses is far too complex and can be simplified, but which is not a problem here.

    I've recreated the first step of SQL like this...

    SQL > ed

    A written file afiedt.buf

    1 with chr_val like)

    2. Select level l

    3, dump('password',10,level,1) in the dmp

    4, to_number (substrb (dump('password',10,level,1), instr (dump('password',10,level,1),' ', 1) + 1)) as chr_val

    5, ascii (substr('password',level,1)) as chr_val - equivalent of extraction of useless dump

    6 double

    7. connect by level<=>

    8        )

    9, r (l, b, ch, chr_val, result, vtemp) as

    10 (select l, 0 b, chr (chr_val), chr_val)

    11, cast (null as varchar2 (8)) as a result

    12, chr_val as vtemp

    13 of chr_val

    14 union of all the

    15 select l, b + 1, b, ch, chr_val

    16, to_char (mod(vtemp,2)) | result as a result

    17, trunc(vtemp/2) as vtemp

    18 r

    where the 19 b + 1<=>

    (20) depth search first by l, defined b seq

    21, as)

    22 select l, ch, chr_val, str_to_bit result

    23 r

    where the 24 b = 8

    25 arrested by l, seq

    26            )

    27 select listagg (ch) within the Group (order) as password

    28, listagg (chr_val, ',') within the Group (order) byte_vals

    29, listagg (str_to_bit) within the Group (order) bit_vals

    30 sec.

    SQL > /.

    PASSWORD BYTE_VALS BIT_VALS

    --------------- ---------------------------------------- ----------------------------------------------------------------------------------------------------

    password 0111000001100001011100110111001101110111011011110111001001100100 112,97,115,115,119,111,114,100

    Then he takes this string binary ("bit_vals" in my example) and does the following:

    1. take the first 3 bits of left and to transpose on the right end of the string.

    2 chops the resultant bit string upward into sections of 4 bits (which is known as a 'nibble' inside)

    3. for each bit in the nibble, he treats the bits in binary reverse to normal and gives them a value of 1,2,4 or 8 from left to right for each bit set to 1

    4. for each nibble it adds the value of 1,2,4,8 bits to give a value from 0 to 15

    To show that the use SQL...

    SQL > byte (select ' 0111000001100001011100110111001101110111011011110111001001100100' as pieces of double)

    2, swap3bit as (-take the binary string and put the first bits (high) 3 as a (low) bit of the right hand side)

    3. Select bytes.bits

    4, substr (bit 4) | substr (bits, 1, 3) as init_substr

    5 bytes

    6                   )

    7, split4 as (-chop the string of bits nibbles (half bytes - 4 bits))

    8. Select level l

    9, substr (init_substr, ((level-1) * 4) + 1, 4) as a nibble

    swap3bit 10

    11. connect by level<=>

    12                 )

    13, bitpowers (select l

    14, snack

    15, to_number (substr(nibble,1,1)) * power (2, 1-1) as bitval1

    16, to_number (substr(nibble,2,1)) * power (2, 2-1) as bitval2

    17, to_number (substr(nibble,3,1)) * power (2, 3-1) as bitval3

    18, to_number (substr(nibble,4,1)) * power (2, 4-1) as bitval4

    19, to_number (substr(nibble,1,1)) * power (2, 1-1) +.

    20 to_number (substr (nibble, 2, 1)) * power (2, 2-1) +.

    21 to_number (substr (nibble, 3, 1)) * power (2, 3-1) +.

    22 to_number (substr (nibble, 4, 1)) * power (2, 4-1) as total_val

    23 of split4

    24                   )

    25 select * from bitpowers

    26.

    L NIBB BITVAL1 BITVAL2 BITVAL3 BITVAL4 TOTAL_VAL

    ---------- ---- ---------- ---------- ---------- ---------- ----------

    1 1000          1          0          0          0          1

    2 0011          0          0          4          8         12

    3 0000          0          0          0          0          0

    4 1011          1          0          4          8         13

    5 1001          1          0          0          8          9

    6 1011          1          0          4          8         13

    7 1001          1          0          0          8          9

    8 1011          1          0          4          8         13

    9 1011          1          0          4          8         13

    10 1011          1          0          4          8         13

    11 0111          0          2          4          8         14

    12 1011          1          0          4          8         13

    13 1001          1          0          0          8          9

    14 0011          0          0          4          8         12

    15 0010          0          0          4          0          4

    16 0011          0          0          4          8         12

    16 selected lines.

    These final values are then re-combination as strings in reverse order so that you get then:

    '12' |' 4'||' 12' |' 9'||' 13'... and so on.

    In SQL...

    SQL > byte (select ' 0111000001100001011100110111001101110111011011110111001001100100' as pieces of double)

    2, swap3bit as (-take the binary string and put the first bits (high) 3 as a (low) bit of the right hand side)

    3. Select bytes.bits

    4, substr (bit 4) | substr (bits, 1, 3) as init_substr

    5 bytes

    6                   )

    7, split4 as (-chop the string of bits nibbles (half bytes - 4 bits))

    8. Select level l

    9, substr (init_substr, ((level-1) * 4) + 1, 4) as a nibble

    swap3bit 10

    11. connect by level<=>

    12                 )

    13, bitpowers (select l

    14, snack

    15, to_number (substr(nibble,1,1)) * power (2, 1-1) as bitval1

    16, to_number (substr(nibble,2,1)) * power (2, 2-1) as bitval2

    17, to_number (substr(nibble,3,1)) * power (2, 3-1) as bitval3

    18, to_number (substr(nibble,4,1)) * power (2, 4-1) as bitval4

    19, to_number (substr(nibble,1,1)) * power (2, 1-1) +.

    20 to_number (substr (nibble, 2, 1)) * power (2, 2-1) +.

    21 to_number (substr (nibble, 3, 1)) * power (2, 3-1) +.

    22 to_number (substr (nibble, 4, 1)) * power (2, 4-1) as total_val

    23 of split4

    24                   )

    25 select listagg (to_char (total_val)) the Group (order of the desc) as pwd

    26 of bitpowers

    27.

    PWD

    -------------------------------------------------------------------------------------------------------------------

    12412913141313139139130121

    Now, the problem of decryption is that these numbers are concatenated without padding for a fixed number of digits by value, so you don't know if it was

    '12' |' 4'||' 12' |' 9'||' 13'... and so forth as we did it, or whether he was

    '1'||' 2'||' 4'||' 12' |' 9'||' 1'||' 3'... and so on, or any other combination of values from 0 to 15

    There is essentially no information to allow you to divide the string upwards in the correct components to allow the whole process be reversed.

    So, you are out of luck... no chance of decrypting it.

  • How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    I have a table whose columns with values such as

    MINNEAŸPOLIS and ¿VV ¿A

    Only the characters that are allowed in this column are alphabets, numbers, spaces, points and supports.

    Please help to write a SQL SELECT with Regexp_like query or any other option.

    Thanks to you all! Under query worked for me. Thank you Frank to explain the concept of hooks inside regexp_like.

    SELECT * FROM testspecial, WHERE REGEXP_LIKE (sampletext, "[^] ^ A - Z ^ a - z ^ 0-9 ^ [^.]") ^ {^} ^]') ;

  • No idea how to write this query

    Hi, My Data is as below

    DocNum doc_date type of amount
    1154 15 November 11 232501.5 invoice
    200206 4 November 11 - 243672.64 credit memo
    Note flow 111 5 November 555.22 11

    Output must be

    DocNum doc_date amount Type AmountDR AmountCR
    1154 232501.5 15 November 11 Bill 232501.5
    Note credit 200206 4 November 11 - 243672.64 - 243672.64
    Note flow 111 5 November 555.22 11 555.22

    If the amount is > 0, then it must be displayed in the value of the amount to be AmountDR
    If amount < 0 then it must be displayed in the value of the sum amount CR



    Can help how to write this query
    with sample_table as (
                          select 1154 Docnum,date '2011-11-15' doc_date,232501.5 Amount,'Invoice' type from dual union all
                          select 200206,date '2011-11-04',-243672.64,'Credit Memo' from dual union all
                          select 111,date '2011-11-05',555.22,'Debit Memo' from dual
                         )
    select  Docnum,
            doc_date,
            Amount,
            type,
            case
              when Amount >= 0 then Amount
            end AmountDR,
            case
              when Amount < 0 then Amount
            end AmountCR
      from  sample_table
    /
    
        DOCNUM DOC_DATE      AMOUNT TYPE          AMOUNTDR   AMOUNTCR
    ---------- --------- ---------- ----------- ---------- ----------
          1154 15-NOV-11   232501.5 Invoice       232501.5
        200206 04-NOV-11 -243672.64 Credit Memo            -243672.64
           111 05-NOV-11     555.22 Debit Memo      555.22
    
    SQL> 
    

    SY.

  • How to write the function for bottom of logic...

    I have a picture in the picture I have a records like below
    code value
    1 20
    2 null
    3 30
    4 null
    5 40
    6 null


    The output need to have the values displayed in the fields first, followed by the NULL values as below

    code value
    1 20
    2 30
    3 40
    4 null
    5 null
    6 null

    I think the suspicion is that the values must be concatenated with the replacement of NULL values with (;).
    as
    20, 30, 40
    Get single values and insert into the table...

    for this I don't know how to write function for who can please help me on these...

    Published by: Claudia on June 22, 2011 22:45

    Published by: Claudia on June 22, 2011 22:51

    Create or replace function test_fun
    is
    cursor fun1 is the value select from table by CSA 2;-"this select query will return 20,30,40, null, null, null".
    v_out varchar2 (20);
    Start
    fun1 open cursor;
    loop
    extract the fun1 in v_out;
    dbms_output.put_line (v_out); - this is the command display output on the screen.
    output when fun1 not found %;
    end loop;
    close;
    end;

    Please try it and tell us if no query...

    Thank you
    IQ

  • How to write Save function based on the drop-down list box selection data in app mxml flex4 with as3

    Hi all

    I'm working on the application web flex4 with as3.

    I have a doubt, I've created a mxml it has two text boxes, except the button and a combo box that is has two option as a percentage and the amount.

    my needs are I gave here.

    need 1: when I choose option amount that two text boxes does not have to be editable.when I select text tat box two percentage option will be editable.

    need 2: when I select the percentage in combox option and two text boxes are empty, and then click the button Save-> I want to display warning msg

    need 3: when I select the option amount combox and the two boxes are emptu click the button Save-> I don't want any warning messages.

    How to validate it and how to write backup for this function.

    This is my sample code:

    list box ID = baseAmtPer

    ID TextBox1 = maxCommAmt.text

    ID = baseAmtPer.text text box

    If (((baseAmtPer.editable!=true) & & (maxCommAmt.editable! = true)) & & ((baseAmtPer.text=="") & &(ma xCommAmt.text=="")) |) (baseAmtPer.text == "") | (maxCommAmt.Text=="")) -> This condition not allowing while I'm selecing amount in combo box. How the TWO TEXT BOX WILL BE EMPTY for this problem

    {

    Alert.Show ("enter in all areas", "Information");

    }

    on the other

    {

    some encodings

    }

    Hello

    Please go through the following Code:

    http://ns.Adobe.com/MXML/2009.

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = "955" = "600" minHeight >

    Import mx.collections.ArrayCollection;

    Import mx.controls.Alert;

    Import spark.events.IndexChangeEvent;

    protected function button1_clickHandler(event:MouseEvent):void

    {

    If (comboBox.selectedItem == "Percentage" & textBox1.text == "" & textBox2.text == "") {}

    Alert.Show ("enter the values");

    }

    }

    protected function comboBox_changeHandler(event:IndexChangeEvent):void

    {

    {if(ComboBox.SelectedItem=="Amount")}

    textBox1.editable = false;

    textBox2.editable = false;

    }

    else {if(comboBox.selectedItem=="Percentage")

    textBox1.editable = true;

    textBox2.editable = true;

    }

    }

    ]]>

    Amount

    Percentage

    Thank you and best regards,

    ------------------------------------------------------------------------------------------ --

    Vibhuti Gosavi . [email protected] | www.infocepts.com

    ------------------------------------------------------------------------------------------ --

  • How to write a procedure to call and run the custom package backend

    Hi all

    Oracle 10g
    Oracle Apps R12

    I work with here oracle order management, we have a package called (Pick Release) to customize. Due to a problem, we have this concurrent program execution manually giving Route_id as parameter. The route_id comes from the road to the Table. By using this query

    Select distinct route@DB_LINK_APPS_TO_ROADSHOW route_id
    When trunc (route_date) = trunc (sysdate + 2).

    on a daily basis, we have almost 42 routes and we run this simultaneous program manually close times.

    so now how to write a procedure for this

    Step 1 make the route to the routing table. (By cursor we can get the route_id accordingly)

    Step 2 How to trigger custom backend package and run accordingly to this output of the cursor (route_id)

    If 40 routes of cursor get is - that the simultaneous program runs 40 times according to this route_id.


    can some could provide the steps to do this


    Thanks and greetings

    Srikkanth.M

    To submit a competing request from the back - end:

    FND_REQUEST. SUBMIT_REQUEST (Client or server)

    Summary

    function FND_REQUEST. SUBMIT_REQUEST

    (application IN varchar2 default NULL,

    program IN varchar2 NULL by default,

    Description IN varchar2 default NULL,

    start_time IN varchar2 default NULL,

    sub_request IN default boolean FALSE

    Argument1,

    argument2,..., argument99.

    Return to argument100 number);

    Description

    Submits a competing treatment by a simultaneous Manager. If the query is successful, this function returns the ID of the concurrent request; Otherwise, it returns 0.

    ATTENTION: FND_REQUEST needs to know information about the user and accountability whose application is submitted. Therefore, this feature works of concurrent programs or forms within the Oracle Applications.

    The FND_REQUEST. SUBMIT_REQUEST function returns the ID of the concurrent application after successfully. It is up to the caller to issue a commit to complete the application.

    Your code should retrieve and handle the error message generated if there is a problem of presentation (the ID of the concurrent request returned is 0). Use FND_MESSAGE. RETRIEVE and FND_MESSAGE. ERROR to retrieve and display the error (if the application is made on the client side).

    Related essays: overview of the Message dictionary (see page)

    You must call FND_REQUEST. SET_MODE before calling FND_REQUEST. SUBMIT_REQUEST of a database trigger.

    If FND_REQUEST. SUBMIT_REQUEST fails to go anywhere but a database trigger, database changes are cancelled until the time of the function call.

    After a call to the FND_REQUEST. SUBMIT_REQUEST function, installation of all parameters are reset to their default values.

    Arguments (input)

    short name of the application associated with the concurrent request for enforcement.
    short simultaneous program (not the executable) name of the program for which the application must be made.
    Description Description of the application that appears in the form of concurrent requests (optional).
    start_time time during which demand is expected to start running in the (optional) HH24 or HH24:MI:SS format.
    sub_request set to TRUE if the request is made by another application and should be treated as a subquery.
    From version 11, this parameter can be used if you submit requests for in a concurrent program of PL/SQL stored procedure.
    argument1... 100 arguments for the concurrent request; up to 100 arguments are allowed. If the Oracle Forms submitted, you must specify all arguments of 100.

  • How to write a custom component

    I have 3 quick questions on How to write a component. Here is the code in my main file I want to write as a component:

    buttonCanvas = new Toile;

    buttonCanvas.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler)

    buttonCanvas.addEventListener (FlexEvent.CREATION_COMPLETE, setcanvasPosition)

    buttonCanvas.width = 300;

    buttonCanvas.height = 30;

    if (i%2==0){

    buttonCanvas.setStyle ("styleName" "style1");

    }else{

    buttonCanvas.setStyle ("styleName" "style2");

    }


    This is the component:


    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Canvas ' http://www.Adobe.com/2006/MXML "creationComplete ="init ()">
    < mx:Script >
    <! [CDATA]
    public var i: int
    public void init (): void {}
    trace ("i =" + i)
    This.Width = 300;
    This.Height = 30;
    If (i %2 == 0) {}
    this.setStyle ('styleName', 'style1');
    } else {}
    this.setStyle ('styleName', 'style2');
    }
    this.addEventListener (MouseEvent.MOUSE_DOWN
    }
    []] >
    < / mx:Script >
    < / mx:Canvas >

    Question 1: What is the best way to pass the value of the variable 'i' to the compoonent? What I have to write:

    buttonCanvas.i = i;
    or can I pass the argument to the component as follows, and if so, how I capture the value of the component? :

    buttonCanvas = new ButtonCanvas (i);


    Question 2: Where is the best place to put the listeners? Should I put them in the main file:

    buttonCanvas.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler)
    buttonCanvas.addEventListener (FlexEvent.CREATION_COMPLETE, setcanvasPosition)
    or should I put them in the component like this:

    this.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler)

    Question 3:If I put them in the component, how to point to the function named "buttonMouseDownHandler" in the main file?

    Thanks for your time!

    Hi SiHoop,

    Well come to your question, here is the solution:

    Question 1: What is the best way to pass the value of the variable 'i' to the compoonent? What I have to write:

    buttonCanvas.i = i;
    or can I pass the argument to the component as follows, and if so, how I capture the value of the component? :

    buttonCanvas = new ButtonCanvas (i);

    (A) you can use the method buttonCanvas.i = i; but not buttonCanvas = ButtonCanvas (i) again because this corresponds to an instantiation of the constructor, and you cannot specify a constructor explicitly for your component as the Flex compiler automatically provides at the time of the compilation;

    Using the second approach, you can pass that I appreciate, but you can use this syntax to get the value I have...

    buttonCanvas = new ButtonCanvas();

    buttonCanvas ["i"] = i;

    Question 2: Where is the best place to put the listeners? Should I put them in the main file:

    buttonCanvas.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler)
    buttonCanvas.addEventListener (FlexEvent.CREATION_COMPLETE, setcanvasPo)
    or should I put them in the component like this:

    this.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler)

    (A) it depends purely on your condition if you want to listen to these events with in your component and make somechanges in your component itself and not to other elements, then you can set headphones for events in the same component.

    But if you want to know or communicate with other components in your component event has occurred then define you the eventListeners in other components as below and update of data or make changes in the other component accordingly...

    buttonCanvas = new ButtonCanvas();

    buttonCanvas.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler);
    buttonCanvas.addEventListener (FlexEvent.CREATION_COMPLETE, setcanvasPosition);

    Question 3: if I put them in the component, how to point to the function named "buttonMouseDownHandler" in the main file?

    (A) If you put the eventListeners with the component and if you want to point to the function named "buttonMouseDownHandler" in the main file, then you must do the following:

    In your component

    this.addEventListener (MouseEvent.MOUSE_DOWN, buttonMouseDownHandler);

    private void buttonMouseDownHandler(event:MouseEvent)

    {

    Here, you need to send a custim event to warn other components this thi event has been dispatched

    this.dispatchEvent (new Event ("buttonMouseDownEvent"));

    }

    Now in your main mxml, you have to listen to this event, as shown below:

    buttonCanvas = new ButtonCanvas();

    buttonCanvas.addEventListener ("buttonMouseDownEvent", buttonMouseDownHandler);
    buttonCanvas.addEventListener (FlexEvent.CREATION_COMPLETE, setcanvasPosition);

     

    private void buttonMouseDownHandler(event:MouseEvent)

    {

    It is the function in your main mxml file

    }

    Hope you understand most... If you have any doubts do let me know...

    Thank you

    Jean Claude

  • How to write the select query for it

    Hello

    I had an html form and the area I drop down and he needs to select several values in the drop-down box. When I select multiple values then I have to write the query to SQL select statement.

    When I try to write the select statement and trying to run I get the error message.

    Select * from Table

    where emo_no = '1,2,3 '.

    That's how I write the query please suggest me how to write the query to select several values in the drop-down box.

    Thank you

    Use the keyword sql 'in '.  If you don't know how, I've heard good things about the book Teach Yourself SQL in 10 Minutes by Ben Forta.

Maybe you are looking for

  • best ways to synchronize a lot of music

    Hello. I have a 2 GB clip + and like - I just got a 16 GB for her card and want to sync a lot of music - to fill out the card.  Used in itunes, I thought it would be easier, but I found that on my win7 pc, media player was very slow and delay (I do I

  • BlackBerry Q10 Q10 browser Word Wrap issue

    In the case of mobile browser, how to return to the line.  If the zoom words is too small, so zoom to have to scroll horizontally to read full sentences. Very annoying.  Thank you Chief

  • problem showing version numer of my app in blackberry device

    I want to show the name and the version number of my application in the form that is accessed through the Options-> Advanced Options-> Applications. The name is displayed correctly, but the version number indicate 'unknown '. How to correct? The name

  • HP W2071D monitor - Windows 7 64 bit

    My monitor sleeps when I shut down the computer.  Why the monitor does not turn off?  If possible, please walk me through the steps.

  • HP eprint docs

    How can I remove completed printing of documents in the hp eprint app? I use a samsung sch i577 Galaxy.