Array in Map

Is it possible to put an arry into a HashMap?
Map paramMap=request.getParameterMap();
String[] Str = (String[]) paramMap.get("lang");
It does return a String[]. In the map the values are put in array form.
I want to modify the value of "lang" in the Map. I have to put an array in the Map. But Map takes only Object.
How to do this?
Thanks.

You can answer this yourself when you realise that arrays are objects.

Similar Messages

  • Array of Maps without generic or warnings?

    How would I create an array of maps without getting an error about a generic type or a warning?
    This will give me an error.
    HashMap<Integer,Integer> test = new HashMap<Integer,Integer>[5];This will give me a warning.
    HashMap<Integer,Integer> test = new HashMap[5];

    Dennis_Martinez wrote:
    Could I see an example? I'm a little lost on doing so.I suspect you know how to use lists and ask for an example demonstrating the inherent unsafety. So here it is:
    List<String>[] generic = new List<String>[1]; // assume this works
    List<Integer> ints = new ArrayList<Integer>();
    ints.add(42);
    Object[] o = generic;
    o[0] = ints; // this should not work, but it does (erasure)
    List<String> strings = generic[0]; // really it's a list of Integers, ohoh
    // now you pass that list somewhere completely unrelated and try to get an element:
    String s = strings.get(0); // ClassCastExceptionCompare this to:
    String[] strings = new String[1];
    Object[] objects = strings;
    objects[0] = 42; // ArrayStoreExceptionWith kind regards
    Ben

  • Array of Map

    hi,
    the following code gives an error on the highlited line because the item is empty.
    how can i do it otherwise if i don't have the size of the Array ?
    Map[] groups =null;
    while (rs.next())
    //ret += rs.getString("key_num") + ",";
         int group_num = rs.getInt("key_num");
         int parent = rs.getInt("parent_key_num");
         if (parent>0)
         if (groups[parent]==null) *groups[parent] = new HashMap();*
         groups[parent].put(group_num, 1);//rs.getInt("is_manager");
    }

    with an ArrayList it also happens :
    List groups = new ArrayList();
    //Map[] groups =null;
    while (rs.next())
    //ret += rs.getString("key_num") + ",";
         int group_num = rs.getInt("key_num");
         int parent = rs.getInt("parent_key_num");
         if (parent>0)
         if (groups.get(parent)==null)
    groups.add(parent, new HashMap());
         Map mymap = (Map)groups.get(parent);
         mymap.put(group_num, 1);
         groups.add(parent,mymap);
         //groups[parent].put(group_num, 1);//rs.getInt("is_manager");
    }

  • Re: How to store the Information in arrays or Map?

    Hello Everyone,
    I'm reading a calling information from a file
    Calling number, Called to, Time Started, Time Ended
    050, 060 , 1255, 1350
    050, 080, 1050, 1100
    050, 060, 1110, 1130
    080, 090, 0530, 0610
    What is the best way to read this information and store it in arrays so that if I want to find out 050 called what numbers and at what times ?? How can I do that ?

    Create a class called Call or CallData or something that has fields for those quantities. Store instances of that class in a Map where the key is the calling number and the value is the object.
    http://java.sun.com/docs/books/tutorial/collections/

  • Creating array of hash maps

    hi,
    I tried creating an array of hash maps in my application .
    but it continued to give me problem
    can any of u help me in this regard.
    thank you

    int SIZE=...;
    HashMap[] maps=new HashMap[SIZE];
    for(int i=0; i<maps.length; i++){
    maps=new HashMap();
    Gil
    Or, for a purposely misleading solution...int SIZE=...;
    HashMap[] maps = new HashMap[SIZE];
    java.util.Arrays.fill(maps, new HashMap());

  • Problem in creating dynamic array field.

    Hi there,
    Following are the steps we followed to dynamically build the array field.
    1) Single column array field created with a single widget in the design time.
    2) Few more columns were added using 'Addcolumn' method.
    3) Data in the array object mapped to the array field is populated.
    4) All the dynamic field state was set to FS_UPDATE.
    5) Used Updatefieldfromdata method in all levels ( window, compound field, field widget).
    Problem faced
    1) Data is not visible in the dynamic fields created. But the data is visible in the field created during design time.
    Appreciate, if given any solution for this.
    Regards,
    Anand.

    if you don't see your text, you're not embedding the font.
    when you use actionscript to embed a font, you need to have the font in your library with a linkage id, create a textformat instance and assign its font property and finally assign the textformat to your textfield.  for example
    _root.createTextField("txt",_root.getNextHighestDepth(),50,50,50,50);
    _root.txt.embedFonts=true;
    _root.txt.text="hello";
    _root.txt._rotation=20;
    var tfor:TextFormat=new TextFormat();
    tfor.font="yourfontslinkageid";  // <- linkage id of font in your library
    _root.txt.setTextFormat(tfor);

  • Problem: mapping mouse co-ordinates to a list of nodes in a graph.

    Hi.
    I have an undirected graph containing many nodes, some represent squares/tiles and some represent rooms in a board-game called Cluedo.
    Each node has an ID: -
    Rooms are called by the room name. -> Kitchen/Lounge
    Squares are called by the concatenated x/y position. -> A1/A2/K20
    I have created an algorithm to find the shortest path between two nodes in the graph.
    The problem I'm faced with is finding a way to map co-ordinates on the image file to these IDs. I have seen an implementation of a similar idea with an invisible image acting as a "colour-mask", so when the click hits the graphical map a function works out the colour of that pixel on the "colour-mask" and then uses a look-up table to find out which ID that is associated to.
    The problem with the above is that a Cluedo board has about 22x22 tiles and several rooms (each room would occupy several tiles in an undefined shape.)
    I've provided two example map files:
    http://www.dcs.qmul.ac.uk/~ade1/map.gif
    http://www.dcs.qmul.ac.uk/~ade1/map2.gif
    Does anyone have a suggestion of how I could solve this problem using what's available to me with Java?
    I'd appreciate any suggestions,
    Alexander Ellis

    Create a two-dimensional array that maps from grid coordinates to node/room objects.
    NodeOrRoom[][] grid = new NodeOrRoom[22][22];
    grid[0][0] = kitchen;
    grid[1][0] = kitchen;
    nodeLookup(int pixelTop, int pixelLeft) {
      return grid[pixelTop / gridCellHeight][pixelLeft / gridCellWidth];
    }Matthew

  • How can I create arrays through the same recursive process?

    Hello again!
    I want to create some arrays with names like array1, array2, array3 etc
    through the same for loop.
    Do you know how this can be done? Thanks!
    for (int i = 0; i < 32; i++) {
    byte[] array???=new byte[400];
    }

    I want to create some arrays with names like array1,
    array2, array3 etc
    through the same for loop.
    Do you know how this can be done? Thanks!
    for (int i = 0; i < 32; i++) {
    byte[] array???=new byte[400]; You cannot create new names during runtime (array1, array2 are names).
    You can create a map that associates Strings with byte arrays though:Map<String, byte[]>  map= new HashMap<String, byte[]>();
    for (int i= 0; i < 32; i++)
       map.put("array"+i, new byte[400]);
    // get array associated with array26:
    int j= 26;
    byte[] oneOfTheArrays= map.get("array"+j);kind regards,
    Jos

  • Re: Focus Highlight Property of an Array Field

    Hi Rhonda,
    There was a couple of discussions about this subject a while ago. I
    remember
    of having posted a code sample myself. Take a look at the searchable
    archive.
    Ajith kallambella M.
    Forte Systems Engineer,
    International Business Corporation.
    From: "Shannon, Rhonda B" <[email protected]>
    Date: Fri, 21 Aug 1998 14:34:32 -0400
    Subject: Focus Highlight Property of an Array Field
    I have an array field on a window that is composedof >4 fields. The
    array field maps to an object that contains the 4
    fields. As the user
    scrolls through the array, I would like the entire
    current row to be
    highlighted, not just the current widget.
    I have been looking in the help both online and in
    the Fort=E9 manuals.
    In the index of the Display Library manual on page
    648, I see under the
    ArrayField class, a listing for FocusHighlightStyle
    attribute for page
    32. However, when I go to page 32, it is not there!
    In the online =help
    for Array Field, there is a section that lists the
    array field
    properties. In this section, there is a property
    listed called Focus
    Highlight. However, this is not in the properties
    dialogue box and I
    have no idea how to set it. I also looked in the
    online help under
    ArrayWidget. It says it provides the method which
    highlights the
    selected record in the array. However I cannot find
    this method
    anywhere in the help!
    Has anyone worked with any of these properties or
    methods? Or has
    anyone highlighted the entire current row in anarray >in a differentmanner?
    Any help/suggestions would be greatly appreciated!
    Thanks,Rhonda Shannon>_________________________________________________________
    DO YOU YAHOO!?
    Get your free @yahoo.com address at http://mail.yahoo.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi Rhonda,
    There was a couple of discussions about this subject a while ago. I
    remember
    of having posted a code sample myself. Take a look at the searchable
    archive.
    Ajith kallambella M.
    Forte Systems Engineer,
    International Business Corporation.
    From: "Shannon, Rhonda B" <[email protected]>
    Date: Fri, 21 Aug 1998 14:34:32 -0400
    Subject: Focus Highlight Property of an Array Field
    I have an array field on a window that is composedof >4 fields. The
    array field maps to an object that contains the 4
    fields. As the user
    scrolls through the array, I would like the entire
    current row to be
    highlighted, not just the current widget.
    I have been looking in the help both online and in
    the Fort=E9 manuals.
    In the index of the Display Library manual on page
    648, I see under the
    ArrayField class, a listing for FocusHighlightStyle
    attribute for page
    32. However, when I go to page 32, it is not there!
    In the online =help
    for Array Field, there is a section that lists the
    array field
    properties. In this section, there is a property
    listed called Focus
    Highlight. However, this is not in the properties
    dialogue box and I
    have no idea how to set it. I also looked in the
    online help under
    ArrayWidget. It says it provides the method which
    highlights the
    selected record in the array. However I cannot find
    this method
    anywhere in the help!
    Has anyone worked with any of these properties or
    methods? Or has
    anyone highlighted the entire current row in anarray >in a differentmanner?
    Any help/suggestions would be greatly appreciated!
    Thanks,Rhonda Shannon>_________________________________________________________
    DO YOU YAHOO!?
    Get your free @yahoo.com address at http://mail.yahoo.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Problems binding array in C# to stored procedure.

    I'm having trouble trying to pass an array of ID's to a stored procedure that is expecting an array (listed the procedure definition below). My current interface doesn't return an error, but it also doesn't insert the proper id's.
    STORED PROCEDURE DEFINITION:
    TYPE source_ids IS TABLE OF wweb.DM_ASSOCIATIONS.source_id%TYPE INDEX BY PLS_INTEGER;
    PROCEDURE add_message_associations
    (p_dm_message_id IN wweb.dm_messages.dm_message_id%TYPE
    ,p_association_type IN wweb.dm_associations.association_type%TYPE
    ,p_sources IN source_ids
    ,p_create_user IN wweb.dm_associations.create_user%TYPE)
    .......variable definitions here...
    v_source_id := p_sources.First;
    WHILE v_source_id IS NOT NULL
    LOOP
    -- Check if this association already exists.
    -- If not add them.
    v_assoc_exists := 0;
    FOR r_chk IN
    (SELECT 1 AS assoc_exists_flag
    FROM dm_associations a
    WHERE a.dm_message_id = p_dm_message_id
    AND a.association_type = p_association_type
    AND a.source_id = v_source_id)
    LOOP
    v_assoc_exists := r_chk.assoc_exists_flag;
    END LOOP;
    IF v_assoc_exists = 0 THEN
    -- Add the association
    INSERT INTO wweb.dm_associations
    (dm_association_id
    ,dm_message_id
    ,association_type
    ,source_id
    ,source_column_name
    ,active_flag
    ,create_date
    ,create_user
    ,last_update_date
    ,last_update_user)
    VALUES
    (wweb.dm_associations_s.NEXTVAL
    ,p_dm_message_id
    ,p_association_type
    ,v_source_id
    ,v_source_column_name
    ,1
    ,SYSDATE
    ,p_create_user
    ,SYSDATE
    ,p_create_user);
    END IF;
    .......error handling here...
    C# CODE:
    OracleParameter[] param = new OracleParameter[4];
    param[0] = new OracleParameter("p_dm_message_id", OracleDbType.Long);
    param[1] = new OracleParameter("p_association_type", OracleDbType.Varchar2, 5);
    param[2] = new OracleParameter("p_sources", OracleDbType.Int32);
    param[3] = new OracleParameter("p_create_user", OracleDbType.Varchar2, 25);
    param[0].Value = 1;
    param[1].Value = "ER";
    param[2].Value = new Int32 [] {1, 172, 412, 7953};
    param[3].Value = "SVC-GDESAI";
    param[2].CollectionType = OracleCollectionType.PLSQLAssociativeArray;
    param[2].Size = 4;
    param[2].ArrayBindStatus = new OracleParameterStatus[4]{OracleParameterStatus.Success, OracleParameterStatus.Success, OracleParameterStatus.Success, OracleParameterStatus.Success};
    cn = new OracleConnection(ConnectionString);
    cn.Open();
    OracleCommand cmd = new OracleCommand();
    cmd.Connection = cn;
    cmd.CommandText= "dynamic_messages_api.add_message_associations";
    cmd.CommandType= CommandType.StoredProcedure;
    foreach (OracleParameter p in param)
    if ((p.Direction == ParameterDirection.InputOutput || p.Direction == ParameterDirection.Input) && (p.Value == null || p.Value.ToString() == ""))
    p.Value = DBNull.Value;
    cmd.Parameters.Add(p);
    cmd.ExecuteNonQuery();
    This ran fine, and created four rows in the table, but the source id's were (1, 2, 3, 4) instead of (1, 172, 412, 7953) which were the ones I passed in.
    Does anyone know what I'm doing wrong here?
    Thanks,
    Gauranga

    Hi,
    I think you have a problem in you PL/SQL procedure. When you receive an array in the procedure, it is your responsibility to parse it explicitely with a loop or to bulk insert with a "forall" (implicit).
    For instance, here is an example of a procedure of mine. I don't catch exceptions as I want the C# calling code to know about them:
    The type t_* are defined like yours.
    procedure UpdateDistribDates(p_bannerid in t_bannerid,
    p_promonumber in t_promonumber,
    p_datenumber in t_datenumber,
    p_actualdate in t_actualdate ) is
    BEGIN
    -- First delete the existing dates in bulk
    FORALL I IN P_BANNERID.FIRST..P_BANNERID.LAST
    DELETE FROM PROMODISTRIBDATE
    WHERE BANNERID = P_BANNERID(I)
    AND PROMONUMBER = P_PROMONUMBER(I);
    -- Then, insert the values passed in arrays.
    FORALL I IN P_BANNERID.FIRST..P_BANNERID.LAST
    INSERT INTO PROMODISTRIBDATE
    (BANNERID,
    PROMONUMBER,
    DATENUMBER,
    ACTUALDATE)
    VALUES (P_BANNERID(I),
    P_PROMONUMBER(I),
    P_DATENUMBER(I),
    P_ACTUALDATE(I));
    END;
    As you can see, the FORALL keyword will process the arrays passed as any other PL/SQL array in one chunk.
    When you do the insert like:
    INSERT INTO wweb.dm_associations
    (dm_association_id
    ,dm_message_id
    ,association_type
    ,source_id
    ,source_column_name
    ,active_flag
    ,create_date
    ,create_user
    ,last_update_date
    ,last_update_user)
    VALUES
    (wweb.dm_associations_s.NEXTVAL
    ,p_dm_message_id
    ,p_association_type
    ,v_source_id
    ,v_source_column_name
    ,1
    ,SYSDATE
    ,p_create_user
    ,SYSDATE
    ,p_create_user);
    In source_id, you insert the index of the table, not the value of the field.
    I would suggest you completely rewrite this procedure by using the explicit loop like this:
    1/ Explicit loop
    FOR i IN 1 .. p_sources.COUNT LOOP
    -- Check the existence
    EXIST_FLAG := 0;
    BEGIN
    SELECT 1
    INTO EXIST_FLAG
    FROM ...
    WHERE ...
    AND a.source_id = p_source(i) <-- You are parsing here
    AND ...
    EXCEPTION
    WHEN OTHERS THEN -- Nothing was found
    EXIST_FLAG := 0;
    END;
    IF (EXIST_FLAG = 1)
    INSERT INTO wweb.dm_associations
    (dm_association_id
    ,dm_message_id
    ,association_type
    ,source_id
    ,source_column_name
    ,active_flag
    ,create_date
    ,create_user
    ,last_update_date
    ,last_update_user)
    VALUES
    (wweb.dm_associations_s.NEXTVAL
    ,p_dm_message_id
    ,p_association_type
    ,p_source(i) <-- You parse here
    END IF;
    END LOOP;
    2/ Implicit loop and bulk insert
    You would need to completely review the logic and build an array that maps exactly the row of the table you are trying to insert into. Parse the array and check for the existence of your entry, delete the row in memory when not found, then, after the loop do a bulk insert with a "forall".
    Hope it helps,
    Patrice

  • Bind PL/SQL array to PHP array

    Hi all!
    I try to bind a PL/SQL array (nested tables, index by integer) returned by a PL/SQL-function to an PHP array.
    Here is the code:
    create or replace package MyPackage as
    TYPE my_type IS TABLE OF VARCHAR2(1024);
    FUNCTION MyFunction RETURN my_type;
    end MyPackage;
    create or replace PACKAGE BODY MyPackage is
    FUNCTION MyFunction RETURN my_type IS
    t_docs my_type;
    begin
    t_docs := my_type('val0','val1','val2');
    return t_docs;
    end MyFunction;
    end MyPackage;
    In the PHP-code ist looks like this
    $query = "begin :vals := MyPackage.MyFunction; end;";
    $stmt = oci_parse ($conn, $query);
    oci_bind_array_by_name($stmt, ":vals", $vals_array, 5, 512, SQLT_CHR);
    oci_execute ($stmt);
    Output:
    PLS-00382: expression is of wrong type. Error in Line....
    This error point to
    begin :vals := MyPackage.MyFunction; end;
    ^^^
    Questions:
    Is it generally possible to bind a pl/sql array to a php array? Or only the other was around?
    Could you please post a snipet of code how to do it the right way :-)
    Thanks a lot for your help! Christian

    As you noted, you can't return a PL/SQL array and map it to a PHP array when it is a record type. Likewise, you can't map an object type to a PHP array. You can return a reference cursor through PL/SQL, and then fetch the function result with oci_fetch_assoc($rc).
    Alternatively, you can return an object type collection or a pipelined table function result into PHP. It's a bit long but you'll find examples on my blog. Start here, and there's a link to a full discussion of pipelined table functions:
    http://blog.mclaughlinsoftware.com/2009/03/19/beats-a-reference-cursor/
    This is an object table example, which you may prefer over pipelined table functions:
    http://blog.mclaughlinsoftware.com/2009/03/23/object-record-collections/
    Hope this helps.

  • Mapping inheritance

    We're converting an existing system to JDO. Obviously, we're going to
    be mapping the domain classes to the existing schema. There's very
    little inheritance in the current data model to worry about, but there's
    one area where we want to remodel several classes to inherit from X
    rather than own an X. X has rather a lot of data members, as do the
    candidate subclasses.
    We understand that Kodo only supports the single-table approach to
    mapping inheritance structures, but that's going to make us pay quite
    the space penalty. I'm intrigued by the field-level 'table' and
    'ref-column' extensions. The docs say they're for Collection, array,
    and Map fields, but is it possible to use these extensions to map
    non-collection inherited fields to a secondary (superclass) table? I
    don't need to make the superclass itself persistent.
    Jerry Pulley
    Sr. Developer
    Commerce Technologies, Inc.
    21 Corporate Drive
    Clifton Park, NY 12065
    518.886.0700 x3876
    518.886.0701 Fax

    Sorry; this isn't possible yet.

  • Focus Highlight Property of an Array Field

    I have an array field on a window that is composed of 4 fields. The
    array field maps to an object that contains the 4 fields. As the user
    scrolls through the array, I would like the entire current row to be
    highlighted, not just the current widget.
    I have been looking in the help both online and in the Fort&eacute; manuals.
    In the index of the Display Library manual on page 648, I see under the
    ArrayField class, a listing for FocusHighlightStyle attribute for page
    32. However, when I go to page 32, it is not there! In the online help
    for Array Field, there is a section that lists the array field
    properties. In this section, there is a property listed called Focus
    Highlight. However, this is not in the properties dialogue box and I
    have no idea how to set it. I also looked in the online help under
    ArrayWidget. It says it provides the method which highlights the
    selected record in the array. However I cannot find this method
    anywhere in the help!
    Has anyone worked with any of these properties or methods? Or has
    anyone highlighted the entire current row in an array in a different
    manner?
    Any help/suggestions would be greatly appreciated!
    Thanks,
    Rhonda Shannon
    e-mail: [email protected]
    phone: (908) 719-4583
    fax: (908) 719-4460
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Geoff,
    May I point out that in your function, the input Row should be converted to:
    Row - <theArrayField>.TopRow + 1;
    or before calling this function.
    Also the AfterFieldScroll event should be handled.
    (It's me, Michael)
    -----Original Message-----
    From: Geoffrey Whitington [SMTP:[email protected]]
    Sent: Friday, August 21, 1998 2:54 PM
    To: 'Shannon, Rhonda B'; '[email protected]'
    Subject: RE: Focus Highlight Property of an Array Field
    Shannon,
    As an Express developer, all of my windows get this functionality for
    free. Of course this is
    due to the fact that all ArrayFields inherit from a class that provides
    this functionality.
    The following snippet of code could be exactly what you are looking for,
    method HighlightRow(input Row : integer)
    if (Row >= 0) then
    for widget in <DisplayedResultSet>.bodygrid.children do
    if (widget.row = Row) then
    widget.fillcolor = C_PALEYELLOW;
    else
    widget.fillcolor = C_WHITE;
    end if;
    end for;
    end if;
    end method;
    I sure hope this helps you,
    Take care
    Geoff Whittington,
    VP Coop Development
    Its nice to be important,
    but its more important to be nice.
    - Blair
    -----Original Message-----
    From: Shannon, Rhonda B [mailto:[email protected]]
    Sent: Friday, August 21, 1998 2:35 PM
    To: '[email protected]'
    Subject: Focus Highlight Property of an Array Field
    I have an array field on a window that is composed of 4 fields. The
    array field maps to an object that contains the 4 fields. As the user
    scrolls through the array, I would like the entire current row to be
    highlighted, not just the current widget.
    I have been looking in the help both online and in the Fort&eacute; manuals.
    In the index of the Display Library manual on page 648, I see under the
    ArrayField class, a listing for FocusHighlightStyle attribute for page
    32. However, when I go to page 32, it is not there! In the online help
    for Array Field, there is a section that lists the array field
    properties. In this section, there is a property listed called Focus
    Highlight. However, this is not in the properties dialogue box and I
    have no idea how to set it. I also looked in the online help under
    ArrayWidget. It says it provides the method which highlights the
    selected record in the array. However I cannot find this method
    anywhere in the help!
    Has anyone worked with any of these properties or methods? Or has
    anyone highlighted the entire current row in an array in a different
    manner?
    Any help/suggestions would be greatly appreciated!
    Thanks,
    Rhonda Shannon
    e-mail: [email protected]
    phone: (908) 719-4583
    fax: (908) 719-4460
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Speichern in Arrays und anschließend die Arrays vergleichen.

    Es handelt sich also um ein geregeltes System mit einem DC Motor.
    Motor läuft am Anfang ohne Last und später mit Last im Loop. Ich möchte diese 2 Arten miteinander vergleichen, genauer gesagt die 2 elektrische kräfte des Motors.
    OHNE LAST: Die Frage ist also wie soll das am einfachsten passieren? Ich habe mir gedacht dass
    es am besten ist Lauf des Motors OHNE Last in ein Array und dann in eine Datei zu speichern.
    Dabei denke ich an Array oder Map (also Key ist Frequenz des Motors die in 1-er schritten erhöht wird und Value ist einfach die Kraft des Motors bei dieser Frequenz.
    MIT LAST: Wenn ich jetzt diese Datei habe, möchte ich ein Lauf MIT Last starten. Hier wird auch die Frequenz
    in 1-er Schritten
    erhöht und der aktuelle Wert der Kraft mit der Kraft des Motors ohne Last verglichen unddie Differenz angezeigt.
    Kann mir jemand bitte tipps geben wie genau ich das machen soll, also wie man die Werte in Arrays speichert, wie man die Arrays vergleicht usw., oder vielleicht sogar ein kleines .vi Beispiel?
    Danke im Voraus
    Vedran Divkovic
    PY RUB

    Sorry, my German is a bit rusty. One solution would be to design the program as a simple state machine and store the Load and NoLoad result in a shift register each.
    See attached example. Let me know if this is what you meant.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Load.vi ‏114 KB

  • Update Nokia Maps

    Hi,
    Does anybody knows if and when there will be an update of Nokia Maps? My latest maps version is : 00.02.50.103 that was released on 03/07/2013.
    Recently I'm helping to improve maps data via Here.com. So I would be happy to get updates in return.

    My understanding is that the Maps for Symbian will no longer be updated. I am not sure how or why.  Lumia devices use Here Maps where Symbian devices uses Nokia Maps, although my Symbian device will sync my waypoints with here.com.  I don't know if they both pull data from the same servers but my guess is they don't, from information I have read. My main reason for owning a Nokia device (Symbian) is for the offline maps and the full array of mapping functions.  Lumia devices also have offline maps (those that I am aware of, at least) but they have much more limited functionality for what I do.  I have begun to transition off of Nokia Maps (here.com, or whatever the case may be) to some other services due to the uncertainty of the future of the service. At this point, the only thing I use Nokia Maps for is voice navigation and to sync my waypoints.  I will soon be moving my waypoints to other services and with the vast amount of services provided for voice navigation, Nokia's voice navigation is now no longer needed by me.  Sorry this isn't much of an anwer but I think it is safe to say that maps for Symbian are no longer being updated.

Maybe you are looking for

  • After updating Firefox to version 12.0, I can no longer get my web-based help desk software to follow hyperlinks.

    Our help-desk is internal, secure website. We have used Firefox for our help desk software browser since we purchased the software. But after updating to version 12, clicking on a hyperlink no longer works but only for the help desk software. Pre-ver

  • Can't find updates for CS4 version of Acrobat 9.0 PRO

    I moved Creative Suite 4 MultiLanguage (ITA) version on a new personal computer equipped with Windows 7 Sp1. I was able to update all applications except Acrobat. For Acrobat I only found  the 9.5.5 update version but it doesn't work (probably is sui

  • When saving from the print menu to PDF to iBooks, it saves it as unnamed document.

    When saving from the print menu to PDF to iBooks, it saves it as unnamed document. Would like to be able to give it a name before saving it, or at least have a rename function in iBooks. Can use Preview and rename it in Downloads and then move it to

  • Vertical Lines only

    I have an Mac 12" Aluminum power book where the screen is not functioning properly. When I boot it up, the display turns on, usually a blueish screen with vertical line in the display that seem to represent the horrizontal postion of text that should

  • Programme error in PhotoShop7

    Over the last few days I've been trying to work on images I've scanned, the images belong to me, and I often get a 'programme error cannot save' then file name. All the files are below 50Mb, coming from an Epson V500 scanner. I'm trying to save as jp