RS232 return odd results

MAX write and read using the serial port. This piece of equipment and cable works fine on the other two machines (running Win2K). Returns the correct values in ASCII. On another computer (XP) the answer is something else; instead of ASCII, it is "\x**" repeated several times, where each group of four characters, starting with \x and the others to change. MAX version is 2.2 on all machines.

The behavior is the same using a vi in LabVIEW 6.1 (on all machines); fix ASCII on two machines, waste (various wastes) on the third machine.

What is a format problem? I don't see a way to configure the serial ports of different formats.

cpaine,

Can you please more information about the differences between the two computers. More precisely which versions of the drivers are on labor and the garbage machine? Looks like it might be a problem with a specific machine, but I would like to continue the investigation into it.

Thank you

Tags: NI Hardware

Similar Questions

  • Research component returns incomplete results

    The search pane always returns incomplete results.  For example, to find all files that have been changed since April 8.  Several files are returned-, but two files I modified TEN MINUTES ago aren't.  And who knows how many others were not returned.

    How does search pane decided not to include files which should, and why?  What is the solution to make it work properly?

    If you have any Google products installed on your system, they can take over functions normally performed by Vista (in this case, the advanced search function).  Google does (and sometimes without warning or notification).  You should be able to access the Vista advanced search function by pushing the search button in the Start Menu (assuming that Google has not only taken over as well).

    Thanks for the comments!

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How can I return a result of popup to parent form

    Hi guys

    This is probably a very simple question.

    How can I return a result of popup to parent form?

    Thank you

    Hi dpolonsky,

    due to the fact that your screen popup and parent are in classes separated.

    So create your own set and get methods/functions that can be called from another class.

    Because the variables are known only in the class, they were defined (information hiding), then you must use the functions/methods, that affects the apropriate values.

    in your parent class, you can define a method like:

    void setFromPopup (int intval) {}

    intval = globalintvalfrompopup; globalintcalfrompopup is declared globally within your class

    }

    and in your child (popup) class, you can call via

    .

    .

    int TestInt = 10;

    parentclass.setFromPopup (testint);

    .

    .

    It is a general question of JAVA.

    Hope it helps.

  • OBIEE logical column has same SQL but returns different results

    I have a SQL query with a case statement that returns the correct results by operating in Oracle SQL Developer. I've created several logical columns in OBIEE, one for each case in the original query. However, the results returned by each logical column OBIEE are radically different from the original SQL query results, even if the SQL code is virtually identical.

    For example, a column logical OBIEE that returns incorrect results contains the following SQL code:

    SUM (CASE when

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '% a %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%B %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%c %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"% %") or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%G %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"hour %") or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"%%J") or

    ("Registration - College". "" Effective colleges F. ("' Postal code ' like '%R %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%s %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%T %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"% %") or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%x %') or

    ("Registration - College". "" Effective colleges F. ("' Postal code ' like '%Y %')

    THEN 0 OTHERWISE 1 END)

    The case statement in the original SQL query, which returns the correct results, is as follows:

    CASE

    WHEN (postal_zip_code_permanent like "%%K") or (postal_zip_code_permanent like '% %') or (postal_zip_code_permanent like '%m %') or (postal_zip_code_permanent like '%n %') or (postal_zip_code_permanent like "%p %") THEN "Ontario".

    WHEN (postal_zip_code_permanent like '% a %') or (postal_zip_code_permanent like '%B %') or (postal_zip_code_permanent like '%c %') or (postal_zip_code_permanent like '% %') or (postal_zip_code_permanent like '%G %') or (postal_zip_code_permanent like "%hour") or (postal_zip_code_permanent like "%%J") or (postal_zip_code_permanent like "%%R") or (postal_zip_code_permanent like '%s %') or (postal_zip_code_permanent like '%t %') or (postal_zip_code_permanent like '% %') or (postal_zip_ code_permanent like '%x %') or (postal_zip_code_permanent like "%%Y") THEN "Canada, other than Ontario.

    WHEN (substr(postal_zip_code_permanent,1,1) IN ('1 ', '2', '3', '4', '5', '6' ', 7',' 8 ', ' 9',' 0') or (postal_zip_code_permanent like '%d %') or (postal_zip_code_permanent like '%f %') or (postal_zip_code_permanent like ' % I %') or (postal_zip_code_permanent like "% O") or (postal_zip_code_permanent like "%%Q") or (postal_zip_code_permanent like "%%U") or (postal_zip_code_permanent like ' % W ') or (postal_zip_code_permanent like "%%Z")) THEN 'other')

    WHEN (postal_zip_code_permanent like '% + %') or (postal_zip_code_permanent like '%. %') or (postal_zip_code_permanent like ' %? %') or (postal_zip_code_permanent like '% %') or postal_zip_code_permanent IN ('+ ','.', '?)) (',',') And THEN "Invalid."

    WHEN postal_zip_code_permanent is null THEN 'Blank '.

    Of OTHER postal_zip_code_permanent

    END

    Now I see what the problem was. In the original SQL query, each condition is exclusive, for each record will only be categorized in one of the scenarios WHEN. But in OBIEE, each logical column is autonomous, so some records were classified into more than logical column, even if each logical column was supposed to be exclusive.

  • Return custom results, the value of the service

    Hi all

    Can return us customized results, the value of a personalized service?

    We plan to write a wrapper for the Service of research and return the result set custom when that service is called. Any body tried this approach before and do you know what are the advantages and disadvantages of this approach.

    1. resources Service file. CheckReleaseState is the personal name of resultset.

    2 file query of the resource.

    Run your custom service and then access the resultset in java using the line below:

    DataResultSet searchDataResultSet = new DataResultSet();

    searchDataResultSet.copy (binder.getResultSet ("CheckReleaseState"));

  • PLSQL function to return the result of the query

    Dear all,

    Oracle Database SE1 11.2.0.1

    I need to create a plsql function which should accept SQL as a parameter, execute it and return the result set.

    Is this possible?

    Madhu.149 wrote:

    I need to create a plsql function which should accept SQL as a parameter, execute it and return the result set.

    Be careful - results games indicate a set of data stored in memory. This is not what are sliders. This isn't how Oracle should be used.

    Imagine that you implement such a result set function - which, on average, requires 1 MB of memory (private server) to store the results of the SQL query. A 100 users mean a 100 MB of memory required server. This is not suitable. Not at all. Never.

    The correct back 'thing' is a handle to SQL cursor (called a ref cursor in this case). A SQL cursor is a "program" - that the appellant runs via the fetch command and generates one or more lines accordingly. Appellant repeatedly runs this slider through calls to fetch until this slider found and returns all rows affected (using consistent readings).

    If you want an abstraction interface that the client can call via PL/SQL code in the database, so this crafting optimal SQL interface, creates the SQL cursor and returns the handle of the cursor (via the ref cursor data type) to the client.

  • SQL query return different result 11 GR 1 material and GR 11, 2

    Problem: SQL returns different results in 11 GR 1 material and GR 11, 2 games.

    Example script:

    create the table tab_main
    (
    SOS number (2) not null,
    contract number (2) null
    )
    /

    create the table tab_sub
    (
    number (2) of contract non-null,.
    SOS number (2) null
    )
    /

    insert into tab_main values (1, 10);
    insert into tab_main values (2, 20);
    insert into tab_main values (3, null);
    insert into tab_main values (4, null);

    insert into tab_sub values (1, 10);
    insert into tab_sub (20, 2) values;
    commit;

    The SQL code:

    SELECT *.
    OF tab_main.
    tab_sub
    WHERE tab_main.sos = tab_sub.sos (+) AND
    tab_main. Contract = tab_sub.contract (+) and
    tab_main. Contract not in (select 1 of the double);

    The above query gives more results
    -by 11.2.0.4
    1 10 10 1
    2 20 20 2

    -in 11.1.0.7
    1 10 10 1
    2 20 20 2
    4
    3


    Please tell us what could be the reason for the behaviour of offset lines thie.


    Thank you

    Piesset

    I think it is probably a bug in 11.1.0.7 (and possibly other versions), I get the same results as your 11.2.0.4 9.2.0.7, 10.2.0.3 and 11.2.0.3, and this is the result, I expect.

    Your not in the paragraph is equivalent to:

    SELECT *.

    OF tab_main, tab_sub

    WHERE tab_main.sos = tab_sub.sos (+) AND

    tab_main. Contract = tab_sub.contract (+) and

    tab_main. Contract <> 1;

    Since you have null values in tab_main.contract they are lost by the predicate since null = value is never true (or false).

    John

  • Data connection to the interactive form returns no results

    I have an interactive form of Adobe with a data connection that calls a function module compatible SAP rfc.  The call works fine, but it must return a value in the data connection response.  I know that the function module is feeding the return variable and binding form field to the answer is correct, but it never shows up.  We are on Live Cycle 9.0, with SAP EHP7.  Wsdl and soap links all look good. I tried data as "ordinary" connections and "run", used the two text fields of hierarchy and directly by dragging the data finds the response to the form field.  I played with various permutations to the soap and wsdl url.  The value of the response is necessary so that the user sees the result of the action (triggered by a button on the form).  Don't know what else to try.  As I said, the call to the SAP function module works fine, it's just the answer that I can't go back to the form. Any help to fix this would be greatly appreciated.

    I finally solved the problem myself.  Looks like a bug to me.

    In my interactive form, I have a button associated with the data EXTRACT connection that calls a function module compatible rfc in SAP called Z_LEMS_EXTRACT.  This function module returns a result of string called E_MESSAGE.

    The returned E_MESSAGE is then bound to a form text field.

    The generated XML defines the link as

    Z_LEMS_EXTRACTResponse\. E_MESSAGE

    I had to manually change the xml code for

    Z_LEMS_EXTRACT\. Response.E_MESSAGE

    This was determined by referring to another interactive form that was created in a previous version of Live Cycle Designer and a previous version of SAP, he used "\Response." and worked properly.  So I applied the same coding here and it works.

  • Dequeue Business event (AQ or AppsAdapter) in OSB and the return of results fails

    I'm new to OSB. The scenario is to publish the results on SFDC (SalesForce.Com) all changes in EBS.

    Works well within the OSB. However when I try to return the results back... It is a failure. What is wsdl has only a structure of entry

    and does not have an output structure?

    I finally got this working. I thought incorrectly that the XSD and WSDL will have to be changed to create output Structure.

    You don't have to change the head of series dequeue XSD/WSDL

    It actually changes caused the problem.

    One of the errors I got was

    The SOAP envelope contains one or more body elements that cannot be mapped to the WSDL elements ({http://xmlns.oracle.com/xdb/APPS/ReceiveEvent} WF_EVENT_T).

    com.bea.alsb.ws.codec.CodecException: the SOAP envelope one or more body elements that cannot be mapped to the WSDL elements ({http://xmlns.oracle.com/xdb/APPS/ReceiveEvent} WF_EVENT_T).

  • BI returns no results

    Hi all

    I'm just on my first step, trying to understand the operation of Oracle BI EE.

    I'm at http:// [our bi Server]: 9704/analytics/saw.dll? IssueRawSQL is the Administration-> SQL question section.

    My sql statement
    select id, userid from zvit.marco_test1
    Returns
    "MARCO_TEST1"."ID"     "MARCO_TEST1"."USERID"
    double     double
    1.00     2.00
    This information has been effective yesterday, but today the toad returns another result:
    select id, userid from zvit.marco_test1
            ID     USERID
    ---------- ----------
             0          2
    1 row selected.
    What is a max? How can I get real result?

    We have an option in the RPD to disable the cache for a specific table.

    Open - physical table--> properties--> general tab uncheck the wire

    check if useful/correct...

    Thank you
    prassu

  • Consistency of return null results.

    Hello
    We are facing difficulties to conduct subtle understanding of the coherence. We see the results of coherence as null when they are run repeatedly customer. In the first round, we see results & when I run my key objects changing client program then I see the result with the value null to get some. But when I recycle or restart cache loader and run the same customer with the same data, so we are able to see the results.

    Please guide us to understand behavior, we strive for consistency for the first time.

    CacheLoader.java:
    import java.util.HashMap;

    import com.tangosol.net.cache.AbstractCacheLoader;
    import com.tangosol.util.WrapperException;

    SerializableAttribute public class CacheLoader extends AbstractCacheLoader implements com.tangosol.net.cache.CacheLoader {}
    int i;
    @Override
    public Object Load (Object argKey) {}
    HashMap dataMap = null;
    Key = argKey (Key);
    try {}
    System.out.println("Key::"+Key.ToString());)
    dataMap (HashMap) = key.retrieve ();
    System.out.println (++ i + ": result of retreive::"+dataMap.size()); ")
    }
    {} catch (Exception wrapEx)
    wrapEx.printStackTrace ();
    throw new WrapperException (wrapEx.getMessage () + wrapEx.getCause ());
    }
    return dataMap;
    }
    }

    Client program:
    MPort com.tangosol.net.CacheFactory;
    import com.tangosol.net.NamedCache;

    public class CoherenceClient {}

    /**
    @param args
    */
    Public Shared Sub main (String [] args) {}
    TODO self-generating method stub
    new CoherenceClient () .invokeStorageNode ();
    }

    private void invokeStorageNode() {}
    String cacheName = ResultKey.class.getSimpleName ();
    ResultKey resultKey = new ResultKey ("Suhas", "Louise", 30);
    NamedCache cache = CacheFactory.getCache (cacheName);
    try {}
    for (int i = 1; i < 100; i ++) {}
    resultKey = new ResultKey ("Suhas", "Xavier" + i, 30 + i);
    System.out.println (i + ": - > cache Result::"+cache.get(resultKey)); ")
    }
    }
    catch (Exception ex) {}
    ex.printStackTrace ();
    }
    }
    }

    the cache config xml loader:
    <? XML version = "1.0" encoding = "UTF-8"? >
    <! SYSTEM cache-config DOCTYPE "cache - config.dtd" >

    <>cache-config
    < cache-system-mapping >
    <>cache-mapping
    < name-cache > ResultKey < / cache-name >
    < scheme name > distributed plan < / system-name >
    < init-params >
    < init-param >
    < param-name > cache-store-class-name < / param-name >
    CacheLoader < param-value > < / param-value >
    < / init-param >
    < / init-params >
    < / cache-mapping >

    < / cache-system-mapping >

    <>- cached patterns
    < distributed plan >
    < scheme name > distributed plan < / system-name >
    < service name > DistributedCache < / service-name >
    < support-map-plan >
    < reading-writing-support-map-plan >

    < internal-cache-system >
    < local plan >
    < system-Ref > LocalSizeLimited < / plan-ref >
    < / local plan >
    < / internal-cache-system >
    < dumps-plan >
    schema < class >
    < class name > {cache-store-class-name} < / class name >
    < / class-system >
    < / dumps-plan >
    < rollback-dumps-chess > true < / restoration-dumps-chess >
    < / reading-writing-support-map-plan >
    < / support-map-plan >
    < number of partition > 5557 < / partition-County >
    > number of backup < 1 < / backup-County >
    < number > 10 threads < / thread count >
    < autostart > true < / autostart >
    < / distributed plan >

    < local plan >
    < scheme name > LocalSizeLimited < / system-name >
    < high-units > 500000000 < / high units >
    < bass-units > 10000 < / bass-units >
    < Unit Calculator > BINARY < / Unit-Calculator >
    < / local plan >
    < / cache-plans >

    < / cache-config >

    client config xml:
    <? XML version = "1.0"? >
    <! SYSTEM cache-config DOCTYPE "cache - config.dtd" >
    <>cache-config
    < cache-system-mapping >
    <! - caches with any name will be created as a default replicated. - >
    <>cache-mapping
    < name-cache > ResultKey < / cache-name >
    < scheme name > distributed_cache < / system-name >
    < / cache-mapping >
    < / cache-system-mapping >

    <>- cached patterns

    < distributed plan >
    < scheme name > distributed_cache < / system-name >
    < service name > DistributedCache < / service-name >
    < support-map-plan >
    < rollback-dumps-chess > true < / restoration-dumps-chess >
    schema < class >
    < system-Ref > by default-support-map < / plan-ref >
    < / class-system >
    < / support-map-plan >
    < / distributed plan >
    <!--
    By default, backup of schema definition of card used by all
    Caches that don't require any deportation policy
    ->
    schema < class >
    < scheme name > - by default-support-map < / system-name >
    > class name < com.tangosol.util.SafeHashMap < / class name >
    < / class-system >
    < / cache-plans >
    < / cache-config >



    How to reproduce:
    (1) start Cache loader by using com.tangosol.net.DefaultCacheServer as a class main-server-Xms64m-Xmx64m - Dtangosol.coherence.wka = *ipaddressipaddress*-Dtangosol.coherence.cacheconfig=\conf\server-cache-config.xml-Dtangosol.coherence.extend.address=* *.

    (2) run the client with the following information as VM arguments:
    -Server-Xms64m-Xmx64m - Dtangosol.coherence.wka = *ipaddressipaddress*-Dtangosol.coherence.cacheconfig=conf\client-cache-config.xml-Dtangosol.coherence.extend.address=* *.

    (3) run the client program as it is for the first time. We see the result as below:
    1: - > cache result: {NAME = Suhas, AGE = 31, LAST NAME is Madap1}
    2: - > cache result: {NAME = Suhas, AGE = 32, LAST NAME is Madap2}
    3: - > cache result: {NAME = Suhas, AGE = 33, LAST NAME is Madap3}
    4: - > cache result: {NAME = Suhas, AGE = 34, LAST NAME is Madap4}
    5: - > cache result: {NAME = Suhas, AGE = 35, LAST NAME is Madap5}
    6: - > cache result: {NAME = Suhas, AGE = 36, LAST NAME is Madap6}
    7: - > cache result: {NAME = Suhas, AGE = 37, LAST NAME is Madap7}
    8: - > cache result: {NAME = Suhas, AGE = 38, LAST NAME is Madap8}
    9: - > cache result: {NAME = Suhas, AGE = 39, LAST NAME is Madap9}
    10: - > cache result: {NAME = Suhas, AGE = 40, LAST NAME is Madap10}
    11: - > cache result: {NAME = Suhas, AGE = 41, LAST NAME is Madap11}
    12: - > cache result: {NAME = Suhas, AGE = 42, LAST NAME is Madap12}
    13: - > cache result: {NAME = Suhas, AGE = 43, LAST NAME is Madap13}
    14: - > cache result: {NAME = Suhas, AGE = 44, LAST NAME is Madap14}
    15: - > cache result: {NAME = Suhas, AGE = 45, LAST NAME is Madap15}
    16: - > cache result: {NAME = Suhas, AGE = 46, LAST NAME is Madap16}
    17: - > cache result: {NAME = Suhas, AGE = 47, LAST NAME is Madap17}
    18: - > cache result: {NAME = Suhas, AGE = 48, LAST NAME is Madap18}
    19: - > cache result: {NAME = Suhas, AGE = 49, LAST NAME is Madap19}
    20: - > cache result: {NAME = Suhas, AGE = 50, LAST NAME is Madap20}
    21: - > cache result: {NAME = Suhas, AGE = 51, LAST NAME is Madap21}
    22: - > cache result: {NAME = Suhas, AGE = 52, LAST NAME is Madap22}
    23: - > cache result: {NAME = Suhas, AGE = 53, LAST NAME is Madap23}
    24: - > cache result: {NAME = Suhas, AGE = 54, LAST NAME is Madap24}
    25: - > cache result: {NAME = Suhas, AGE = 55, LAST NAME is Madap25}
    26: - > cache result: {NAME = Suhas, AGE = 56, LAST NAME is Madap26}
    27: - > cache result: {NAME = Suhas, AGE = 57, LAST NAME is Madap27}
    28: - > cache result: {NAME = Suhas, AGE = 58, LAST NAME is Madap28}
    29: - > cache result: {NAME = Suhas, AGE = 59, LAST NAME is Madap29}
    30: - > cache result: {NAME = Suhas, AGE = 60, LAST NAME is Madap30}
    31: - > cache result: {NAME = Suhas, AGE = 61, LAST NAME is Madap31}
    32: - > cache result: {NAME = Suhas, AGE = 62, LAST NAME is Madap32}
    33: - > cache result: {NAME = Suhas, AGE = 63, LAST NAME is Madap33}
    34: - > cache result: {NAME = Suhas, AGE = 64, LAST NAME is Madap34}
    35: - > cache result: {NAME = Suhas, AGE = 65, LAST NAME is Madap35}
    36: - > cache result: {NAME = Suhas, AGE = 66, LAST NAME is Madap36}
    37: - > cache result: {NAME = Suhas, AGE = 67, LAST NAME is Madap37}
    38: - > cache result: {NAME = Suhas, AGE = 68, LAST NAME is Madap38}
    39: - > cache result: {NAME = Suhas, AGE = 69, LAST NAME is Madap39}
    40: - > cache result: {NAME = Suhas, AGE = 70, LAST NAME is Madap40}
    41: - > cache result: {NAME = Suhas, AGE = 71, LAST NAME is Madap41}
    42: - > cache result: {NAME = Suhas, AGE = 72, LAST NAME is Madap42}
    43: - > cache result: {NAME = Suhas, AGE = 73, LAST NAME is Madap43}
    44: - > cache result: {NAME = Suhas, AGE = 74, LAST NAME is Madap44}
    45: - > cache result: {NAME = Suhas, AGE = 75, LAST NAME is Madap45}
    46: - > cache result: {NAME = Suhas, AGE = 76, LAST NAME is Madap46}
    47: - > cache result: {NAME = Suhas, AGE = 77, LAST NAME is Madap47}
    48: - > cache result: {NAME = Suhas, AGE = 78, LAST NAME is Madap48}
    49: - > cache result: {NAME = Suhas, AGE = 79, LAST NAME is Madap49}
    50: - > cache result: {NAME = Suhas, AGE = 80, LAST NAME is Madap50}
    51: - > cache result: {NAME = Suhas, AGE = 81, LAST NAME is Madap51}
    52: - > cache result: {NAME = Suhas, AGE = 82, LAST NAME is Madap52}
    53: - > cache result: {NAME = Suhas, AGE = 83, LAST NAME is Madap53}
    54: - > cache result: {NAME = Suhas, AGE = 84, LAST NAME is Madap54}
    55: - > cache result: {NAME = Suhas, AGE = 85, LAST NAME is Madap55}
    56: - > cache result: {NAME = Suhas, AGE = 86, LAST NAME is Madap56}
    57: - > cache result: {NAME = Suhas, AGE = 87, LAST NAME is Madap57}
    58: - > cache result: {NAME = Suhas, AGE = 88, LAST NAME is Madap58}
    59: - > cache result: {NAME = Suhas, AGE = 89, LAST NAME is Madap59}
    60: - > cache result: {NAME = Suhas, AGE = 90, LAST NAME is Madap60}
    61: - > cache result: {NAME = Suhas, AGE = 91, LAST NAME is Madap61}
    62: - > cache result: {NAME = Suhas, AGE = 92, LAST NAME is Madap62}
    63: - > cache result: {NAME = Suhas, AGE = 93, LAST NAME is Madap63}
    64: - > cache result: {NAME = Suhas, AGE = 94, LAST NAME is Madap64}
    65: - > cache result: {NAME = Suhas, AGE = 95, LAST NAME is Madap65}
    66: - > cache result: {NAME = Suhas, AGE = 96, LAST NAME is Madap66}
    67: - > cache result: {NAME = Suhas, AGE = 97, LAST NAME is Madap67}
    68: - > cache result: {NAME = Suhas, AGE = 98, LAST NAME is Madap68}
    69: - > cache result: {NAME = Suhas, AGE = 99, LAST NAME is Madap69}
    70: - > cache result: {NAME = Suhas, AGE = 100, LAST NAME is Madap70}
    71: - > cache result: {NAME = Suhas, AGE = 101, LAST NAME is Madap71}
    72: - > cache result: {NAME = Suhas, AGE = 102, LAST NAME is Madap72}
    73: - > cache result: {NAME = Suhas, AGE = 103, LAST NAME is Madap73}
    74: - > cache result: {NAME = Suhas, AGE = 104, LAST NAME is Madap74}
    75: - > cache result: {NAME = Suhas, AGE = 105, LAST NAME is Madap75}
    76: - > cache result: {NAME = Suhas, AGE = 106, LAST NAME is Madap76}
    77: - > cache result: {NAME = Suhas, AGE = 107, LAST NAME is Madap77}
    78: - > cache result: {NAME = Suhas, AGE = 108, LAST NAME is Madap78}
    79: - > cache result: {NAME = Suhas, AGE = 109, LAST NAME is Madap79}
    80: - > cache result: {NAME = Suhas, AGE = 110, LAST NAME is Madap80}
    81: - > cache result: {NAME = Suhas, AGE = 111, LAST NAME is Madap81}
    82: - > cache result: {NAME = Suhas, AGE = 112, LAST NAME is Madap82}
    83: - > cache result: {NAME = Suhas, AGE = 113, LAST NAME is Madap83}
    84: - > cache result: {NAME = Suhas, AGE = 114, LAST NAME is Madap84}
    85: - > cache result: {NAME = Suhas, AGE = 115, LAST NAME is Madap85}
    86: - > cache result: {NAME = Suhas, AGE = 116, LAST NAME is Madap86}
    87: - > cache result: {NAME = Suhas, AGE = 117, LAST NAME is Madap87}
    88: - > cache result: {NAME = Suhas, AGE = 118, LAST NAME is Madap88}
    89: - > cache result: {NAME = Suhas, AGE = 119, LAST NAME is Madap89}
    90: - > cache result: {NAME = Suhas, AGE = 120, LAST NAME is Madap90}
    91: - > cache result: {NAME = Suhas, AGE = 121, LAST NAME is Madap91}
    92: - > cache result: {NAME = Suhas, AGE = 122, LAST NAME is Madap92}
    93: - > cache result: {NAME = Suhas, AGE = 123, LAST NAME is Madap93}
    94: - > cache result: {NAME = Suhas, AGE = 124, LAST NAME is Madap94}
    95: - > cache result: {NAME = Suhas, AGE = 125, LAST NAME is Madap95}
    96: - > cache result: {NAME = Suhas, AGE = 126, LAST NAME is Madap96}
    97: - > cache result: {NAME = Suhas, AGE = 127, LAST NAME is Madap97}
    98: - > cache result: {NAME = Suhas, AGE = 128, LAST NAME is Madap98}
    99: - > cache result: {NAME = Suhas, AGE = 129, LAST NAME is Madap99}

    (4) run the client program changing once more result key object to:
    for (int i = 1; i < 100; i ++) {}
    resultKey = new ResultKey ("Suhas", "Louise", 30 + i);
    System.out.println (i + ": - > cache Result::"+cache.get(resultKey)); ")
    }
    We see the result with the value null for some keys:
    1: - > cache result: {NAME = Suhas, AGE = 31, LAST NAME is Makitantu}
    2010-08-09 15:34:20.514/1.906 Oracle coherence GE 3.5.3/465 < D4 > (thread = DistributedCache, Member = 2): ask Member 1 2778 primary partitions
    2010-08-09 15:34:21.546/2.938 Oracle coherence GE 3.5.3/465 < D5 > (thread = TcpRingListener, 2 = member): TcpRing: connection to members 1 using TcpSocket {State = STATE_OPEN, Socket=Socket[addr=/10.136.109.206,port=1556,localport=8089]}
    2: - > Hide Result::null
    2010-08-09 15:34:22.061/3.453 Oracle coherence GE 3.5.3/465 < D5 > (thread = DistributedCache, Member = 2): postponement of the distribution because of 2778 pending updated configuration
    3: - > cache result: {NAME = Suhas, AGE = 33, LAST NAME is Makitantu}
    4: - > Hide Result::null
    5: - > cache result: {NAME = Suhas, AGE = 35, LAST NAME is Makitantu}
    6: - > Hide Result::null
    7: - > Hide Result::null
    8: - > Hide Result::null
    9: - > Hide Result::null
    10: - > cache result: {NAME = Suhas, AGE = 40, LAST NAME is Makitantu}
    11: - > cache result: {NAME = Suhas, AGE = 41, LAST NAME is Makitantu}
    12: - > Hide Result::null
    13: - > cache result: {NAME = Suhas, AGE = 43, LAST NAME is Makitantu}
    14: - > Hide Result::null
    15: - > cache result: {NAME = Suhas, AGE = 45, LAST NAME is Makitantu}
    16: - > cache result: {NAME = Suhas, AGE = 46, LAST NAME is Makitantu}
    17: - > Hide Result::null
    18: - > Hide Result::null
    19: - > cache result: {NAME = Suhas, AGE = 49, LAST NAME is Makitantu}
    20: - > Hide Result::null
    21: - > cache result: {NAME = Suhas, AGE = 51, LAST NAME is Makitantu}
    22: - > cache result: {NAME = Suhas, AGE = 52, LAST NAME is Makitantu}
    23: - > cache result: {NAME = Suhas, AGE = 53, LAST NAME is Makitantu}
    24: - > Hide Result::null
    25: - > Hide Result::null
    26: - > cache result: {NAME = Suhas, AGE = 56, LAST NAME is Makitantu}
    27: - > Hide Result::null
    28: - > Hide Result::null
    29: - > cache result: {NAME = Suhas, AGE = 59, LAST NAME is Makitantu}
    30: - > Hide Result::null
    31: - > cache result: {NAME = Suhas, AGE = 61, LAST NAME is Makitantu}
    32: - > Hide Result::null
    33: - > cache result: {NAME = Suhas, AGE = 63, LAST NAME is Makitantu}
    34: - > Hide Result::null
    35: - > Hide Result::null
    36: - > cache result: {NAME = Suhas, AGE = 66, LAST NAME is Makitantu}
    37: - > cache result: {NAME = Suhas, AGE = 67, LAST NAME is Makitantu}
    38: - > cache result: {NAME = Suhas, AGE = 68, LAST NAME is Makitantu}
    39: - > cache result: {NAME = Suhas, AGE = 69, LAST NAME is Makitantu}
    40: - > Hide Result::null
    41: - > Hide Result::null
    42: - > Hide Result::null
    43: - > Hide Result::null
    44: - > Hide Result::null
    45: - > cache result: {NAME = Suhas, AGE = 75, LAST NAME is Makitantu}
    46: - > cache result: {NAME = Suhas, AGE = 76, LAST NAME is Makitantu}
    47: - > cache result: {NAME = Suhas, AGE = 77, LAST NAME is Makitantu}
    48: - > Hide Result::null
    49: - > cache result: {NAME = Suhas, AGE = 79, LAST NAME is Makitantu}
    50: - > cache result: {NAME = Suhas, AGE = 80, LAST NAME is Makitantu}
    51: - > cache result: {NAME = Suhas, AGE = 81, LAST NAME is Makitantu}
    52: - > cache result: {NAME = Suhas, AGE = 82, LAST NAME is Makitantu}
    53: - > Hide Result::null
    54: - > cache result: {NAME = Suhas, AGE = 84, LAST NAME is Makitantu}
    55: - > Hide Result::null
    56: - > cache result: {NAME = Suhas, AGE = 86, LAST NAME is Makitantu}
    57: - > Hide Result::null
    58: - > Hide Result::null
    59: - > cache result: {NAME = Suhas, AGE = 89, LAST NAME is Makitantu}
    60: - > Hide Result::null
    61: - > cache result: {NAME = Suhas, AGE = 91, LAST NAME is Makitantu}
    62: - > Hide Result::null
    63: - > cache result: {NAME = Suhas, AGE = 93, LAST NAME is Makitantu}
    64: - > cache result: {NAME = Suhas, AGE = 94, LAST NAME is Makitantu}
    65: - > cache result: {NAME = Suhas, AGE = 95, LAST NAME is Makitantu}
    66: - > Hide Result::null
    67: - > cache result: {NAME = Suhas, AGE = 97, LAST NAME is Makitantu}
    68: - > Hide Result::null
    69: - > cache result: {NAME = Suhas, AGE = 99, LAST NAME is Makitantu}
    70: - > Hide Result::null
    71: - > cache result: {NAME = Suhas, AGE = 101, LAST NAME is Makitantu}
    72: - > cache result: {NAME = Suhas, AGE = 102, LAST NAME is Makitantu}
    73: - > cache result: {NAME = Suhas, AGE = 103, LAST NAME is Makitantu}
    74: - > Hide Result::null
    75: - > Hide Result::null
    76: - > cache result: {NAME = Suhas, AGE = 106, LAST NAME is Makitantu}
    77: - > cache result: {NAME = Suhas, AGE = 107, LAST NAME is Makitantu}
    78: - > Hide Result::null
    79: - > cache result: {NAME = Suhas, AGE = 109, LAST NAME is Makitantu}
    80: - > cache result: {NAME = Suhas, AGE = 110, LAST NAME is Makitantu}
    81: - > cache result: {NAME = Suhas, AGE = 111, LAST NAME is Makitantu}
    82: - > cache result: {NAME = Suhas, AGE = 112, LAST NAME is Makitantu}
    83: - > cache result: {NAME = Suhas, AGE = 113, LAST NAME is Makitantu}
    84: - > cache result: {NAME = Suhas, AGE = 114, LAST NAME is Makitantu}
    85: - > cache result: {NAME = Suhas, AGE = 115, LAST NAME is Makitantu}
    86: - > Hide Result::null
    87: - > cache result: {NAME = Suhas, AGE = 117, LAST NAME is Makitantu}
    88: - > Hide Result::null
    89: - > cache result: {NAME = Suhas, AGE = 119, NAME is Xavier}
    90: - > cache result: {NAME = Suhas, AGE = 120, LAST NAME is Makitantu}
    91: - > Hide Result::null
    92: - > Hide Result::null
    93: - > Hide Result::null
    94: - > cache result: {NAME = Suhas, AGE = 124, LAST NAME is Makitantu}
    95: - > Hide Result::null
    96: - > cache result: {NAME = Suhas, AGE = 126, LAST NAME is Makitantu}
    97: - > Hide Result::null
    98: - > cache result: {NAME = Suhas, AGE = 128, LAST NAME is Makitantu}
    99: - > cache result: {NAME = Suhas, AGE = 129, LAST NAME is Makitantu}

    Whenever we see null as a response, we observed that the call from the client can't same cacheloader::load() method.

    An additional point is, when we recycle or restart cache loader and run the client program in step 4 of the data. It returns the result.

    Published by: Suhas Xavier on August 9, 2010 16:53

    Hi Suhas,

    The problem is in your configuration of cache files. You have different client and server cache configuration files, define all two distributed-scheme for ResultKey cache. In the client configuration file, SafeHashMap is used as card distributed system support while in the server configuration file, cache store is used. Since this is a distributed cache, storage/process of participation of the cache is divided between two nodes of coherence. The entries stored or processed by the cache on the client service would return zero, while the inputs processed by the cache on the Server service would return that store cache load returns. That's why you see some of some of the entries have a value and others are null.

    Try to use the same cache for the client and the server configuration file. If you don't want the client to a storage node, set - Dtangosol.coherence.distributed.localstorage = false in your java command. What exactly do you want to the client and the server to do? Maybe close cache is something you are looking for?

    -Luk

  • SELECT returns no results when there is a default namespace definition inXML

    Hello

    I have a problem that my select returns no results when there is a default namespace definition in my XML file.

    I'm using oracle 11g release 1

    XML file that is stored as a binary XML:

    < SIMS xmlns = "http://sims.ics.muni.cz" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://sims.ics.muni.cz jh_sims_matricni_vystupy_or.xsd" >
    < Vystup Datum = '2006-07-18' type = '2' Nazev = 'Last etapy' PocetStudentu = '1' PocetStudii = '2' >
    < Student RodneCislo = "8001011001" >
    Petr < name > < / name >
    < / student >
    < / Vystup >
    < / SIMS >

    This select return no results:
    SELECT s jh_sims_bin_no_schema student.jmeno, XMLTable ('/ the SIMS/Vystup/student ' PASSAGE s.OBJECT_VALUE jmeno PATH VARCHAR2 COLUMNS (10) 'Name') student

    When I remove the definition of default namespace (xmlns = "http://sims.ics.muni.cz") everything works well and even SELECT returns "Petr". When the file is stored in the storage object relational everything works great too!

    < SIMS xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://sims.ics.muni.cz jh_sims_matricni_vystupy_or.xsd" >
    < Vystup Datum = '2006-07-18' type = '2' Nazev = 'Last etapy' PocetStudentu = '1' PocetStudii = '2' >
    < Student RodneCislo = "8001011001" >
    Petr < name > < / name >
    < / student >
    < / Vystup >
    < / SIMS >

    Thanks for any help!

    Jan Hruby

    Lazy response:
    See the post "How to declare mapping prefix to namespace with XMLTable()?" in the {: identifier of the thread = 410714} stickied to the top of this forum.
    aka
    XMLTable (XMLNamespaces (...), "/ the SIMS/Vystup/student")

    Published by: A_Non on June 16, 2010 13:07
    Beat in a few seconds

  • Basic there IS NO query didn't return any results

    DB version: 10 gr 2

    One of our tables in the schema of the test is to have less number of columns as the shema of PROD.
    To determine missing columns of this table in the Test schema, I did the following.
    -----In Test Schema
    CREATE TABLE XYZ2
    (COL1 NUMBER);        ----------only one column
    
    
    SQL > CREATE TABLE tables_test_list AS SELECT TABLE_NAME,COLUMN_NAME FROM USER_TAB_COLS;
    
    Table created.
    -In the scheme of prod
    SQL> CREATE TABLE XYZ2 
      2  (COL1 NUMBER,
      3  COL2 NUMBER       ----------- same table name with an extra column
      4  );
     
    Table created
    And the scheme of PROD I have run the following SQL to determine what are the columns that do not appear in the TEST schema
    select column_name from User_Tab_Cols  outer
    where table_name='XYZ2'
    and not exists (select 1 from TEST_SCHEMA.tables_test_list inner where outer.TABLE_NAME=inner.TABLE_NAME )
    But the above query returns no results. No idea why?

    10 gr 2 is not a version. Version numbers have four numbers and no letters.

    Your statement is simply not true.
    It returns nothing if registration occurs in both tables, as you test existence: the number of records, according to your request is irrelevant.

    Differences can and should be identified by a simple less,

    Select...
    FROM table1
    less
    Select...
    from table2

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • I need to return the result of a query on a stored procedure

    I need to return the result of a query to a stored procedure, I mean when I run a stored procedure it returns a result set in a select statement.
    Best regards...

    Hello.

    Do you really want a stored procedure for this?
    Why not just a script that contains the query?

    Assuming that you don't really want a stored procedure, you'll have to decide what to do with the results.
    An option is a slider.

    For example, you can write a procedure of this type to hold the query:

    CREATE OR REPLACE PROCEDURE USP_TEST
    (     out_cursor     OUT     SYS_REFCURSOR
    )
    IS
    BEGIN
         OPEN  out_cursor
         FOR     SELECT     *
              FROM     scott.emp;
    END  USP_TEST;
    /
    SHOW ERRORS
    

    You can move the cursor to another procedure for handling.

    You could test this in SQL * more by creating a variable blond:

    VARIABLE     usp_test_cursor     REFCURSOR;
    
    EXEC  usp_test (:usp_test_cursor);
    
    PRINT     :usp_test_cursor
    
  • Reading number of XML nodes in a document &amp; amp; return the result in the text member

    Hi all

    I wonder if you can help me with the following:

    I want to read the number of nodes in an XML document and return the result in a text cast member. That's what I do so far, but he refuses to work

    Yes, my mistake. That should have been:
    --
    tList =
    nNodes = count(tList[1])
    sText = «»
    Repeat with i = 2 to nNodes
    tText = tList [1] .getPropAt (i)
    sText = sText & tText & RETURN
    end repeat
    -Remove rear BACK tank
    remove the last tank of sText
    -Place ALL the text in a text member
    Member ("test1"). Text = sText
    -- ...

Maybe you are looking for