Error while reading/writing to serial port

Hello,
I am trying to read/write to my serial port but
this message shows every time i launch the
program. Does anyone know some help ?
Thanks
FdB
Attachments:
error2.ppt ‏172 KB

Frederico
This VI (LV8)
1. Open the serial port at 2400 baud
2. Powers down the PT104 and wait 0.5 secs for this to settle
3. Flushes the serial power buffer to remove any power down acknowledgements in the serial buffer
4. Powers up the PT104 waits 1 sec for things to settle
5. Reads any bytes in serial rx buffer.
6. Power down the PT104
7. Close the COM Port.
This is a bit of a guess but this is how I would approach it. Can you try this and let us know how you get on?
thanks
David
Message Edited by David Crawford on 07-20-2006 10:31 AM
Attachments:
PT104 - Get Version at Power Up.vi ‏56 KB
PT104 - Get Version at Power Up.jpg ‏50 KB

Similar Messages

  • Problem while reading data from Serial Port

    Hi All,
    I am facing some problem while reading data from Serial Port.
    As per the requirement I am writing the data on Serial Port and waiting for response of that data.
    Notification for data availabilty is checked with method public void serialEvent(SerialPortEvent event) of javax.comm.SerialPortEventListener.
    When we are writing data on the port one thread i.e. "main" thread is generated and when data availability event occures another thread "Win32SerialPort Notification thread" is generated. This creates problem for me as we can't control thread processing.
    So can anybody pls explain me how to overcome this problem?
    Regards,
    Neha

    My Problem is:-
    I am simoultaneouly wrting data on port & reading data from port.
    First I write data on port using outputStream.write() method. Now when target side sends me response back for the request on serial port DATA_AVAILABLE of SerialPortEventListner event occured,we are reading data from serial port.Now till the time we didn't get the response from target next command can't be written on the serial port. When we are writing data on port main thread is executed.Now my problem starts when DATA_AVAILABLE event occured.At this point another thread is created.Due to this my program writes data of next command without reading response of previous command.To solve this prob. I have used wait() & notify() methods as follows.But again due to this my pc hangs after execution of 2 commands. (PC hang in while loop in a code provided below.)
    From SOPs I could figure it out that after 2 commands we are not able to write data on serial port so DATA_AVAILABLE event doesn't occure n pro. goes in wait state.
    Can anybody help me to solve this issue.
    Neha.
    Code:
    public void serialEvent(SerialPortEvent event)
              switch (event.getEventType())
                   case SerialPortEvent.BI:
                   case SerialPortEvent.OE:
                   case SerialPortEvent.FE:
                   case SerialPortEvent.PE:
                   case SerialPortEvent.CD:
                   case SerialPortEvent.CTS:
                   case SerialPortEvent.DSR:
                   case SerialPortEvent.RI:
                   case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
                                 break;
                   case SerialPortEvent.DATA_AVAILABLE:
                        try
                             dataThread = Thread.currentThread();
                             dataThread.setPriority(10);
                             dataAvailable = true;
                                                                                    byte[] tempArray=new byte[availableBytes];
                                        inputStream.read(tempArray);
                                                                       catch (IOException io)
                             SOP(io, "Error in serialEvent callback call for event DATA_AVAILABLE");
    public void  writetoPort(byte[] data) throws IOException
                             outputStream.write(data);
                              while(finalTimeOut >= actualTime)
                            if( ! dataAvailable)
                                    actualTime = System.currentTimeMillis();
                           else
              synchronized (mainThread)
                   mainThread = Thread.currentThread();
                   mainThread.wait();
    public  void sendDatatoUser(byte[] b) throws Exception, HWCCSystemFailure
              obj.returnData(b);
              synchronized(mainThread)
                   mainThread.notify();
                                                           

  • Reading/writing to serial port w/ VISA in Labview

    I'm writing a Labview program to control and to read data from a Varian vacuum pump controller. It is connected to the serial port in my computer, and I have been trying to open a VISA session to communicate with the instrument. So far, however, the computer cannot see the instrument--I get the same error messages reading and writing to the instrument as I do to an empty serial port. Does anyone have any suggestions on what the problem might be? Thank you.

    There are a lot of possiblities. Is the cable correct? You probably need a crossover cable (TX and RX) swapped. You also need to check and make sure the serial ports on both ends are set the same (i.e. baud rate, handshaking, stop bits, etc.). Make sure that the port is enabled. I've seen people try to use a comm port only to find that a modem card installation caused the port to be disabled. You could also try using hyperterminal to talk to the instrument. If you can communicate there, you can eliminate any hardware problem.

  • Writing to serial port

    I currently send ASCII characters to a serial port. I have not errors reported back. Everything appears to be error free, except that the device that I am trying to control does nothing. The device being controlled does not send anything back to the pc. The connection is strictly a one way connection. Do you have to send a carriage return or something to get the ASCII characters to "push" out of the buffer? - Sorry I don't have access to my code at the moment.

    A portion of my code is below. What does the 'flush'
    do? I thought it just emptied out the buffer.
    while (portList.hasMoreElements()) {
    portId = (CommPortIdentifier)
    tIdentifier) portList.nextElement();
    if (portId.getPortType() ==
    ortType() == CommPortIdentifier.PORT_SERIAL) {
    if (portId.getName().equals("COM1"))
    .equals("COM1")) {
    try {
    serialPort = (SerialPort)
    portId.open("SimpleWriteApp",
    d.open("SimpleWriteApp", 2000);
    } catch (PortInUseException e)
    ortInUseException e) {}People get life for this crime!
    try {
    outputStream =
    outputStream =
    tStream = serialPort.getOutputStream();
    } catch (IOException e) {}So you now have two life sentences to serve.
    try {
    serialPort.setSerialPortParams(9600,
    SerialPort.DATABITS_8,
    SerialPort.STOPBITS_1,
    SerialPort.PARITY_NONE);
    } catch
    } catch
    } catch (UnsupportedCommOperationException e) {}Sorry, three life sentences to serve.
    try {
    outputStream.write(rightString.getBytes());
    } catch (IOException e) {}You get the prize! Four life sentences from a short bit of code.
    }P.S. You should really use the COMM api for writing to serial ports.

  • Problem writing to serial port

    Hi All,
    I am very new to LabVIEW (just a couple of months). I need to communicate with a serial port of an Advanced Energy RF generator (Ovation) serial port (AE Bus)
    The manual talks about little endian conversion, CSR and checksum that I just can't make it work. does anybody know how to write and read to this serial port?
    I have used the write and read to serial port from examples with no luck and no response from the generator. I have attached the generator's manual here, the serial commands section starts at page 65 (4-25)
    Has anybody written a program to talk to Ovation RF generator? can anybody help me out and get me started? I am stuck!!!. ... appreciate your help. thanks.
    ~Johnny
    ~ Johnny
    Attachments:
    Ovation - AE RF generator.pdf ‏1444 KB

    Thanks... so I started with the basic serial write and read, enetered hex text strings into the serial write, including the checksum and what I read back is not always correct because for example I need to calculate the XOR in the program and not just eneter it as a hex value. I should also put the write and read into a loop because I will be writing and reading to serial port 2 dozen times.
    I am working with two devices, one is the generator, the other is a controller board that has a very similar serial bus structure as the generator's AE serial bus. the controller board has stepper motor drivers that move two variable capacitors. for the generator, I need to turn the power on and off and set to different power levels. for the control/stepper motor driver board: I need to read the values from a text file(attached). the text file has 3 table, table1, column1 is the number of steps that the stepper motor will move and column2 is the nominal capacitor values for C1. same thing table2; values are number of steps versus nominal cap values for C2. I need to creat a matrix such that to move the C1 to steps listed in the table, and for every step increment in C1, I need to move the C2 motor to 20 different position (listed in the table3 that has the desired percent value of total capacitance ) position and make a measurement of the impedance of the capacitors with agilant E5061 network analyzer and write the data back into the same text file at the end where it says "IMPEDANCE_REAL     in Ohm    one line per C1 position"  and into a excel sheet too while taking a measurement... and do the same thing all over again for C2 versus C1. I think  I need to use the producer consumer design pattern eventually when I get the details worked out first.
    any suggestion? .... much thanks.
    ~ Johnny
    ~ Johnny
    Attachments:
    Basic Serial Write and Read1.vi ‏24 KB
    cap-table.txt ‏7 KB

  • EHPI installer: Error while reading a dynpro. Stuck at Start Shadow First.

    Hi Everyone,
    I am dead in the water with my test install of EhP5 using the most current installer.  This small test is on an older iseries, V5R4 with 8G memory. The SAP version is ECC 6.0 at sp Basis  23 and Applications at 19.
    The install stops at Start Shadow First, but the instance and work processes are up on the server.   The log- SAPehpiConsole reads:
    Severe error(s) occured in phase MAIN_SHADOW/START_SHDI_FIRST!
    Last error code set: RFC call to upg_is_shadow_system failed with key
    RFC_ERROR_SYSTEM_FAILURE (open): Error while reading a dynpro
    Please refer to these logs in the posted replys following this post for readability.
    The shadow system work process wp01 log showsan RFC error as follows:
    Wed Sep 14 11:29:58 2011
    ABAP Program SAPMSSY2                                .
    Source                                          Line 0.
    Error Code DYNPRO_READ_FAILED.
    Module  $Id: //bas/720_REL/src/krn/dynp/dyrdypdb.c#3 $ SAP.
    Function dy_dbread Line 100.
    RABAX: level LEV_RX_STDERR completed.
    RABAX: level LEV_RX_RFC_ERROR entered.
    RABAX: level LEV_RX_RFC_ERROR completed.
    RABAX: level LEV_RX_RFC_CLOSE entered.
    RABAX: level LEV_RX_RFC_CLOSE completed.
    RABAX: level LEV_RX_ERROR_SAVE entered.
    RABAX: level LEV_RX_ERROR_SAVE completed.
    RABAX: level LEV_RX_ERROR_TPDA entered.
    RABAX: level LEV_RX_ERROR_TPDA completed.
    RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    RABAX: level LEV_RX_END entered.
    RABAX: level LEV_RX_END completed.
    RABAX: end no http/smtp
    RABAX: end RX_BTCHLOG RX_VBLOG
    Error while reading a dynpro.
    C Wed Sep 14 11:33:59 2011
    C  *** ERROR => SQL-Error -204 in function db_open  (dbsldb4.cpp  10630)
    C  {root-id=4E6F19A9A5F02851E10080020A7F0064}_{conn-id=}_0
    RABAX: level LEV_RX_IMC_ERROR entered.
    RABAX: level LEV_RX_IMC_ERROR completed.
    RABAX: level LEV_RX_DATASET_CLOSE entered.
    RABAX: level LEV_RX_DATASET_CLOSE completed.
    C  Reopen: FALSE
    B  *** ERROR => dbdynpdb2: dbdd_dbtab_columns (DYNPSOURCE) failed with rc = 4
    dbdynpdb2.c  2506]
    B  {root-id=4E6F19A9A5F02851E10080020A7F0064}_{conn-id=00000000000000000000000000000000}_0
    B  ***LOG BZY=> unexpected return code 4          calling dbdd_dbtab [dbdynpdb     2508]
    So I have a problem communicating with the shadow. Or is it a problem with the db_open?
    From the test system I have an entry in SM59 to the shadow and I get this error when trying a connection test.
    Error Details     Error while reading a dynpro.
    And trying to logon to the client sends the same message, it does not bring up the login screen.
    OK. So in the 3 weeks that I have restarted, re-set and completely restored and restarted the install, I have always come to this point. I have search for similar issues and have done a review of pertinent notes etcu2026    Just as a comment, last year I successfully did the Ehp 4 upgrade without many problems on this same system using last years SAP system.   In the month that I have been trying to do this,  SAP has replaced the EHPI installer 3 times which indicates some problems on their part.
    Any comments or suggestions would be greatly appreciated.
    Pat

    The 2 logs from the installer are here.
    The STARTSFI is as follows:
    1 ETQ201 Entering upgrade-phase "START_SHDI_FIRST" ("20110913144811")
    4 ETQ399 Set environment for standard connect:
    2 ETQ367 Connect variables are set for standard instance access
    4 ETQ399 System-nr = '14', GwService = 'sapgw14'
    4 ETQ399 Environment variables:
    4 ETQ399   dbs_db4_schema=SAPR3
    4 ETQ399   auth_shadow_upgrade=0
    1 ETQ206 Executing pre-phase DB specific actions.
    3 ETQ399 Fixing IFS authorities for '/usr/sap/TEH/EHPI/abap/exe'
    1 ETQ206 Executing pre-phase DB specific actions.
    1 ETQ200 Executing actual phase 'MAIN_SHADOW/START_SHDI_FIRST'.
    1 ETQ399 Phase arguments:
    2 ETQ399 Arg[0] = 'DEVTRACE.LOG'
    4 ETQ399 Set environment for shadow connect:
    4 ETQ399 Set RFC variables for shadow connect:
    4 ETQ399 System-nr = '15', GwService = 'sapgw15'
    4 ETQ380 computing toolpath for request "TP_SHADOW_CONNECT"
    4 ETQ381 request "TP_SHADOW_CONNECT" means "tp needs to connect to shadow system"
    4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"
    4 ETQ383 translates to path "exe"
    4 ETQ383 translates to path "exe"
    4 ETQ399 Set tool parameters for shadow connect:
    4 ETQ399   default TPPARAM: SHADOW.TPP
    4 ETQ380 computing toolpath for request "TP_ALWAYS_NEW"
    4 ETQ381 request "TP_ALWAYS_NEW" means "always tp from DIR_PUT/exe, for phase KX_SWI
    4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"
    4 ETQ383 translates to path "exe"
    4 ETQ383 translates to path "exe"
    2 ETQ399 Starting shadow instance
    4 ETQ359 RFC Login to: System="TEH", Nr="15", GwHost="omni", GwService="sapgw15"
    2 ETQ231 RFC Login failed
    repeats the rfc call with a fail until this final entry.
    2EETQ399 Starting shadow instance failed
    2EETQ399 Test RFC failed finally
      The DEVTRACE.LOG is here:
    $                               Directory:    /usr/sap/TEH/EHPI/abap/log
    Name:         DEVTRACE.LOG
    trc file: "dev_disp.new", trc level: 1, release: "720"
    sysno      15
    sid        TEH
    systemid   327 (IBM i with OS400)
    relno      7200
    patchlevel 0
    patchno    100
    intno      20020600
    make       single threaded, ASCII, 64 bit, optimized
    profile    /usr/sap/TEH/EHPI/abap/TEH/SYS/profile/TEH_DVEBMGS15_omni
    pid        75851
    kernel runs with dp version 131(ext=118) (@(#) DPLIB-INT-VERSION-131)
    length of sys_adm_ext is 376 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (15 75851) [dpxxdisp.c   1287]
    #shared lib "dw_xml.so" version 100 successfully loaded
    #shared lib "dw_xtc.so" version 100 successfully loaded
    #shared lib "dw_stl.so" version 100 successfully loaded
    #shared lib "dw_gui.so" version 100 successfully loaded
    #shared lib "dw_mdm.so" version 100 successfully loaded
    #shared lib "dw_rndrt.so" version 100 successfully loaded
    #shared lib "dw_abp.so" version 100 successfully loaded
    #shared lib "dw_sym.so" version 100 successfully loaded
    #shared lib "dw_aci.so" version 100 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    rdisp/dynamic_wp_check : 0
    rdisp/calculateLoadAverage : 1
    Tue Sep 13 14:48:58 2011
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  6404]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: write dp-profile-values into sys_adm_ext
    DpIPCInit2: start server >omni_TEH_15                             <
    DpShMCreate: sizeof(wp_adm)##17440#(1744)
    DpShMCreate: sizeof(tm_adm)##4976768#(24760)
    DpShMCreate: sizeof(wp_ca_adm)##56000#(56)
    DpShMCreate: sizeof(appc_ca_adm)#56000#(56)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/16/576048/576064
    DpShMCreate: sizeof(comm_adm)##576064#(1136)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)##0#(104)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)##0#(80)
    DpShMCreate: sizeof(vmc_adm)##0#(1856)
    DpShMCreate: sizeof(wall_adm)##(25648/36736/64/104)
    DpShMCreate: sizeof(gw_adm)#48
    DpShMCreate: sizeof(j2ee_adm)#2032
    DpShMCreate: SHM_DP_ADM_KEY##(addr: 700000050000000, size: 5759216)
    DpShMCreate: allocated sys_adm at 700000050000010
    DpShMCreate: allocated wp_adm_list at 700000050002970
    DpShMCreate: allocated wp_adm at 700000050002b60
    DpShMCreate: allocated tm_adm_list at 700000050006f90
    DpShMCreate: allocated tm_adm at 700000050006fe0
    DpShMCreate: allocated wp_ca_adm at 7000000504c6070
    DpShMCreate: allocated appc_ca_adm at 7000000504d3b40       
    Directory:    /usr/sap/TEH/EHPI/abap/log
    Name:         DEVTRACE.LOG
    DpShMCreate: allocated comm_adm at 7000000504e1610
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 70000005056e060
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated gw_adm at 70000005056e110
    DpShMCreate: allocated j2ee_adm at 70000005056e150
    DpShMCreate: allocated ca_info at 70000005056e950
    DpShMCreate: allocated wall_adm at 70000005056e9d0
    DpCommAttachTable: attached comm table (header=7000000504e1610/ft=7000000504e1620)
    DpSysAdmIntInit: initialize sys_adm
    rdisp/test_roll : roll strategy is DP_NORMAL_ROLL
    dia token check not active (3 token)
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    DpRqQInit: keep protect_queue / slots_per_queue 0 / 2001 in sys_adm
    rdisp/queue_size_check_value :  -> on,50,30,40,500,50,500,80
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 4096 kByte.
    Using implementation std
    EsStdUnamFileMapInit: ES base = 0x7000000a0000000
    EsStdInit: Extended Memory 4096 MB allocated
    <ES> 1023 blocks reserved for free list.
    ES initialized.
    mm.dump: set maximum dump mem to 96 MB
    DpVmcSetActive: set vmc state DP_VMC_NOT_ACTIVE
    MPI: dynamic quotas disabled.
    MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%
    Tue Sep 13 14:48:59 2011
    WARNING => System running without ICM - check rdisp/start_icman [dpxxdisp.c   13097]
    Tue Sep 13 14:49:02 2011
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG Q0K=> DpMsAttach, mscon ( omni) [dpxxdisp.c   12339]
    MBUF state LOADING
    DpStartStopMsg: send start message (myname is >omni_TEH_15                             <)
    DpStartStopMsg: start msg sent
    Tue Sep 13 14:49:11 2011
    CCMS uses Shared Memory Key 73 for monitoring.
    CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Doublestack.
    CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Doublestack.
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    Tue Sep 13 14:49:13 2011
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1296]
    MBUF state ACTIVE
    DpWpBlksLow: max wp blocks in queue is 800 (80 %)
    MBUF component UP
    DpMsgProcess: 1 server in MBUF
    DpAppcBlksLow: max appc blocks in queue is 500 (50 %)
    Tue Sep 13 14:50:24 2011
    DpModState: change server state from STARTING to ACTIVE
    trc file: "dev_ms.new", trc level: 1, release: "720"
    [Thr 01] Tue Sep 13 14:48:39 2011
    [Thr 01] MsSOsPrivInit: Run priority adjusted to 12
    [Thr 01] ms/http_max_clients = 500 -> 500
    [Thr 01] MsSSetTrcLog: trc logging active, max size = 52428800 bytes
    systemid   327 (IBM i with OS400)
    relno      7200
    patchlevel 0
    patchno    92
    intno      20020600
    make       multithreaded, ASCII, 64 bit, optimized
    pid        75850
    [Thr 01] Tue Sep 13 14:48:40 2011
    [Thr 01] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 75850) [msxxserv_mt. 2274]
    [Thr 01] SigISetDefaultAction : default handling for signal SIGCHLD
    [Thr 01] load acl file = /usr/sap/TEH/EHPI/abap/TEH/SYS/global/ms_acl_info
    [Thr 01] MsGetOwnIpAddr: my host addresses are :
    [Thr 01]   1 : [10.127.0.100] omni.plastekgroup.com (HOSTNAME)
    [Thr 01]   2 : [127.0.0.1] LOOPBACK (LOCALHOST)
    [Thr 01] MsHttpInit: full qualified hostname = omni.plastekgroup.com
    [Thr 01] HTTP logging is switch off
    [Thr 01] MsHttpOwnDomain: own domain[1] = plastekgroup.com
    [Thr 01] *** I listen to port 3615 (3615) ***
    [Thr 01] CUSTOMER KEY: >H1357713078<
    [Thr 01] build version=720.2011.05.04
    trc file: "dev_rd", trc level: 1, release: "720"
    Tue Sep 13 14:49:07 2011
    ***LOG S00=> GwInitReader, gateway started ( 75855) [gwxxrd.c     1758]
    systemid   327 (IBM i with OS400)
    relno      7200
    patchlevel 0
    patchno    96
    intno      20020600
    make       single threaded, ASCII, 64 bit, optimized
    pid        75855
    gateway runs with dp version 131(ext=118) (@(#) DPLIB-INT-VERSION-131)
    gateway (version=720.2011.04.20)
    Tue Sep 13 14:49:10 2011
    gw/reg_no_conn_info = 1
    gw/local_addr : 0.0.0.0
    gw/reg_no_conn_info = 1
    SWITCH TRC-RESOLUTION from 1 TO 1
    CCMS: initialize CCMS Monitoring for ABAP instance with J2EE addin.
    CCMS uses Shared Memory Key 73 for monitoring.
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    Tue Sep 13 14:49:13 2011
    CCMS: Initalized shared memory of size 40000000 for monitoring segment.
    CCMS: Checking Downtime Configuration of Monitoring Segment.
    CCMS: AlMsUpload called by wp 1002.
    CCMS: AlMsUpload successful for /usr/sap/TEH/EHPI/abap/TEH/DVEBMGS15/log/ALMTTREE (0 MTEs).
    Bind service sapgw15 (socket) to port 3315
    GwIRegInitRegInfo: reg_info file /usr/sap/TEH/EHPI/abap/TEH/DVEBMGS15/data/reginfo not found
    GwPrintMyHostAddr: my host addresses are :
      1 : [10.127.0.100] omni.plastekgroup.com (HOSTNAME)
      2 : [127.0.0.1] LOOPBACK (LOCALHOST)
    Full qualified hostname = omni.plastekgroup.com
    DpSysAdmExtCreate: ABAP is active
    DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    DpIPCInit2: read dp-profile-values from sys_adm_ext
    DpShMCreate: sizeof(wp_adm)##17440#(1744)
    DpShMCreate: sizeof(tm_adm)##4976768#(24760)
    DpShMCreate: sizeof(wp_ca_adm)##56000#(56)
    DpShMCreate: sizeof(appc_ca_adm)#56000#(56)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/16/576048/576064
    DpShMCreate: sizeof(comm_adm)##576064#(1136)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)##0#(104)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)##0#(80)
    DpShMCreate: sizeof(vmc_adm)##0#(1856)
    DpShMCreate: sizeof(wall_adm)##(25648/36736/64/104)
    DpShMCreate: sizeof(gw_adm)#48
    DpShMCreate: sizeof(j2ee_adm)#2032
    DpShMCreate: SHM_DP_ADM_KEY##(addr: 700000060000000, size: 5759216)
    DpShMCreate: allocated sys_adm at 700000060000010
    DpShMCreate: allocated wp_adm_list at 700000060002970
    DpShMCreate: allocated wp_adm at 700000060002b60
    DpShMCreate: allocated tm_adm_list at 700000060006f90
    DpShMCreate: allocated tm_adm at 700000060006fe0
    DpShMCreate: allocated appc_ca_adm at 7000000604d3b40
    DpShMCreate: allocated comm_adm at 7000000604e1610
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 70000006056e060
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated gw_adm at 70000006056e110
    DpShMCreate: allocated j2ee_adm at 70000006056e150
    DpShMCreate: allocated ca_info at 70000006056e950
    DpCommAttachTable: attached comm table (header=7000000604e1
    MtxInit: -2 0 0
    DpRqQInit: use protect_queue / slots_per_queue 0 / 2001 fro
    Tue Sep 13 14:50:14 2011
    GwDpInit: attached to gw_adm at 70000006056e110
    Tue Sep 13 14:50:16 2011
    DpSetProcessPriority: Run priority for gwrd adjusted to 12

  • Error while reading ID of own business system from the SLD

    HI guys when trying to send Idoc from my R/3 system to SUS i am getting the following error in XI
    <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">SLD_NO_OWN_BS</SAP:Code>
      <SAP:P1>DSM</SAP:P1>
      <SAP:P2>900</SAP:P2>
      <SAP:Stack>Error while reading ID of own business system from the SLD for system DSM and client 900</SAP:Stack>
    I checked in sxmb_adm on both the ends on Xi as well as on my SUS server in Xi the role is the Integration server and on the SUS it is Application server also checked SLDAPICUST which is configured rite. Plz help me to come out of the problem.
    Regards,
    Anand

    Hi Anand,
      check the two thing's in XI.
    1. First created technical system in XI to identify your XI server (Web as ABAP and Web AS Java)
    2. Create the business system based on above technical system and select the role of business system is Integration server.
      URL : http://<hostname>:<ICM Port>/sap/xi/engine?type=entry.
    3. Create the technical system based on your SAP R/3 system.
    4. Create the business system based on your SAP R/3 system.
    here you need to select role of business system : Application system.
      related integration server is : <XI System SID has to come>
    and try to refresh the initical cache once ...
    http://<hostname>:<j2ee stack port>/CPACache/refresh?mode=full
    after all the things post what is the problem you are faceing.
    Regards,
    Venu.

  • Writing to serial port 1 from a PDA

    ok this program is driving me NUTS! i have this microchip which uses a certain protocol... now this protocol requires that you send it some characters in hexadecimal so it'll reset... afterwhich it'll send you a data packet containing the version of the microchip etc etc (it's an aduc812... which you can find on www.analog.com)... anyway, that's not important... i am having trouble actually WRITING to serial port 1... i noticed that doing it through an actual PC requires some sort of "open serial port.vi" which is not available in the pda version... all i have is init.vi which is apparently not enough from what i am told... i thas to be opened first... initialized next... then written to then read from... does anyone know how i can acc
    omplish this open procedure with the pda module? is that some sort of software i'm missing? why isn't it included with the pda module add on... etc etc... thank you in advance... i really need help with this so as much information as possible would be appreciated... let me know if you need further info...
    christina

    Hey Christina,
    Here is a link to a knowledge base one simply writing to the serial port from a PDA.
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=E011F478861443EFE034080020E74861&p_node=%20DZ52363&p_source=External
    Hope this helps.
    Brett

  • HT204387 Bluetooth - while apple not support serial port profile

    while apple not support serial port profile?
    hanson

    This is a user to user support profile.
    No one here would have any way of knowing the answer to that question.

  • Unable to Log-in *SAP System Message : Error while reading a Dynpro*

    Hi,
    We are facing issues while logging-in through SAP logon 710.
    The system throws an error dialog box with the below message:
    SAP System Message : Error while reading a Dynpro
    At the OS level Java process  server0 is in stop status with exit code -11113. In ABAP WP Table all processes are in wait status.

    Hi Please find the contents of std_server.out below.
    stdout/stderr redirect
    node name   : server0
    pid         : 4124
    system name : KEC
    system nr.  : 01
    started at  : Mon Jul 27 15:44:57 2009
    [Thr 5656] MtxInit: -2 0 0
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
    CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
    CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
    CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
    SAP J2EE Engine Version 7.00   PatchLevel 110760.44 is starting...
    Loading: LogManager ... 250 ms.
    Loading: PoolManager ... 0 ms.
    Loading: ApplicationThreadManager ... 47 ms.
    Loading: ThreadManager ... 16 ms.
    Loading: IpVerificationManager ... 0 ms.
    Loading: ClassLoaderManager ... 16 ms.
    Loading: ClusterManager ... 93 ms.
    Loading: LockingManager ... 32 ms.
    Loading: ConfigurationManager ... 1032 ms.
    Loading: LicensingManager ... 0 ms.
    Loading: CacheManager ... 93 ms.
    Loading: ServiceManager ...
    Loading services.:
      Service runtimeinfo started. (16 ms).
      Service cross started. (31 ms).
      Service file started. (31 ms).
      Service memory started. (31 ms).
      Service timeout started. (16 ms).
      Service trex.service started. (32 ms).
      Service userstore started. (0 ms).
      Service jmx_notification started. (15 ms).
      Service p4 started. (62 ms).
      Service classpath_resolver started. (16 ms).
      Service deploy started. (3722 ms).
      Service MigrationService started. (31 ms).
      Service bimmrdeployer started. (0 ms).
      Service log_configurator started. (5177 ms).
      Service locking started. (0 ms).
      Service http started. (126 ms).
      Service naming started. (157 ms).
      Service failover started. (16 ms).
      Service appclient started. (31 ms).
      Service javamail started. (47 ms).
      Service ts started. (47 ms).
      Service jmsconnector started. (47 ms).
      Service licensing started. (15 ms).
      Service connector started. (93 ms).
      Service iiop started. (94 ms).
      Service configuration started. (16 ms).
      Service webservices started. (265 ms).
      Service dbpool started. (1204 ms).
      Service UT started. (0 ms).
    Jul 27, 2009 3:45:09 PM         com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_54] Fatal: Initialization of ABAP data source (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed: "     Error while reading a dynpro                                        ". This message is critical if it appears during the startup of the AS Java.
    Jul 27, 2009 3:45:09 PM  ...re.server.ume.service.UMEServiceFrame [SAPEngine_System_Thread[impl:5]_54] Fatal:
      service com.sap.security.core.ume.service ================= ERROR =================
    Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details:      Error while reading a dynpro                                       
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException:      Error while reading a dynpro                                       
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:446)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
         at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)
         ... 6 more
    com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details:      Error while reading a dynpro                                       
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException:      Error while reading a dynpro                                       
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:446)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
         at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)
         ... 6 more
    [Framework -> criticalShutdown] Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    Jul 27, 2009 3:45:09 PM             com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_54] Fatal: Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.

  • Error while reading the PO in the Backend system. Inform system admin

    Hi All,
    We are having a peculiar issue of 'Error while reading the PO in the Backend system. Inform system admin'.
    The P.O is in ordered status in SRM but the same is not getting transferred to backend ECC system.
    No error messages or logs in RZ20, SLG1 any where.
    All programmes like BBP_GET_STATUS_2 and CLEAN_REQREQ_UP are running fine.
    Tried pushing the P.Os manually using function module (BBP_PD_PO_TRANSFER_EXEC_V2) to backend ECC.
    It was working fine till a week ago and suddenly this problem is coming.
    We had implemented few OSS notes suggested by SAP for the issue of 'shopping carts appearing in sourcing cockpit even after P.O creation' in both development and test system.
    Now this issue is coming up in test system where as development system is working fine.
    Please let us know where to look and how to resolve this issue.
    A quick response would be highly appreciated.
    Regards,
    Teja

    I am facing the same issue with one PO in the Production system.
    SRM 5.0 , R/3 4.6C Extended classic scenario.
    I checked the status of other PO's created today. I see them in R/3. There is one PO which was created a week back which shows up as "ordered" in SRM but the PO is missing in R/3. When clicked on the details on the web, system throws the error
    Error while reading the PO in the Backend system. Inform system admin.
    Message no. BBP_CF010
    I checked RZ20, SLG1 no errors were found. I checked RFC connection, it was working fine too.
    I tried pushing the PO using the FM BBP_PD_PO_TRANSFER_EXEC, it did not solve the problem.
    In SRM WEBGUI Process PO - Item data -->follow on documents --> PO status is shown as Archived.
    Any inputs would be greatly appreciated. Please throw some light on this issue.
    Krishna

  • Error while reading wsdl file

    I created and deployed a BPEL process with a JMS adapter and DB adapter.
    I have tested this and it works fine.
    After a few days, I try to open the project and the BPEL process, and click on the DB
    adapter and it throws an exception on the designer :
    "Error while reading wsdl file ... (wsdl file name) NULL Exception"
    This is hard to debug as the exception does not provide any info, NULL.
    This has happened several times for my project. The next time the JMS adapter hit the
    same exception while opening on designer. This one I notice happened after I imported
    a new schema file (xsd) into the BPEL process.
    Only way around that I have for this currently is to delete and recreate the adapters, which as time
    consuming as I have to re-create and re-assign a lot of the activities.
    Has anyone encountered this and is there a way to fix this without deleting/recreating the adapters ?
    Thanks.

    I experienced the same issue and found the cause and a workaround;
    "Error while reading wsdl file …. Exception: null"
    http://www.petervannes.nl/files/b7c08911ce3cde3677e2182bbc5f032a-47.php
    Edited by: 944333 on Jul 3, 2012 10:24 PM

  • Error while reading PO in backend system Inform system adiministrator

    Hi All,
    I am working on extended classic scenario and the problem is that after the PO ís ordered it gives the message " Error while reading PO in backend system Inform system administrator" and this is happening only for a particular local PO.
    When I check the PO number in R/3 it does not exist.
    The number range is correct both in SRM and R/3 (external no. range is ticked).
    Also I could not find any logs in RZ20 nor a dump.
    When I checked in bbp_pd, couldnt find any relevant information except that the PO has the status ordered.
    I am on SRM version BBPCRM 4.0 SAPKU40007
    R/3 version 4.6 C SAPKH46C47
    Thanks in advance,
    Rgrds,
    Raj
    Message was edited by:
            Raj Malhotra

    Hi
    Have you tried out this ?
    <b>There are two BADIs which might help you in achieving the job.</b>
    <u><b>BBP_EXTLOCALPO_BADI</b> [Control Extended Classic Scenario ]
    <b>and</b>
    <b>BBP_GROUP_LOC_PO</b>
    [Exit Grouping of Items for Local Purchase Orders]</u>
    <u>Read the documenatation first, using transaction - SE18
    before implementing them for your requirement.</u>
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Error while reading data through External Table!!!

    CREATE TABLE "COGNOS"."EXT_COGNOS_TBS9_TEST"
    (     "ITEM_DESC" VARCHAR2(200 BYTE),
    "EXT_CODE" VARCHAR2(20 BYTE),
    "RC_DATE" DATE,
    "RES_KD_AMNT" NUMBER(18,3),
    "RES_FC_AMNT" NUMBER(18,3),
    "NRES_KD_AMNT" NUMBER(18,3),
    "NRES_FC_AMNT" NUMBER(18,3),
    "TOTAL" NUMBER(18,3),
    "OF_WHICH_OVR1" NUMBER(18,3)
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY "EXTDATADIR"
    ACCESS PARAMETERS
    ( RECORDS
    DELIMITED BY NEWLINE LOAD WHEN *({color:#ff0000}EXT_CODE LIKE 'TBS9%'{color})* FIELDS TERMINATED BY ','
    MISSING FIELD VALUES ARE NULL )
    LOCATION
    ( 'TBS9_TEST.CSV'
    External table creation went through successfully but am getting error while reading data. Am quite sure error is because of above line in red color. Could you please help me in transforming logic.
    Thanks in Advance,
    AP

    Let's start with the basics...
    1) You state that you are getting an error. What error do you get? Is this an Oracle error (i.e. ORA-xxxxx)? If so, please include the error number and the error message as well as the triggering statement. Or is the problem that rows are getting written to the reject file and errors are being written to the log file? If so, what record(s) are being rejected and what are the reasons given in the log file? Or perhaps the problem is something else?
    2) You state that you are quite sure that the problem relates to the hilighted code. What makes you quite sure of this?
    Justin

  • Error while reading data for Virtual Infoprovider 0TCT_VC11 and 0TCT_VC12

    Hi ,
    The standard reports based on 0TCT_VC11 and 0TCT_VC12 are working fine in development system. When we moved the following objects to test system ,
    0TCT_VC11 - 0TCT_IS11 &  0TCT_DS11
    0TCT_VC12 - 0TCT_IS12 &  0TCT_DS12
    We are not able to view data either in the MP nor at the report level.We face the following issue
    There is still no data source assigned to VirtualProvider 0TCT_VC11
    Error reading the data of InfoProvider 0TCT_VC11
    Error while reading data; navigation is possible
    Can anybody help me on this.
    Regards,
    Lavanya.

    Hello Lavanya,
    Please activate the direct access for the virtual providers. Also note that it is only possible  to use the BI admin cockpit in a myself system.
    Please follow the below steps to activate the same:
    TX: RSA1 ->Infoproviders-> Business Information-> BI Statistics->select
    Virtual provider-> Go to context menu of the virtual cubes-> Activate
    Direct Access. ( Eg virtual cube name )
    Please also generate the reports by following the below steps:
    RSRT -> Query name -> Generate Report.
    Regards,
    Arvind

Maybe you are looking for

  • Convert name value pair to flat structure in Biztalk mapper

    Hi, I have an input xml file with name value pairs and have to access all the values in the same iteration to concatenate fname and lname and assign that to a fullname in the target schema. I am trying with logical eq functoid and value mapping flatt

  • Need a pro's advice - 3D and annimation of Illustrator files in AE CS5

    I'm using CS5 and I'm routinely using Illustrator logo files in product videos that I'm editing, and I'd like to add more features to the video, but I can't seem to find answers to what I assumed would be a pretty common situation. I'd like to add so

  • HELP!!! Work area bar / export issue in Premiere CS4

    I have a project that is several hours in length. There is a small part, about 5 minutes worth, that I need to export. I have set the work area bar for just that area. However, no matter what I do, it exports my entire sequence. How can I get this to

  • Problems with Download Assistant !!

    I am trying to install Adobe XI Pro Trial Version.  When I click on "Download", the download assistant refuses to start. I am on a Win7 machine with Adobe X Reader and Adobe 8 Pro (full version) currently installed. I need to upgrade to XI so I can c

  • Aiport Express stays permanent amber

    Hi there, My Airport Express worked flawless for a couple of years but recently it stopped working. The light stays permanent amber (so it keeps starting up) and I can't see it anymore via my MacBook Pro (2011). Bought a new one and that's all workin