convert the items in table re / im values?

I 2Darray and want to convert its components to re / im values

want to be
26 + 49i
81 + 93J
and you want that all values are not specific, we (myself cant input values) wants to ground for general case

Yes you can do this by using the function given by rolfk

Tags: NI Software

Similar Questions

  • to access the items in tables: confusion

    Hi, to access the items in a table is fundamental, but I am confused because I thought that you should use getChildAt (i) in a loop etc to access their "do something for them." However, I have a code that does not use getChildAt - it simply loops through the table. So why should I use getChildAt if I do ' t need?

    most of the stuff you said is incorrect or starting point.

    It is really very similar between the tables and displayobjectcontainers except the two can be used to browse a few displayobjects.

  • ADD ITEMS TO THE LIST DROP-DOWN LIST TO A TEXT FIELD (USER ENTERS THE ITEM) AND ALSO RELATED TO VALUE

    Untitled.jpg

    I have WANTED to ADD of ELEMENTS from the list drop-DOWN OF THE AREA of TEXT (the ELEMENT NAME) WHERE the USER BETWEEN of THE DESCRIPTION of POINT

    AND RELATED value SHOULD ALSO BE ADDED to THE SAME ELEMENT.

    LIKEWISE REMOVE ITEMS IN THE DROP-DOWN LIST

    PLEASE GIVE SHAPE TO SAMPLE OR JAVASCRIPT FOR THE ABOVE SCENARIO...

    INDEED USEFUL FOR MY PROJECT PLEASE SEND PDF FORM

    Hi Praveen,

    You can add items to the list in a specific order, which would be to load the elements in an array, sorting and then load in the dropdown list drop-down list.  This would be in the click event of the button Add.

    Create a table to hold all the list items, table drop-down list contains objects with a property 'displayItem' and 'value '.

    dropDownItems var = [];

    Add the new

    dropDownItems.push ({displayItem: ItemName.rawValue, value: BoundValue.rawValue});

    Add existing ones

    for (var i = 0; i)< dropdownlist1.length;="">

    {

    dropDownItems.push ({displayItem: DropDownList1.getDisplayItem (i), value: DropDownList1.getSaveItem (i)})

    }

    Sort by ascending order of displayed text

    () dropDownItems.sort

    function (a, b)

    {

    If (a.displayItem< b.displayitem)="" return="">

    If (a.displayItem > b.displayItem) return 1;

    return 0;

    });

    clear all items

    DropDownList1.clearItems ();

    load the sorted items

    for (var i = 0; i)< dropdownitems.length;="">

    {

    var dropDownItem = [i] dropDownItems;

    DropDownList1.addItem (dropDownItem.displayItem, dropDownItem.value);

    }

    clear the fields of the source

    ItemName.rawValue = null;

    BoundValue.rawValue = null;

    I added a button 'Add' sorted in my sample https://workspaces.acrobat.com/?d=OwysfJa-Q3HhPtFlgRb62g

    Concerning

    Bruce

  • With the help of the function of worksheet to convert the string in table 1 d

    Hello to all 2!

    I have the following problem: I have a string (which I have read in a txt file), and using the chain of worksheet to the array function, I want to turn this string in a table 1 d of double. MY PROBLEM is that the resulting string is only the first element. How I see the other items too?

    4 thank you for your time!

    P.S. I use LabView 8.5.1. Windows XP SP 2

    Check the code below:

    or only one solution: (do not know why Path2 showed up to... ignore her...)

  • Disable the item based on a different value of items

    Hello, I am trying to disable an element based on the value of another, and I'm not sure what I'm doing wrong.

    I have in the header section of HTML form:

    < script type = "text/javascript" >
    function disFormItems (item1) {}
    disItem = document.getElementById (item1);
    disItem.style.background = "#eeeeee";
    disItem.disabled = true;
    }
    < /script >


    In the foot of the region, when I had the bottom it works.
    < script type = "text/javascript" >
    {disFormItems ('P19_RETURN_TO_CUSTOMER')}
    < /script >

    When I try to add my condition, nothing happens.
    < script type = "text/javascript" >
    IF ("P19_FILE_STATUS" = "A")
    {disFormItems ('P19_RETURN_TO_CUSTOMER')}
    < /script >

    Why don't you use:
    $f_DisableOnValue (pThis, pValue, pThat)
    Checks the value (pValue) of an element (pThis). If it matches, this feature disables the element or the array of items (pThat). If it does not, then the element is activated.

    so in your case: $f_DisableOnValue ('P19_FILE_STATUS', 'A', 'P19_RETURN_TO_CUSTOMER');

  • Reset the value of the item page to null

    Hello
    On one of the pages of my site, my I list of some articles and each value of the element is a link, and if I click on the name of the element, a pop up appears which shows me the history of the issue. This pop-up history item, I have two elements of date picker where I provide the start and end date between which I want to see the story from this point. I add two calculations (before header) to set the values of the selectors of dates for the minimum and maximum dates for the mark of history goes back to this article in the database and on the first time, a complete history of the item turns in pop. Now I can choose my own minimum and maximum dating bicker date element and press a button, now the pop up refreshes and shows me the story between the dates, I have chosen.
    Now I close the pop-up windows and click on something else, but here when pop up is charged, I see the old values of date (that I selected for the previous article) in the date picker and ideally my calculations must have worked and dates selectors should see the minimum and maximum dates for this item.

    Can someone help me solve the problem so that if ever a new pop-up is open to a new element, the element in date picker must have updated them to the values that should be linked to the new item I clicked on that moment rather than date of previous section values.

    Thanks in advance

    Salman

    Hello Salman,

    I think I understand now what you are aming at.
    You say you have a calculation for the popup that defines the values where they are used for the first time. What conditions you have on these points? I guess they are submitted every time that you run the update, so the State of the item is updated with these values. If you don't reset it, these values will persist and be taken to the next item, which is what you currently see.
    You can place a process in your calling page that resets the page desired elements to be null before your calculation evaluates their condition, so the calculation allows you to retrieve the values of database. Another option would be to send a trigger element (for example a hidden item PX_TRIGGER get value 1 on submit) to the target page, which is part of the condition of your calculation (PX_TRIGGER = 1) and reset the trigger in your calculation (: PX_TRIGGER = 0).
    Please correct me if I am wrong.

    -Udo

  • How to convert the lines into columns dynamically

    HII
    I have a 'report_line' with the following data table

    location_code line_code value
    LOC1 L1 12
    loc2 L1 13
    LOC1 L2 15
    loc2 L3 11
    LOC3 L1 9

    Now I want the o/p by converting the line_codes in clumns as below

    L1 L2 L3
    LOC1 12 15
    13 11 loc2
    LOC3 9

    How can I do this dynamically. Line codes are not constatnt, they can change for each scenario.

    Thank you
    Sandeep

    I want just a sql for this query and no. columns ' maximum of are 6.

    In this case you can do.

    --sample data
    with t
    as
    (
    select 'loc1' location_code, 'L1' line_code, 12 value from dual union all
    select 'loc2', 'L1', 13 from dual union all
    select 'loc1', 'L2', 15 from dual union all
    select 'loc2', 'L3', 11 from dual union all
    select 'loc3', 'L1', 9 from dual
    )
    --end of sample data
    select location_code,
           max(decode(line_code, 'L1', value, null)) L1,
           max(decode(line_code, 'L2', value, null)) L2,
           max(decode(line_code, 'L3', value, null)) L3,
           max(decode(line_code, 'L4', value, null)) L4,
           max(decode(line_code, 'L5', value, null)) L5,
           max(decode(line_code, 'L6', value, null)) L6
      from t
     group by location_code
    

    Here I used the WITH clause as an example of table. You can replace the "t" table name in the select statement with your actual table and remove the WITH clause.

  • ADF: How to convert column ADF output text to link to the item in the table?

    Hello world

    I use Jdev 11 G.

    I dragged VO as adf read only the table that is to have 10 columns.
    now my requirement is to convert the first column "empid" to link the item.
    How can I convert this column as a link?

    and one more thing by clicking on this link, we should sail to OAF page from empid as parameter.
    How can I achieve this?

    Any answer will be really useful.

    Thank you.

    In my opinion, using af: goLink is the right option when you call a page of the outsider.
    you do not download workspace sample & test it provided link?
    You can select yr af:commandLink in the Structure window & do a right click to select "create a binding of the action method.
    In the open dialog box you can choose the "connection method" & then name the bean with the same method name generated by the IDE.

  • PHP convert the variable date of table format

    I can not explain this without showing all the code...

    I have a script which basically scrape information off the myspace site and updates the information in a table.  I then had the script put this in tabular form.  The problem that I'm hoping to get help, I would like to change the date format, and I don't know how I can do this since it is Setup how to loop through the table.  If anyone can show me a better way to do it without a loop or a way to convert the date, I'd be very happy.

    18/06/2009 22:00-Thursday, June 18, 2009 22:00

    <? PHP

    include('simplehtmldom/simple_html_dom.php');

    $myspace_url = "url I'm scraping."

    ini_set ('user_agent', ' scratch/2.5');

    $html = file_get_html ($myspace_url);

    $i = 0;

    foreach ($html-> find ('input [type = "hidden"]') as $k = > $v) {}

    If ($v-> name == "calEvtLocation") {}

    $shows [$i] ['location'] is $v-> value;.

    }

    If ($v-> name == "calEvtCity") {}

    $shows [$i] ['city'] is $v-> value;.

    }

    If ($v-> name == "calEvtState") {}

    $shows [$i] ['State'] is $v-> value;.

    }

    If ($v-> name == "calEvtDateTime") {}

    $shows [$i] ['date'] is $v-> value;.

    $i++;

    }

    }

    ? >

    < table border = "0" align = "center" cellpadding = "8" cellspacing = "0" >

    < b >

    < e style = "text-align: left;" do-size: 12px; "> < /th > venue

    < e style = "text-align: left;" do-size: 12px; ' > city < /th >

    < e style = "text-align: left;" do-size: 12px; "> Status < /th >

    < e style = "text-align: left;" do-size: 12px; "> date/time < /th >

    < /tr >

    <? PHP

    foreach ($shows as $show)

    {

    echo "< tr >";

    foreach ($show as $item)

    {

    echo "< td > < table > $item";

    }

    echo "< /tr >";

    }

    ? >

    < /table >

    Move the $i ++ should not have any effect on the way in which items are displayed thereafter.

    How I would deal with the table is like this:

    ";
    }
    ?>
    
  • apex_util.prepare_url - by the way a comma between the item values

    Hello

    I created an application to illustrate a problem I'm having with the help of apex_util.prepare_url: http://apex.oracle.com/pls/otn/f?p=test_prep_url

    ' Tab ' without prep. url "displays a chart linking from this page (1) 2 using the usual f? syntax of p in the link, through two values, one for p2_schema_name and one for the p2_job_name values hidden on page 2. It works fine and the page 2 table displays data based on these past in values.
    The link is set up as: ' f? p =' || : APP_ID | ':2:' || : APP_SESSION. ": NO:2:P2_schema_name, P2_JOB_NAME:' |" schema_name | ',' || JOB_NAME

    ' Tab ' with prep. url "displays a chart which links from this page (3) on page 4 use apex_util.prepare_url to prepare the connection, passing two values, one for p4_schema_name and one for the p4_job_name in the values hidden on page 4. However, the decimal point is rendered in the browser '% 252C' url and p4_schema_name has the value "SCHEMA_A % 2CJOB_3" and p4_job_name is null (instead of = "JOB_3"). Of course, no data is found.
    The link is set up as: APEX_UTIL. PREPARE_URL ('f? p =' |: APP_ID |) ':4:' || : APP_SESSION. ": NO:4:P4_schema_name, P4_JOB_NAME:' |" schema_name | ',' || JOB_NAME)

    So I say to myself that I send you the value of point across properly, but I don't know what I would do differently. I hope the demo app described my problem enough so that someone can point out my blunder.

    The reason why I use APEX_UTIL. PREPARE_URL is that I would like to use session state protection and through the amount of control, but until I can get the sorted comma, I can't turn on session state protection.

    Thank you for your help.

    Alan

    Update: it is not prepare_url that does. Prepare_url encodes the comma in the list of item as % 2 c values. Then when the table XML gets converted to a blob for output, the % sign is encoded again. We will have to figure out what to do about this. In the meantime, only one element value can appear in the f? p link in a flash (fixed SVG chart) chart.

    Scott

  • Easiest way to convert the cluster with named variables table?

    I have a table of variables, I essentially unbundle this table of named variables.

    I believe that the only way to achieve this is to convert the cluster table (not to mention that the deletion of each item one by one)?

    Is what I've done below the best way to do it? seems a little weird to unbundle and rebundle by name.

    Comments appreciated.

    Altenbach says:

    Maybe a simple catalogued the cluster would work.

    Of course, it does!

  • E/s files does not save the items in the table

    I can't save the items in the table. If I quit the program and restart it, the array starts at 0 again. I want it from the value at which it stopped.

    Is this a flaw in the Subvi "Timer A1"?

    Thanks for the help.

    mhaque

    Your feedback nodes are defined overall boot on the first call, as evidenced by the glyphs.  If you are stop and start your program, must be configured to initialize worldwide on the compilation or the load, simply right-click and change the setting.  This should give you the behavior you're looking for, but does not exclude the intrinsic problems with the code.

  • Convert the Period_Name in GL_JE_Lines table to a date format and then come back year

    I'm working on a data model BI Publisher and I try to convert the Period_Name in GL_JE_Lines table to a date format and then return of the year.

    The sql below works in 11i, but I can't make it work in Fusion.

    to_char (to_date (l. )) period_name , ' MON-RR ' ),'YYYY')

    Any ideas?

    Hi Jennifer,.

    To_char (sysdate, 'DDMONYYYY') in BI Publisher does not return a correct results due NLS_DATE_FORMAT/DATE_LANGUAGE settings.

    According to the standards of the I18N, NLS_DATE_LANGUAGE in the database is still hardcoded to NUMERIC_DATE_LANGUAGE. NUMERIC_DATE_LANGUAGE 'MY' in a date format mask is an integer, so you see the correct value.

    You're not supposed to publish direct SQL with fixΘe format masks (unless it's some sort of canonical format used in internal processing, including the end-user will not be), you should return language digital date to the mid range and then make the formatting of y.

    Workaround

    Try adjusting the NLS_LANGUAGE in SQL data model to override formatting from of the

    Data base and values of the Session, for ex: select to_char (sysdate, 'MON-DD-YYYY', 'NLS_DATE_LANGUAGE = AMERICAN') of double;

    I got this Oracle support after lifting a SR.

    Thank you

    Rahul.

  • help on the use of dynamic action to update the items in a table (more precisely, the radio button) based on the collection

    Hi everyone, I posted this question in the past and made huge strides with the help of Denes Kubicek: https://apex.oracle.com/pls/apex/f?p=31517:294:115851992029365: based on my previous question posted: https://forums.oracle.com/forums/thread.jspa?threadID=2537494

    I'm fighting with a single element in my tabular presentation.  There is a radio button.  The choices all seem correctly, but the value is not saved in the collection (and therefore not recorded in the table).  All the other elements in the form of tables to record properly.

    Here's what I have for the query.   This is element c024 (which maps to;) ("F03'), which is defined as a radio based on an existing LOV LOV.

    Currently I have:

    2 items on the page:

    P110_ID

    P110_VALUE

    Dynamic action called COLUMN of CHANGE:

    event: CHANGE

    selection type: jQUERY Selector

    jQuery:

    Select jQuery = input [name = "f03"], select [name "f08"], select [name = "f09"], input [name = 'f10'], input [name = 'f11'], input [name = 'f12'], select [name = "f40"], input [name = "f21"], input [name = 'f22'], input [name = "f23"], input [name = 'f50']

    scope of the event: Dynamics

    real action #1: set the P110_ID javascript expression this.triggeringElement.id

    real action #2: set the P110_VALUE javascript expression this.triggeringElement.value

    action 3: run pl/sql code

    declare
      v_member number;
      v_seq number;
    begin 
      v_member := TO_NUMBER (SUBSTR (:p110_id, 2, 2));
      select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual;
      safis_collections.update_column(v_seq,
                                    v_member,
                                    :p110_value);
    
    
    

    refreshment area true creation #4: LANDINGS_COLLECTION

    the tabular presentation is based on the query:

    SELECT
    apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow",
    seq_id,
    seq_id display_seq_id,
    apex_item.text_from_LOV(c004,'SPECIES')||'-'||apex_item.text_from_LOV(c005,'GRADE')||'-'||apex_item.text_from_LOV(c006,'MARKETCODE')||'-'||apex_item.text_from_LOV_query(c007,'select unit_of_measure d, unit_of_measure r from species_qc') unit,
    apex_item.select_list_from_LOV(8,c008,'DISPOSITIONS','onchange="getAllDisposition('||seq_id||')"','YES','0','  -- Select Favorite --  ','f08_'||seq_id,'') Disposition,
    apex_item.select_list_from_LOV(9,c009,'GEARS','style="background-color:#FBEC5D; "onFocus="checkGearPreviousFocus('||seq_id||');"onchange="getAllGears('||seq_id||')"','YES','3333','-- Select Favorite --','f09_'||seq_id,'') Gear,
    apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity,
    apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price,
    
    apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice
    ('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars,
    decode(c013,'Y',apex_item.text(14, c014,30,null,'style="background-color:#FBEC5D;" onClick="onFocusAreaFished('||seq_id||');"','f14_'||seq_id,''),'N','N/A') Area_Fished,
    decode(c017,'Y',apex_item.text(18, c018,4,null,'style="background-color:#FBEC5D; "onBlur="setUnitQuantity('||seq_id||')"','f18_'||seq_id,''),'N','N/A') UNIT_QUANTITY,
    decode(c017,'Y',apex_item.text(19,'CN',3,null,'readOnly=readOnly;','f19_'||seq_id,''),'N','N/A') UNIT_COUNT,
    c024 hms_flag,
    decode(c050,'Y',apex_item.checkbox(21,'Y','id="f21_'||seq_id||'" style="background-color:#FBEC5D; " onClick="alterYes('||seq_id||');" onKeyPress="alterYes('||seq_id||');"',c021),'N','N/A') FinsAttached,
    decode(c050,'Y',apex_item.checkbox(22,'N','id="f22_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterNo('||seq_id||');" onKeyPress="alterNo('||seq_id||');"',c022),'N','N/A') FinsNotAttached,
    decode(c050,'Y',apex_item.checkbox(23,'U','id="f23_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterUnk('||seq_id||');" onKeyPress="alterUnk('||seq_id||');"',c023),'N','N/A') FinsUnknown,
    decode(c050,'Y',apex_item.textarea(28,c028,3,null,null,'f28_'||seq_id,''),'N','N/A') Explanation,
    decode(c024,'N',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'U',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'Y','N/A') Nature_Of_Sale,
    decode(c020,'Y',
    apex_item.select_list_from_LOV(40,c040,'HMS_AREA_CODE','style="background-color:#FBEC5D;"',null,null,null,'f40_'||seq_id,''),
    'N','N/A') HMS_AREA_CODE,
    c020,c050,
    decode(c020,'Y',
    apex_item.text(41,TO_NUMBER(c041),5,null,null,'f41_'||seq_id,''),
    'N','N/A') Sale_Price
    from apex_collections
     where collection_name = 'SPECIES_COLLECTION' order by seq_id
    
    
    
    
    
    

    I noticed the following:

    When I change the column C011 (price) the following values are defined in dynamic action:

    P110_ID = f11_1

    P110_VALUE is everything that I change the price.

    When I change the column C024 (hms_flag), the following values are defined:

    P110_ID = f03_0001

    P110_VALUE = change everything what I hms_flag to.

    the region is updated in my dynamic action, and change of hms_flag does not take.  I tested the SQL query that generates the value of v_SEQ in the dynamic action.   Both a change of price and HMS_FLAG, it seems valid

    Select ltrim (substr(:p110_ID,5,4),'0 ') in the double v_seq;

    If f11_1, v_seq: = 1

    If f03_0001, v_seq: = 1

    Thank you!

    solved.  sort of.

    domain c024 references f03.

    dynamic ACtion, step 4 calculated v_member as a substring of P110_ID... and in all other areas, the column and the field (fxx) displayed the same value... otherwise c024.

    I'm not exactly sure how solve it, but see the problem.

  • passing the value of the item to another page

    Hello!

    I have a few questions while passing the value of the item to another presentation page and page refreshes.

    I have a page (page n ° 2) with more areas where users can fill data in some articles (text box, popups,...), then I have a region report report and button to enter a new item. When users, click the button is it redirects to another page (page no. 21), where the user enters the values to other elements (popup, text box,...) then I have 3 buttons on this page ('Cancel', "create one", "create an and create another") and now I don't know how to handle the button ' create a. Action for the button "create one" I want is that when button "create one" is clicked in a table (in my DB) should be inserted some values of page 2 and certain values on page 21, then users should be redirected to page 2, where you can see everything that you see before the user has clicked 'enter a new element button' (so all the values in the elements of the page 2 must be visible) + in this report in the region must be updated (so you can see the inserted elements on page 21)

    I hope you understand what I mean and you can help me. And sorry again for my English.

    Kind regards
    Dragan

    You can create a collection and use it in this way:

    IF apex_collection.collection_exists ("YOUR_COLLECTION") = TRUE THEN
    apex_collection.delete_collection (p_collection_name-online 'YOUR_COLLECTION');
    END IF;
                             
    apex_collection.create_collection (p_collection_name-online 'YOUR_COLLECTION');

    -Value added to the collection
    apex_collection.add_member ("p_collection_name-online 'YOUR_COLLECTION', p_c001 => ' value to save");

    -get the value of collection
    Select C001 in apex_collections where collection_name = "YOUR_COLLECTION";

    Go through this link to learn more about the collections http://docs.oracle.com/cd/E17556_01/doc/apirefs.40/e15519/apex_collection.htm

    OR

    as you say if its only id you want to perform, then simply create an item hidden in your page 2 =>: P2_ID_SO, then capture the value in your 2 page deal and use it in page 21.

    -Manu

  • Maybe you are looking for

    • Can I add a button print for Thunderbird?

      Is it possible to add an icon of 'button' or printer print at Thunderbird without having to click on the file or more to get to print. By example, if I see an email that I want to print it would be faster if I had a printer icon or button click.

    • I get error code 800F0825 when the computer attempts to install the update to vista KB938371. What should I do to fix this?

      Ideas: You have problems with programs I get error code 800F0825 when the computer attempts to install the update to vista KB938371. What should I do to fix this? messages Recent changes to your computer What you have already tried to solve the probl

    • Vista does not see my 2nd HD PATA

      I have a Vista machine professional that I try to install a second HD.  I checked in the BIOS and we see here.  I checked in disk management, and one sees there. Disk Management displays the disk as a 232,88 GB drive; Healthy (Primary Partition, Acti

    • 46 and counting, success of the installations of update KB2446708 last month.

      What intrigues me is that I see 46 facilities that were completed successfully on the history of windows update, but when I go to my control panel to display the installed updates so that I can remove the extras, there is no facility for KB2446708 sh

    • Local vs Excel 2007 Excel 2003 Thinapp

      Hello!I have ADI thinapp which have a connection with Excel 2003. My problem is when my local excel 2007 is open, ADI Excel 2007 and not Excel 2003. Do you know how to force a package to use Excel 2003 thinapp and not my local Excel 2007?Thank youEri

    Venue City State Date/Time
    {$show['Location']}{$show['City']} {$show['State']}{$show['Date']}