datasockets - only a partial success.

Hello

Tried to run the examples (reader and Writer) in the C:\...\National Instruments\CVI2010\samples\datasocket folder in both scenarios:

Scenario_1: the two player / Recorder run on different computers, but in the same local network.

Result: Ran are expected.

Scenario_2: same as Scenario_1 with the only change: Reader ran outside LAN of the writer. It's in the box wireless Wi - Fi (internet surfing was normal).

Result: PROBLEM. The player could not connect to the server and a message was produced: error: disconnected: Connection timed out.

No idea what is causing this problem?

Andrzej


Tags: NI Software

Similar Questions

  • HP Officejet Pro 8500: HP Officejet Pro 8500 ceased only printing partial page in pink only

    Printer was only print a partial page of the multi page document. Replace the printer cartridges. Has run HP Diagnostics and cleaned the print heads. Still no change. For priting only a small amount of test page in pink only. Also have cartridges removed and rehabilitated. Have restarted printer several times. Please notify.

    Hello @help411911,

    The Forums of HP is a great place to find answers to the questions/problems you may have, welcome! I see that you are facing some print quality problems when you print to your HP Officejet 8500. It is printing in pink only and partial pages. You have performed the steps in troubleshooting without success.

    1. When you performed the cleaning and printed the test page, have you seen all the colors on the page or is - this only rose as well?

    2. are you able to make a black copy?

    3. When you upgraded to Windows 10 you would update the software and drivers for the 8500 JO so?

    What does the HP print and Scan doctor find? I look forward to hear from you.

    You can say thank you easily by clicking on the ' Thumbs Up ' below!

  • C6S install only partially successful

    Hi, my serial number arrived today and I tried to install on my XP Pro SP3 machine CS6 and only half installed... ?

    (In full), I received the error message is less in-it seems to imply I dod has insufficient system resources, but the minimum specifications (on Adobe's Web site) are met... ?

    The other scarey bits is where it says that the configuration data are corrupted WTF?

    Any help is appreciated...

    Product sheet:

    CS6 WIN ESDR DSST

    System Specs:

    Intell Core 2 CPU 2.33 Ghz

    2 gigabytes of Ram

    XP Pro SP3

    Error message:

    Exit code: 6

    Please see the faults and warnings below for troubleshooting. For example, ERROR: DF012, DW063... WARNING: DW024, DW064...

    -------------------------------------- Summary --------------------------------------

    -fatal error 1, 13 error (s), 2 warning (s)

    WARNING: DW024: payload: {9124DF4E-617D-486B-A970-8FA632244F24} Adobe Photoshop CS6 13.0.0.0 Core requires a parent from the user interface with the following specification:

    Family: Photoshop

    ProductName: Adobe Photoshop CS6 Core_x64

    This parent relationship is not satisfied, because this charge is not present at this session.

    WARNING: DW064: memory requirements not met for {CFB770D7-8D43-1014-922B-CC2715FADE3F}, Application Adobe InDesign files Base 8.0.0.0 CS6

    -Payload: {92D58719-BBC1-4CC3-A08B-56C9E884CC2C} Microsoft_VC80_CRT_x86 1.0.0.0.

    ERROR: Install payload MSI failed with the error: 1610 - the configuration data for this product are damaged.  Please contact the support staff.

    MSI error message:

    -Payload: {7D4E9D10-AED6-485D-A2B0-9A1DF1A55545} Adobe Illustrator CS6 Core 16.0.0.0.

    ERROR: DF012: cannot find the file ' C:\Program Files\Common Files\Adobe\Installers\adobeTemp\ {7D4E9D10-AED6-485D-A2B0-9A1DF1A55545} \_3_d41da349e4c033 3f1216ecd73e817f07 "(Seq 3)".

    ERROR: DW063: ARKMoveFileCommand of command failed. (Seq 3)

    -Payload: {CFB770D7-8D43-1014-922B-CC2715FADE3F} Adobe InDesign CS6 Application Base Files 8.0.0.0 -.

    FATAL: DS003: impossible to extract 'D:\Adobe CS6\payloads\AdobeInDesign8AppBase-mul\Assets1_1.zip' to 'C:\Program Files\Common Files\Adobe\Installers\adobeTemp\ {CFB770D7-8D43-1014-922B-CC2715FADE3F} ". : Error data error (cyclic redundancy check) 23.

    ERROR: DW050: the following payload errors were found during the installation:

    ERROR: DW050:-Microsoft_VC90_CRT_x86: installation failed

    ERROR: DW050:-Adobe InDesign CS6 Common Language Files_AdobeInDesign8CommonLang-en_GB: installation failed

    ERROR: DW050:-Adobe InDesign CS6 Common Language Files_AdobeInDesign8CommonLang-en_US: installation failed

    ERROR: DW050:-Adobe Illustrator CS6 Core: due to a lack of Language Pack installation

    ERROR: DW050:-Files_AdobeInDesign8AppLang-fr_FR CS6 Application Adobe InDesign language: installation failed

    ERROR: DW050:-Microsoft_VC80_CRT_x86: installation failed

    ERROR: DW050:-Adobe Illustrator CS6 Core_AdobeIllustrator16en_GBLanguagePack: installation failed

    ERROR: DW050:-Adobe Mini Bridge CS6: installation failed

    ERROR: DW050:-standard Adobe 2.0: installation failed

    ERROR: DW050:-Basic Application of the CS6 Adobe InDesign files: due to a lack of Language Pack installation

    Download the runtimes MSVC 2008 and 2009 from Microsoft and install them manually. Run the Creative Suite cleanup tool and try the install again.

    Mylenium

  • Access the DataSocket only using nids.dll

    Hello
    I have the task to communicate to a program, written in LabView, while communicating data hit, using only the INIDSCtl and ICWData of nids.dll interfaces. Communication in the sense that I send data to the program LabView works, but I have problems receiving data. The data that are sent are a set of 4 floating values (32 bit floatingpoint). I can see in the diagnoses of Server Socket given that there really are packets sent, but I can't receive these data.
    I'm this programming in C++ using MS Visual Studio 6.0. I don't have any other tools (such as Measurement Studio).

    The labour code to send only an integer value is simple 16 bit (I removed all control error for shorter code)

    #import "C:\windows\system32\nids.dll" raw_interfaces_only, no_namespace, named_guids
    ...
    HRESULT hr = g_pNIDSCtl.CreateInstance("CWDSLib.CWDataSocket");
    ...
    ComBSTR bstrURL (_T ("dstp://localhost/emmenu_to_ts"));

    HR = g_pNIDSCtl-> put_URL (bstrURL (bstr_t));
    HR = g_pNIDSCtl-> put_AccessMode (cwdsWrite);

    b short;
    HR = g_pNIDSCtl-> SyncConnect (30000, & b);

    ICWData * pData = NULL;
    HR = g_pNIDSCtl-> get_Data (& pData);

    CComVariant varStart (short) 1;
    HR = pData-> put_Value (varStart);
    pData = NULL;

    HR = g_pNIDSCtl-> Update();

    HR = g_pNIDSCtl-> Disconnect();

    However, the code to retrieve the data that does not work is as follows

    CComBSTR BstrURL (_T ("dstp://localhost/ts_to_emmenu"));

    HR = g_pNIDSCtl-> put_URL (bstrURL (bstr_t));
    HR = g_pNIDSCtl-> put_AccessMode (cwdsRead);

    b short;
    HR = g_pNIDSCtl-> SyncConnect (30000, & b);

    ICWData * pData = NULL;
    HR = g_pNIDSCtl-> get_Data (& pData);

    CComVariant varVal;
    HR = g_pNIDSCtl-> Update();

    HR = pData-> get_Value (& varVal);
    //
    VarVal HERE is always 0, regardless of the values in the data?
    //
    pData = NULL;

    HR = g_pNIDSCtl-> Disconnect();

    My question: is it still possible to recover a table of 4 floats using only nids.dll interfaces and if yes, can someone push me in the right direction or give me some advice.

    Thanks in advance
    Peter

    Hello Peter,.

    Sorry I mixed things up... I really need a window because I wanted to be able to use INIDSCtl.SelectURL ().

    But there is no need to use DataSocket. The important things are:

    1. call CoInitializeEx() with COINIT_MULTITHREADED parameter.

    2. when 2 une fois connecte connected to the server, call INIDSCtl.GetStatus () repeatedly until it returns cwdsConnectionActive.

    3. call INIDSCtl.Update () and read your data.

    Here is a quick and dirty example you can try in conjunction with "DS Writer.vi' example:

    #define _WIN32_WINNT 0 x 0501

    #include
    #include
    #include

    #include

    #import 'nids.dll"no_namespace don't

    int main()
    {
    HRESULT hr = CoInitializeEx (NULL, COINIT_MULTITHREADED);
    {
    Instantiate DataSocket.
    DS INIDSCtlPtr;
    HR = ds. CreateInstance (__uuidof (CWDataSocket));

    To connect to the server.
    HR = ds-> ConnectTo (_bstr_t (L "dstp://localhost/wave"), cwdsRead);

    Wait until the connection is established.
    Status of CWDSStatus;
    While ((statut = ds->GetStatus()) == cwdsConnecting)
    {
    Sleep (100);
    }

    Get data.
    While ((hr = ds->Update()) == S_OK)
    {
    if(DS->GetDataUpdated() == valeur VARIANT_TRUE)
    {
    _variant_t retVal = ds->-> GetValue GetData();
    check the type of the VARIANT. It must be an array of double.
    If (V_VT(&retVal)! = (VT_ARRAY |)) VT_R8))
    throw _com_error (E_FAIL);

    Unpack the table.
    SAFEARRAY * psa = V_ARRAY (& retVal);
    If (psa is NOTHING)
    Throw _com_error (E_POINTER);

    He must have a dimension.
    If (psa-> SICGD! = 1).
    throw _com_error (E_FAIL);

    Double HUGEP * vals;
    HRESULT hr = S_OK;
    If (FAILED (hr = SafeArrayAccessData (psa, (Sub HUGEP *) & vals)))
    Throw _com_error (hr);

    for (long unsigned I = 0; i < psa-=""> rgsabound [0] .cElements; i ++)
    {
    std::cout< vals[i]=""><>
    }

    Table is no longer needed.
    If (FAILED (hr = SafeArrayUnaccessData (psa)))
    Throw _com_error (hr);
    }
    }
    }

    CoUninitialize();

    return 0;
    }

  • I can't uncheck the 'Read only' attribute with success a Program Files (x 86) folder. Help, please?

    Hello. I have mod Grand Theft Auto IV for pc. Long story short, I have the re - install. There is this called LCPDFR mod that allows you to become a police officer in the game. I need to download this. In order to successfully download this (when I try to download / save, he said "the Publisher of this program could not be verified". it gives me no option to run or something and that's it, apparently because of the problem I put in the title and Description), the root folder "Grand Theft Auto IV" (which is in my "Program Files (x 86)" folder) is not to be 'Read Only' (the 'Read only' checkbox must be deselected in 'Properties'). Do not forget that, under the tab 'security' in 'Properties', for the folder root of "Grand Theft Auto IV", I have administrators / me 'total control '. So, as I said, I uncheck the 'Read only', click on 'Apply', then 'Ok '. I go back in 'Properties' and 'Read Only' is checked as if I had never disabled it in the first place (when I already just did).

    So, in summary, the problem I have is that every time I uncheck "Read only", click on apply, then click ok, and go to properties again, it is always checked when I was already unchecked, applied and then approved it. This continues to be over and over and over again. Please help me?

    PS - I have windows 8.

    I thank you very much for your time and have a nice day!

    Hello. For some reason I'm not able properly to uncheck the 'Read only' attribute of a folder in my "Program Files (x 86)". Whenever I click to uncheck the 'Read only' in 'Properties' (tried several times) and click 'Apply', then 'Ok' and I go back to check it out, it is checked as if I've never disabled it. I have Windows 8. He continues to do this and I don't know why. Help, please?

    ====================================================
    Read-only status is normal for files because Windows ignores the
    attribute. Whatever the question is that you are trying to correct may not
    be associated with the State of the file read-only.

    If you change the attribute read-only folder... What follows
    the article covers Windows Server 2003, XP, Vista and 7... Perhaps it would be
    work for Windows 8.

    (326549) you cannot view or change the Read-only or the system
    attributes of folders in Windows Server 2003, Windows XP, in Windows
    Vista or Windows 7
    http://support.Microsoft.com/kb/326549/en-us

  • ORA-30926 on MERGE statement, occurs only with PARALLEL, success without PARALLEL hint hint.

    Hi Experts,

    I write under the MERGE statement. In this cardinality of the table_a table_b is 1:2. That is, each record of table_b corresponds to 2 records in table_a based on columns in CLAUSE.

    Well, this query throws below error.

    -Error-

    ORA-12801: error reported in the P011 parallel query server

    ORA-30926: failed to get a stable set of rows in the source tables

    However, the same statement runs successfully what tip PARALLEL is removed altogether. (There are no duplicates in table_b based on unity, group, loc columns.)

    Please sugget if anything look his place here or causes possible.

    -Request-

    MERGE / * + PARALLEL (8) * /.

    IN table_a a

    With the HELP of table_b b

    ON (a.unit = b.unit

    AND a.group = b.group

    AND a.loc = b.loc)

    WHEN MATCHED

    THEN UPDATE

    SET a.u_pushonly = b.u_pushonly

    a.u_seasonind = b.u_seasonind,

    a.eff = BOX

    WHEN b.u_season_start_dt <>TO_DATE('01/01/1970','DD/MM/YYYY')

    OR b.u_season_end_dt <>TO_DATE('01/01/1970','DD/MM/YYYY')

    OR b.u_pushonly = 1

    THEN more GRAND (NVL (b.u_assortment_start_dt, TO_DATE('01/01/1970','DD/MM/YYYY'))

    b.u_season_start_dt)

    Of OTHER NVL (b.u_assortment_start_dt, TO_DATE('01/01/1970','DD/MM/YYYY'))

    END;

    kendenny wrote:

    Fusion requires that columns be unique in both tables. Given that you only update was not insert is not put in correspondence, then you can use a single update statement.

    I don't think so, it requires only NEW data is unique. Informal argument: a single line in the new table can update several lines in the table of old, but you can not use several lines in the new table to update a single row in the old table.

    However, I wonder if something went wrong with the parallelism so that the lines with the same VALUES for the data (old) table_a has been distributed through many slaves, leading to several slaves, trying to update each on the other lines.  (I don't see how this could happen, but it's one of the problems with bugs - if she should not deceive you, it can be difficult to imagine how it's bad).

    To the OP - this sounds like something, you need to trigger an SR for (after a search of MOS).

    Concerning

    Jonathan Lewis

  • Issue of w only movie partially charge in some Configurations of browser/player

    I have a movie SWF multi uses AS2, which behaves differently in different browsers.

    The basic scenario is as follows. There is a root film that acts as a control panel for user input.

    1. it loads then analyzes xml to determine how the interface should look (what images, radio buttons, etc. to display)

    2 then it loads and position the elements on the stage (rbs, thumbnails)

    3. child swf loading

    When this problem occurs, complete step 2 only partially and step 3 does not occur. No script error message.

    I'm getting different reports of testers-

    Tester 1

    Plaver PC version - 10.3

    1. 8.0 Firefox on PC - question
    2
    Internet Explorer 8 PC - no problem

    Player MAC version
    3
    safari Mac - question

    Tester 2

    PC Player version - 10.3

    1. 8.0 Firefox on PC - no problem
    2
    Internet Explorer 8 PC - question

    Version MAC Plaver - 11.1

    3 Safari Mac - no problem

    4 chrome - no problem



    Tester 3

    Version of Player - 11,0,1,152

    1. 8.0 Firefox on PC - Ipnnc
    2
    Internet Explorer 8 PC - question, but if the tester uses browser back button and then comes back to the issue of the page disappeared


    Tester 4

    Version of Player - 11,0,1,152

    1. 8.0 Firefox on PC - question
    2
    Internet Explorer 8 PC - question, but if the tester uses browser back button and then comes back to the issue of the page disappeared

    The only consistency seems IE and possibly the version of the player.


    Any help would be greatly appreciated!

    Thank you

    Andy

    Some components added with code also initialize not immediately and code try to affect their properties does not work until a moment after their initialized.

    What is your url and what needs to be done to see the problem?

  • My office shows only a partial Background Image every time

    For about 1 week, my office no longer displays the full background image.  Whatever the base image that I chose, that is my personal image or one of the options listed, when it displays on my desk he chops off the coast of the part of the background.  I already went to properties, Desktop and tried different "positions" (alias tile, Center and stretch).  The problem persists.  The only recent change that could possibly explain what I was doing last week online search and my computer started acting weird after that I clicked on one of the sites.  I had to force it to close and when it restarted, my Active Desktop had been turned off (I guess that as a protection).  But since then, I was able to reboot and restore my desktop computer 'active'.  So I do not understand why there is still a prob.  Thanks in advance or any help you have to offer.  :)

    Hi Nicole2012,

    Try to change the resolution of the screen and then try to change the wallpaper.

    To change your screen resolution

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/display_change_screen_resolution.mspx?mfr=true

     

    You can also read the article and check mentioned below.

    Resources for troubleshooting problems in Windows XP

    http://support.Microsoft.com/kb/307960

    Let us know if it helps.

  • When I click on the IE icon only a partial page

    Windows Vista Home Premium 32 bit IE 8

    When I click on the IE icon on desktop or in the quick launch area, a tiny partial page appears at the top of the screen and I have to maximize. Do not do this.

    This just started happening a few days ago. How can I get this back to where it shows a full page without maximize?

    THANX

    Hi, more frustrated,

    Maybe you closed a small window changed over the past days that would explain this behavior.

    Launch IE

    Place your cursor on the edge of the window

    When you see the arrow double head, left click and drag to your taste

    You can do it on the sides, top and down to this than satisfied with resizing

    When finished, close IE

    New IE launch which should open in the new size

    Make sure you close the last larger window because Windows remembers the last of them.

  • I get only a partial view

    Since I installed vista service pack 2 not only my slower connection and it takes longer for my pc to start but on some apps I'm only able to pull the internet application.  like farmville.

    I did a scan and there is no virus.  What can I do else?

    Take a look at these articles:

    for the system slow start
    http://Windows.Microsoft.com/en-us/Windows-Vista/ways-to-improve-your-computers-performance

    for a slow internet connection
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-connection-problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/why-is-my-Internet-connection-so-slow

  • Photosmart 6520: Printer only printing partial photo

    Some of my photos Print OK on paper HP Advanced, but in some cases (well, one in particular) that part of the image is printed.  The amount of the picture that prints varies each time, but in all cases, the document presented by the photo tray is followed by a bunch of jumbled nonsense that prints on plain A4 paper.  You can see in the attached picture.

    I don't know if it's of any relevance, but I edited this particular image in Photoshop elements 13.

    Thank you very much

    Tim Jones Haveron

    How is the printer connected?  The problem you are experiencing seems to be a problem of communication between the computer and the printer.  If the printer is connected by a wireless LAN in the here document troubleshooting steps can help.  Print HP and the doctor http://www.hp.com/go/tools Scan may also help to identify interference problems.

    The fact that the problem occur at different places on the sons of page believe me it not related to the image or how it was edited.  It might be interesting to save the image to a memory card and that plug directly into the printer and try to print from there.

  • COA is damaged. Only the partial product code.

    I am repairing a computer for a customer and had to reinstall Windows Vista Home Premium, 32-bit.  The certificate of Authenticity on the side of the computer is damaged while there are 3 to 5 characters (illegible) missing from the product code.  How can I recover the missing letters for this COST?  How can I legally activate this installation of windows?

    I am repairing a computer for a customer and had to reinstall Windows Vista Home Premium, 32-bit.

    If you launched a complete operating system reinstall without making sure you got all the codes of appropriate product, the drivers and the installation diskettes, then you start to guess which product are the characters of code.

    If you have not yet started and the computer is used, use a free program like BelArc Advisor or SiSoft Sandra on the computer/laptop. Each of these lists several factors of the computer configuration, including software installed and associated with product keys. If you're feeling particularly playful mood, Magical Jelly Bean Keyfinder is another option.

    Once you have collected and recorded, guard against losing product in case of catastrophic hard drive crash keys by burning them on a sticker or even a post-it and the setting inside the computers laptop compartment or Office computer case so they'll get not dissipated with a normal daily use.

  • Results page only shows partial recording



    Hello everyone: I'm new to this forum and I would like to ask for help. I've searched and searched but cannot find the answer to my problem on this forum or others.

    I have a problem is the following;

    I have a results page that displays the complete one version a unique story. I'm pulling the story with a simple URL parameter. The Tagus PHP for the assigned field contains a statement simple nl2br and I use not all complex queries to extract data.

    When I update registration update page I get no errors of any kind, but when I load the page that displays the record being updated, the value of the field in question is trucated.

    I see no problem with any of the code, and I'm pretty baffled by the latter.

    Here's the code for the record display

    <? PHP echo nl2br ($row_rsNews ['story']); >

    And this is the code for the update action

    <? PHP
    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
    {
    $theValue = (! get_magic_quotes_gpc())? addslashes ($TheValue): $theValue;

    Switch ($theType) {}
    case 'text ':
    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";
    break;
    case "long":
    case "int":
    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';
    break;
    case "double":
    $theValue = ($theValue! = "")? « " ». doubleVal ($TheValue). "" "": "NULL";
    break;
    case "date":
    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";
    break;
    case "set":
    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;
    break;
    }
    Return $theValue;
    }

    $editFormAction = $_SERVER ['PHP_SELF'];
    If (isset {}
    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);
    }

    If ((isset($_POST["MM_update"])) & & ($_POST ["MM_update"] == "updatenews")) {}
    $updateSQL = sprintf ("news SET 'date' = %s, subtitle = %s, title = %s, history = %s, image = %s, thumb = WHERE id = %s %s",
    GetSQLValueString ($_POST ['date'], 'day'),
    GetSQLValueString ($_POST ["'subtitle"], "text").
    GetSQLValueString ($_POST ['title'], "text").
    GetSQLValueString ($_POST ['history'], "text").
    GetSQLValueString ($_POST ['image'], "text").
    GetSQLValueString ($_POST ['thumb'], "text").
    GetSQLValueString ($_POST ['id'], "int"));

    @mysql_select_db ($database_ifbdb, $ifbdb);
    $Result1 = mysql_query ($updateSQL, $ifbdb) or die (mysql_error ());

    $updateGoTo = "news_list.php";
    If (isset {}
    $updateGoTo. = (strpos ($updateGoTo, '?'))? « & » : « ? » ;
    $updateGoTo. = $_SERVER ['QUERY_STRING'];
    }
    header (sprintf ("location: %s", $updateGoTo));
    }

    $colname_rsNews = "-1";
    If (isset($_GET['id'])) {}
    $colname_rsNews = (get_magic_quotes_gpc())? $_GET ['id']: addslashes($_GET['id']);
    }
    @mysql_select_db ($database_ifbdb, $ifbdb);
    $query_rsNews = sprintf ("SELECT * FROM new WHERE id = %s", $colname_rsNews);
    $rsNews = mysql_query ($query_rsNews, $ifbdb) or die (mysql_error ());
    $row_rsNews = mysql_fetch_assoc ($rsNews);
    $totalRows_rsNews = mysql_num_rows ($rsNews);
    ? >

    I would really appreciate any help that this group has to offer.

    Hi Gunther:

    I'm really very embarrassed, on this subject, but I think I found the problem...

    I had a look at the configuration of the table in MySQL Administrator, and he had the problem look me right in the face...

    'History' field has been set to varchar (255). I have reset TEXT and everything is fine now!

    Please accept my sincerest thanks for your help. Your suggestion to check if I was using a textarea is prompting me to check the datatye again. I don't know how he's changed, but I know now where to check first if it happens again.

    Thaks a ton!

  • Analysis of xml with parserv2 hard

    Hello, since a servlet on OAS 10.1.2.0.2, I'm trying to parse some xml but I get only a partial success. First problem I see is that it has 7 children of my node selected (LoanType) - there are two. Seven children are reported. But there are 7 LoanType nodes (brothers and sisters). The second problem is that I can not get the value of a node; just the name. getNodeValue() always returns null. But getNodeName() works very well. Anyone know why?

    PS, there is no DTD or schema. It was supposed to be a simple proof of concept. 8 -)

    my xml file:
    ------------
    < LoanDecision >
    < LoanType >
    Costs of < ShortName > < / ShortName >
    Costs of < LongName > < / LongName >
    < / LoanType >

    .. shown .not are six knots of LoanType more with the same format as the above...

    < / LoanDecision >



    my code snippet:
    -------------------
    URL url = new URL ("xmlUrl");
    DOMParser parser = new DOMParser();
    parser. Parse (URL);
    Doc document = parser.getDocument ();
    NodeList mainNodeList = doc.getElementsByTagName("LoanType");

    for (int mainNodeIt = 0; mainNodeIt < mainNodeList.getLength (); mainNodeIt ++) {}
    E node = mainNodeList.item (mainNodeIt);
    NodeList children = e.getChildNodes ();
    out.println ("primary node:" + e.getNodeName () + "with" + children.getLength () + "of the children.) < br >");

    for (int childIt = 0; childIt < children.getLength (); childIt ++) {}
    Node ee = children.item (childIt);
    String name = ee.getNodeName ();
    If (name.equals ("ShortName") | name.equals ("LongName")) {}
    out.println (name + ":" + ee.getNodeValue () + "< br >");
    }
    }
    }



    results:
    --------
    Main node: LoanType with 7 children.
    ShortName:null
    LongName:null
    Main node: LoanType with 7 children.
    ShortName:null
    LongName:null
    Main node: LoanType with 7 children.
    ShortName:null
    LongName:null
    Main node: LoanType with 7 children.
    ShortName:null
    LongName:null
    Main node: LoanType with 7 children.
    ShortName:null
    LongName:null
    Main node: LoanType with 7 children.
    ShortName:null
    LongName:null
    Main node: LoanType with 7 children.
    ShortName:null
    LongName:null

    getNodeValue() always returns null.
    Replace getNodeValue() by getFirstChild () .getNodeValue)

  • Install only Acrobat Pro for Creative Suite

    I have CS4 and I'm wanting to only use Acrobat Pro to this Suite. I have put other software up-to-date, so I did not need beyond Acrobat Pro CS4. I'm trying to install Acrobat only, it says that it install successfully, but it does not open. He says that I have to save more. I also installed InDesign in CS4, so I'm opening to start recording of the suite, but this does not work too. Is it impossible to install Acrobat Pro only, or partial installation of CS4 (even if it's an option)? Is my partial installation of CS5 (Illustrator only) or my subscription to CC for Photoshop and Lightroom a problem?

    Hey Gaijin,

    Please post on the Adobe Forums, you can try to install Acrobat with any component of the suite (e.g. Indesign) and then activate tyne Indesign first by launching it, it would be to activate Acrobat.

    Thank you

    Vikrantt Singh

Maybe you are looking for

  • Forget the apple id pasw

    forget my apple iPhone 5 s ID and the password if you can help me?

  • Poor video performance

    I would like to try to get chrome to Firefox, but there is a question that makes it impossible. When I play a video with Firefox it works very slow, and worse than chrome quality. For example, when I develop the video full screen, happening very slow

  • Windows 7 can not find my Toshiba STORE. E. ALU 3.5 "

    LS, I can't connect my external hard drive - a Toshiba STORE. E ALU 3.5 "to my Windows7 system.With XP I had no problems. How can I connect this drive to my Windows 7 computer? Thanks for the help, Neusbeertje

  • How to change the order of photos in pictures

    Hello.  I am using Photos and my photos currently appear in the order that they were imported to the Photos.  I would like my photos to be displayed in order of the date they have been taken.  Any idea on how to achieve this?  Thank you!

  • Neural network: is there a tool kit?

    Is there a Toolbox in order to use the networks of neurons with labview? (I'm not an expert on neural networks, I have just been told today to try to solve a problem using neural networks, I don't know where to begin from...) Well... I'm from labview