Telnet data out

Hello,
I am having a problem with the telnet read data out, i am getting with the wanted output also many other characters, is there any way to filter those?
example:
    [1;1HMicrosoft Windows XP [Version 5.1.2600] [2;1H(C) Copyright 1985-2001 Microsoft Corp. [4;1HC:\Documents and Settings\bmulab\Desktop> [4;42H [4;44H [4;1HC:\Documents and Settings\bmulab\Desktop>cd C:\Documents and Settings\bmulab\Des [5;1Hktop\nic [6;1H [4;45H [7;1H [4;46H [7;1H [7;1HC:\Documents and Settings\bmulab\Desktop\nic> [4;47H [7;46H [4;48H [7;46H [4;49H [7;46H [4;50H [7;46H [4;51H [7;46H [4;52H [7;46H [4;53H [7;46H [4;54H [7;46H [4;55H [7;46H [4;56H [7;46H [4;57H [7;46H [4;58H [7;46H [4;59H [7;46H [4;60H [7;46H [4;61H [7;46H [4;62H [7;46H [4;63H [7;46H [4;64H [7;46H [4;65H [7;46H [4;66H [7;46H [4;67H [7;46H [4;68H [7;46H [4;69H [7;46H [4;70H [7;46H [4;71H [7;46H [4;72H [7;46H [4;73H [7;46H [4;74H [7;46H [4;75H [7;46H [4;76H [7;46H [4;77H [7;46H [4;78H [7;46H [4;79H [7;46H [4;80H [7;46H [5;1H [7;46H [5;2H [7;46H [5;3H [7;46H [5;4H [7;46H [5;5H [7;46H [5;6H [7;46H [5;7H [7;46H [5;8H [7;46H [5;9H [5;1H [6;1H [7;46H [7;48H [7;1HC:\Documents and Settings\bmulab\Desktop\nic>Disable_NIC.exe [8;1H [7;49H [8;1H [7;50H [8;1H [7;51H [8;1H [7;52H [8;1H [9;1HC:\Documents and Settings\bmulab\Desktop\nic> [7;53H [9;46H [7;54H [9;46H [7;55H [9;46H [7;56H [9;46H [7;57H [9;46H [7;58H [9;46H [7;59H [9;46H [7;60H [9;46H [7;61H [7;1H [8;1H [9;46H [9;48H [9;1HC:\Documents and Settings\bmulab\Desktop\nic>cd C:\Documents and Settings\bmulab [10;1H\Desktop\nic [11;1H [9;49H [12;1H [9;50H [12;46H [12;1HC:\Documents and Settings\bmulab\Desktop\nic> [9;51H [12;46H [9;52H [12;46H [9;53H [12;46H [9;54H [12;46H [9;55H [12;46H [9;56H [12;46H [9;57H [12;46H [9;58H [12;46H [9;59H [12;46H [9;60H [12;46H [9;61H [12;46H [9;62H [12;46H [9;63H [12;46H [9;64H [12;46H [9;65H [12;46H [9;66H [12;46H [9;67H [12;46H [9;68H [12;46H [9;69H [12;46H [9;70H [12;46H [9;71H [12;46H [9;72H [12;46H [9;73H [12;46H [9;74H [12;46H [9;75H [12;46H [9;76H [12;46H [9;77H [12;46H [9;78H [12;46H [9;79H [12;46H [9;80H [12;46H [10;1H [12;46H [10;2H [12;46H [10;3H [12;46H [10;4H [12;46H [10;5H [12;46H [10;6H [12;46H [10;7H [12;46H [10;8H [12;46H [10;9H [12;46H [10;10H [12;46H [10;11H [12;46H [10;12H [12;46H [10;13H [10;1H [11;1H [12;46H [12;48H [12;1HC:\Documents and Settings\bmulab\Desktop\nic>Enable_NIC.exe [13;1H [12;49H [13;1H [12;50H [14;46H [14;1HC:\Documents and Settings\bmulab\Desktop\nic> [12;51H [14;46H [12;52H [14;46H [12;53H [14;46H [12;54H [14;46H [12;55H [14;46H [12;56H [14;46H [12;57H [14;46H [12;58H [14;46H [12;59H [14;46H [12;60H [12;1H [13;1H [14;46H"
Thanks.

Hi Alvarion_Israel,
which charachters do you want to filter out?
Mike

Similar Messages

  • How do I get my data out of Keeper HD after updating iOS 7.1

    Recently I updated my iPad to iOS 7.1 and now my free Keeper HD won't open so I can get my data out.Keeper support say they can't assist

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
    Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    Delete the app and redownload.
    Downloading Past Purchases from the iTunes Store, App Store and iBooks Store
    http://support.apple.com/kb/ht2519
     Cheers, Tom 

  • How can I get my data out of my broken Macbook Pro?

    My macbook pro was working weird for no reason at Friday, and it also cannot turn on at Saturday suddenly, I didn't have time to backup my laptop before it stop working. Is this a response of Apple to help me take my data out of my broken laptop? Even I am still covered by applecare, they told me I need pay for extra 99 dollars for backup my data to my external hard drive.

    What happens when you try to boot up?
    Troubleshooting: My computer won't turn on
    Can you boot into Target Disk Mode?
    How to use and troubleshoot FireWire target disk mode - Apple Support
    Yo may have to take the HD out, insert it into an external enclosure and then connect to another computer.

  • I just plugged in my Iphone after 4 weeks of downloading music and adding contacts around 400 to be excact and it whipped all my data out and I have no photos nothing reset to factory defult and I cannot even listen to music I purchased because it skips

    I just plugged in my Iphone after 4 weeks of downloading music and adding contacts around 400 to be excact. When I plugged it in my computer it started to sync with iTunes and it whipped all my data out. I have no photos contacts nothing, so I then in a rage reset to factory defult and I cannot even listen to music I purchased because it skips. I just want my phone back

    Was this the very first time you ever plugged the phone into that computer?
    Did you pay attention to the prompts you were given when you plugged it in?
    Did you have iCloud backups turned on before you did this?  I hope so... If you did, restore the phone from the last iCloud backup from before you wiped it. If not, then the photos, etc. are gone. Apps and music can be re-downloaded.

  • I've recently messed up my Mac OS X Lion by deleting Aperture, but I need to get my data out of the computer. And by the way, I've got an important project in Final Cut Pro X. Is there any way I can back it up (including fxs and positions of the clip) ?

    Hello everyone
    I've recently messed up my Mac OS X Lion by deleting Aperture, but I need to get my data out of the computer. I've tried to repair it using DU, but it said I needed to backup all my data and reinstall the OS. How do I backup my data to an external drive?
    And by the way, I've got an important project in Final Cut Pro X. Is there any way I can back it up (including fxs and positions of the clip) ?
    Hope you guys can help me!

    You need to back up 2 folders, Final Cut Events and Final Cut Projects which by default are located on your Movies Folder. You can always check by clicking on a clip inside Fianl Cut X and selecting Show in Finder in the contextual menu for the selected clip.

  • Using menu ring to select data out of database with SQL

    I have a database setup with two tables and six columns of data. One of the columns contains an array of data. I would like to be able to read the data out with two ring controls. One ring to select the table and the other to select certain rows of data based on the value in one row. I want the data charts to update automatically inside a loop when the ring values are changed. I started by modifying the playback(fetching) example. The problem is when I change the menu item, I am not closing the first connection before opening a new one. Should I be using the running stored procedures with parameters method to accomplish this task?? I suppose all of the data could be read and then sorted out of the result.
    Attachments:
    myPlayback_rev2.vi ‏120 KB

    unclebump,
    There are two possible solutions. If you are using LabVIEW 6.0.x, then you will need to put a while loop around all of your program and poll to see if the values of the ring controls have changed (can be done with a shift register). If nothing has changed, then have a case structure that does nothing. If the values have changed, then get the new data.
    If you are using LabVIEW 6.1, then you can check for a value changed event on the ring controls. Everything else from the 6.0.x version from above would be the same. This eliminates the polling which reduces processor use.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • What is the best way to export the data out of BW into a flat file on the S

    Hi All,
    We are BW 7.01 (EHP 1, Service Pack Level 7).
    As part of our BW project scope for our current release, we will be developing certain reports in BW, and for certain reports, the existing legacy reporting system based out of MS Access and the old version of Business Objects Release 2 would be used, with the needed data supplied from the BW system.
    What is the best way to export the data out of BW into a flat file on the Server on regular intervals using a process chain?
    Thanks in advance,
    - Shashi

    Hello Shashi,
    some comments:
    1) An "open hub license" is required for all processes that extract data from BW to a non-SAP system (including APD). Please check with your SAP Account Executive for details.
    2) The limitation of 16 key fields is only valid when using open hub for extracting to a DB table. There's no such limitation when writing files.
    3) Open hub is the recommended solution since it's the easiest to implement, no programming is required, and you don't have to worry much about scaling with higher data volumes (APD and CRM BAPI are quite different in all of these aspects).
    For completeness, here's the most recent documentation which also lists other options:
    http://help.sap.com/saphelp_nw73/helpdata/en/0a/0212b4335542a5ae2ecf9a51fbfc96/frameset.htm
    Regards,
    Marc
    SAP Customer Solution Adoption (CSA)

  • Getting data out of ALV Grid

    Hi,
    i have an editable instance of cl_gui_alv_grid. Is there an easy way of getting out the data or do i really need to implement an event handler catching handle_data_changed? I'm not interested in the event itself, and cause the column is a kind of free text i dont need to check the data, so it is sufficient to get the data out when the user is clicking the ok button.

    hi
    refer this sample code... for non oops concept
    TABLES:     ekko.
    TYPE-POOLS: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      field_style  TYPE lvc_t_styl, "FOR DISABLE
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: it_fieldcat TYPE lvc_t_fcat,     "slis_t_fieldcat_alv WITH HEADER LINE,
          wa_fieldcat TYPE lvc_s_fcat,
          gd_tab_group TYPE slis_t_sp_group_alv,
          gd_layout    TYPE lvc_s_layo,     "slis_layout_alv,
          gd_repid     LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM set_specific_field_attributes.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
      wa_fieldcat-fieldname   = 'EBELN'.
      wa_fieldcat-scrtext_m   = 'Purchase Order'.
      wa_fieldcat-col_pos     = 0.
      wa_fieldcat-outputlen   = 10.
      wa_fieldcat-emphasize   = 'X'.
      wa_fieldcat-key         = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'EBELP'.
      wa_fieldcat-scrtext_m   = 'PO Item'.
      wa_fieldcat-col_pos     = 1.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'STATU'.
      wa_fieldcat-scrtext_m   = 'Status'.
      wa_fieldcat-col_pos     = 2.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'AEDAT'.
      wa_fieldcat-scrtext_m   = 'Item change date'.
      wa_fieldcat-col_pos     = 3.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MATNR'.
      wa_fieldcat-scrtext_m   = 'Material Number'.
      wa_fieldcat-col_pos     = 4.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MENGE'.
      wa_fieldcat-scrtext_m   = 'PO quantity'.
      wa_fieldcat-col_pos     = 5.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MEINS'.
      wa_fieldcat-scrtext_m   = 'Order Unit'.
      wa_fieldcat-col_pos     = 6.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'NETPR'.
      wa_fieldcat-scrtext_m   = 'Net Price'.
      wa_fieldcat-edit        = 'X'. "sets whole column to be editable
      wa_fieldcat-col_pos     = 7.
      wa_fieldcat-outputlen   = 15.
      wa_fieldcat-datatype     = 'CURR'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'PEINH'.
      wa_fieldcat-scrtext_m   = 'Price Unit'.
      wa_fieldcat-col_pos     = 8.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    FORM build_layout.
    Set layout field for field attributes(i.e. input/output)
      gd_layout-stylefname = 'FIELD_STYLE'.
      gd_layout-zebra             = 'X'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    FORM display_alv_report.
      gd_repid = sy-repid.
    call function 'REUSE_ALV_GRID_DISPLAY'
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
           EXPORTING
                i_callback_program      = gd_repid
               i_callback_user_command = 'USER_COMMAND'
                is_layout_lvc               = gd_layout
                it_fieldcat_lvc             = it_fieldcat
                i_save                  = 'X'
           TABLES
                t_outtab                = it_ekko
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
       UP TO 10 ROWS
        FROM ekpo
        INTO  CORRESPONDING FIELDS OF TABLE it_ekko.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  set_specific_field_attributes
          populate FIELD_STYLE table with specific field attributes
    form set_specific_field_attributes .
      DATA ls_stylerow TYPE lvc_s_styl .
      DATA lt_styletab TYPE lvc_t_styl .
    Populate style variable (FIELD_STYLE) with style properties
    The NETPR field/column has been set to editable in the fieldcatalog...
    The following code sets it to be disabled(display only) if 'NETPR'
    is gt than 10.
      LOOP AT it_ekko INTO wa_ekko.
        IF wa_ekko-netpr GT 10.
          ls_stylerow-fieldname = 'NETPR' .
          ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
                                                 "set field to disabled
          APPEND ls_stylerow  TO wa_ekko-field_style.
          MODIFY it_ekko FROM wa_ekko.
        ENDIF.
      ENDLOOP.
    endform.                    " set_specific_field_attributes

  • How do I know when the buffer flushed all the data out?

    I am using a very high sampling rate (500000 Hz) and acquire 1024 data points continuously.   It takes 370000 data points in 10 second.   I use a counter to help with the retrigger PFI line.   I have a huge buffer so that I can make sure that the buffer is not overflowed.  The code is attached below.  My problem is that the data acquisition is done so fast (in 10 seconds)  but the processing of the data is not.  In :nEvent, I basically save and plot the data.  The saving process is not slow.   However, our videocard is so SSSSLOOOW and can not keep up with realtime data display.    After the user is done collecting the data, they do not want to wait for the screen to plot the data from the buffer.   So after the data collection is done, I basically stop the plotting process but we still need to flush the data out from the buffer for saving.  My question is that how can I tell when the buffer is empty.
    Thanks,
    Yajai
    m_task = std::auto_ptr<CNiDAQmxTask>(new CNiDAQmxTask("aiTask"));
    m_counter = std::auto_ptr<CNiDAQmxTask>(new CNiDAQmxTask("coTask"));
    m_task->Stream.Timeout = -1;
    //Create a channel
    m_task->AIChannels.CreateVoltageChannel(physicalChannel, "",
    static_cast<DAQmxAITerminalConfiguration>(DAQmxAITerminalConfigurationRse), minimum, maximum,
    DAQmxAIVoltageUnitsVolts);
    m_task->Timing.ConfigureSampleClock(counterSource, sampleRate,DAQmxSampleClockActiveEdgeRising,DAQmxSampleQuantityModeContinuousSamples, samplesPerChannel);
    m_task->Stream.Buffer.InputBufferSize = samplesPerChannel * 2000;
    m_counter->COChannels.CreatePulseChannelFrequency(counterChannel, "coChannel", DAQmxCOPulseFrequencyUnitsHertz, DAQmxCOPulseIdleStateLow, 0, sampleRate, 0.5);
    m_counter->Timing.ConfigureImplicit(DAQmxSampleQuantityModeFiniteSamples, samplesPerChannel);
    m_task->Control(DAQmxTaskVerify);
    m_counter->Control(DAQmxTaskVerify);
    m_counter->Triggers.StartTrigger.ConfigureDigitalEdgeTrigger(
    referenceTriggerSource, DAQmxDigitalEdgeStartTriggerEdgeRising);
    m_counter->Triggers.StartTrigger.Retriggerable = true;
    m_taskRunning = true;
    m_counter->Start();
    // Set up the graph
    m_Graph.Plots.RemoveAll();
    for (unsigned int i = 0; i < m_task->AIChannels.Count; i++)
    m_Graph.Plots.Add();
    m_Graph.Plots.Item(i+1).LineColor = m_colors[i % 8];
    // Create Multi-channel Reader
    m_reader = std::auto_ptr<CNiDAQmxAnalogMultiChannelReader>(new CNiDAQmxAnalogMultiChannelReader(m_task->Stream));
    m_reader->InstallEventHandler(*this, OnEvent);
    m_reader->ReadMultiSampleAsync(samplesPerChannel, m_data);

    Yajai,
    I'm a little confused about your acquisiton. Do you intend for it to be
    finite, or continuous? I'm also unclear about your rates. You state
    that you are acquiring 1024 samples at 500kHz, yet you get only 370k
    samples in 10 seconds. Are you periodically acquiring 1024 samples at
    500kHz?  Do you do any reads other than the final m_reader->ReadMultiSampleAsync(samplesPerChannel, m_data)? Could you provide the code where you stop the plotting process?
    Thanks,
    Ryan V.
    Ryan Verret
    Product Marketing Engineer
    Signal Generators
    National Instruments

  • Read data out of htm-file

    dear guys
    i got the problem that i want to get some data out of a htm-file. that is why i have to choose a format that is more "universal" than an excel-file
    the problem is i got a excel-file and save it as htm/html - file because i got a excel-book with more than 20 linked spreadsheets in it and there is
    no other format in excel that can handle this linking by being universal enough to start my program on some other pc's
    so i dont want to manage it in excel because there are usually some version-conflicts using the original program of the project i am working on.
    so is it basically possible to get data out of a htm-file and if the answer is yes how....??

    Tobias,
    there could be several ways to solve your request.
    As far as i understand you like to create an offline analysis of your data. Datasource is excel.
    If you can switch to "online analysis", you could use ActiveX to fetch data from excel and perharps write results back to it from LV.
    If you stay offline, you have to choose a mechanic which works out for you. Since it seems to me that the file format is kind of given, you have to go through the analysis regardless of its effort (which can get very ugly....).
    In any case, you can view a file as a stream of data. The only question is how this stream looks like. This defines how you have to interpret the stream. ASCII-files can be interpreted very easy since you can use all the nice stringfunction (search and so on). Disadvantage is that these mechanics are slow. Binary files are faster, but you have to know very good how the file was created.
    Again, in any case, you have to know where the data are....
    So i fear that you have to go the whole way and analyse the files to know where to search for your content.....
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How can I get my data out of a crashed drive?

    I need help. Crashed hard drive. How can I get the data out?

    First have to define what a 'crashed drive' is, so we'll know how to respond.
    If you boot to an installer DVD does Disk Utility see the drive? What does it tell you about the drive?
    If the drive is showing up but not mounting it may be possible to repair it and get the data off yourself -
    But if it isn't even showing up then you may need to take it to a recovery specialist to get the data off it. This is costly and not guaranteed to always work.
    Did you replace the drive in the MBP and install a new OS on a new drive?
    Or is it still in the MBP and you are trying to recover it from there?
    One type of 'crash' is a head crash, usually caused by a impact or jarring to the drive while it is spinning which bounces the heads off the platters. This removes some of the magnetic media off the platters typically rendering it unrecoverable.
    So first priority is tell us precisely where you are with this drive, what you see, what you have tried, what the symptoms are, and what you need to accomplish.
    Rick

  • Why so much code getting data out of DB & into web services

    I am new to Java and I am experimenting with web services.
    I am trying to get data out of a database and into a web service
    This is the code I had to build just to get a little bit of data out of a DB and into a web service.
    // Open a database connection and statement.
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
    Connection dbConn = DriverManager.getConnection("jdbc:db2:sample","myuser","mypass");
    Statement statement = dbConn.createStatement();
    // Build the message.
    SOAPMessageContext ctx = (SOAPMessageContext) messageContext;
    try {
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage m = messageFactory.createMessage();
    SOAPEnvelope env = m.getSOAPPart().getEnvelope();
    SOAPBody body = env.getBody();
    SOAPElement elem =
    body.addBodyElement(env.createName("ns1:getEmployees"));
    elem.addNamespaceDeclaration("ns1",
    "http://www.abc.com/SampleApplication/Employee.wsdl");
    elem.addNamespaceDeclaration("ns2",
    "http://www.abc.com/SampleApplication/Employee.xsd");
    SOAPElement elem1 = new SOAPElementImpl("Response", null, null);
    // Execute the query.
    String sql = "SELECT EMPNO, FIRSTNME, MIDINIT, LASTNAME, HIREDATE FROM EMPLOYEE";
    ResultSet result = statement.executeQuery(sql);
    Isn't there a way with less code to get data out and stick into a web service?

    I left the part of the code out that is bugging me - I was talking about all of the code to get the data into XML..
    here's the whole code..
    // Open a database connection and statement.
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
    Connection dbConn = DriverManager.getConnection("jdbc:db2:sample","myuser","mypass");
    Statement statement = dbConn.createStatement();
    // Build the message.
    SOAPMessageContext ctx = (SOAPMessageContext) messageContext;
    try {
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage m = messageFactory.createMessage();
    SOAPEnvelope env = m.getSOAPPart().getEnvelope();
    SOAPBody body = env.getBody();
    SOAPElement elem =
    body.addBodyElement(env.createName("ns1:getEmployees"));
    elem.addNamespaceDeclaration("ns1",
    "http://www.abc.com/SampleApplication/Employee.wsdl");
    elem.addNamespaceDeclaration("ns2",
    "http://www.abc.com/SampleApplication/Employee.xsd");
    SOAPElement elem1 = new SOAPElementImpl("Response", null, null);
    // Execute the query.
    String sql = "SELECT EMPNO, FIRSTNME, MIDINIT, LASTNAME, HIREDATE FROM EMPLOYEE";
    ResultSet result = statement.executeQuery(sql);
    SOAPElement employee = new SOAPElementImpl("Employees", "ns2", "http://www.abc.com/SampleApplication/Employee.xsd");
    employee.addChildElement("ns2:EMPNO").addTextNode(result.getString("EMPNO"));
    employee.addChildElement("ns2:FIRSTNME").addTextNode(result.getString("FIRSTNME"));
    employee.addChildElement("ns2:FIRSTNME").addTextNode(result.getString("MIDINIT"));
    employee.addChildElement("ns2:LASTNAME").addTextNode(result.getString("LASTNAME"));
    employee.addChildElement("ns2:FIRSTNME").addTextNode(result.getString("HIREDATE"));
    elem1.addChildElement(employee);
    elem.addChildElement(elem1);
    ctx.setMessage(m);
    dbConn.close();
    } catch (Throwable e) {
    weblogic.utils.Debug.say("(hbs):e " + e);
    e.printStackTrace(System.out);
    putting the data in the node seems excessive to me.
    thanks
    AP

  • Read all raw data out of the CAN bus

    Hello,
    our company has purchased a complete CAN bus HW; chasis 9174 and module 9862. I am using NI-DAQmx 9.5.5, NI-XNET 1.5.
    I have connected the module (CAN High, CAN Low, Vsupp 12V - Car battery, GND - Car battery) to the ABS CAN bus segment.
    Using Osciloscope on CAN High and CAN Low wires I can see communication rolling when I start the car ignition.
    I had no success using the Bus Monitor utility.
    I made a very simple read VI hoping to monitor some traffic.
    All VIs run without error, but the Read VI is returning same data (Ignition off or on), I do not know what am I supposed to recieve, what kind of data is the output.
    I think it is wrong, since I get the same data out of it no matter what the CAN bus traffic is.
    The array of frames is filled with two frames with message identifiers that should be transmitted. I added two frames into emopty database and no signals.
    1) From my understanding, the Bus Monitor utility monitors only those messages that I specify in the database, so that no messages/frames = no traffic monitored, is this correct ?
    2) Is there any way, how to read all raw data from the bus ? What VI palettes to use... ?

    Problem solved, the company that was preparing the car made wrong labels (swapped CAN H with CAN L)

  • Performance issue loading data out of AS400

    Hi,
    For loading data out of AS400, I have created a view containing a join between three AS400 tables connected with a database link (And some more changes in the file tnsnames.ora and the listener. Hell of a job with Oracle, but it works finally)
    When I use the tool Toad, the results of this query will be shown in about 20 seconds.
    When I use this view in OWB to load this data into a target table, then the load takes about 15 MINUTES!
    Why is this so slow?
    Do I have to configure something in OWB to make this load faster?
    Other loads when I'm using views (to Oracle tables) to load data are running fast.
    It seems that Oracle does internally more dan just running the view.
    Who knows?
    Regards,
    Maurice

    Maurice,
    OWB generates optimized code based on whether sources are local or remote. With remote sources, Warehouse Builder will generate code that uses inline views in order to minimize network traffic.
    In your case, you confuse the generation by creating a view that does some remote/local joins telling OWB that the object is local (which is only partly true).
    Perhaps what you could do is create one-to-one views and leave it up to OWB to join the objects. One additional advantage you gain with this approach is that you can keep track of the impact analysis based on your source tables rather than views that are based on the tables with flat text queries.
    Mark.

  • Getting data out of Oracle to SQL Server 2005

    Hello,
    I am new in Oracle and I have this question.
    I need to transfer lots of data frequently at day from a large Oracle DB to a SQL Server 2005 Database.
    Could you tell me what tools (including PL/SQL) ORACLE offers to reach this goal?
    *.Dat files are still a way to perform this job or other method more performance (quickly and efficiently) are available?
    Using MS SSIS is better ?
    Thank for your help

    I've done getting data out of Oracle to MS Access DB using heterogenous servicing.I hope that that would be the best way for your case too..
    Check this out.
    http://www.datadirect.com/developer/odbc/oracle_heterogeneous/index.ssp
    Regards,
    Bhagat

Maybe you are looking for