TCP/IP connection in a loop

Dear Friends,
I am trying to make my computer with labview to communicate with another computer running VB.net application. I am basically trying to set up a TCP/IP listener. I want the VI to continuously run and send the values based on a command button. While debiggin the VB application in another computer I see that the data is sent only the first time and after that the application does not recieve any data. I am attaching the VI herewith:
Test.VI: It is the main VI
String.VI: Based on the button status I will feed different strings to the TCP connection.
I would appreciate if anyone can help me in figuring out why the connection sends data only once.
Thanks
Sankar 
Attachments:
test.vi ‏28 KB
string.vi ‏13 KB

I would have to say that your problem is probably on the VB side of the equation. I don't see any "smoking gun" in your LabVIEW vi.
Take a look at your TCP read function to see what is going on.
How long are your timeouts set for on the VB side and how long does it take for the VB code to get back to waiting for the TCP Read?
How about your TCP socket connection ID on the VB side. After your read, are you possibly closing the socket or loosing the reference to it?
Does your TCP Read function return any errors? (Timeout, could not create listener, etc...) 
Another possiblity is that your VB TCP function is looking for some form of termination character that it is not finding (CRLF?). The LabVIEW TCP Read function allows this mode of operation but it is not the default, I am not sure about VB. 
Based on my experience with TCP, these are the things I would look at first.
I have found that the concept of TCP is fairly straight forward, however the proper and reliable management of connections is not quite as easy.
As an intermediate step, you could develop both sides of the communication in LabVIEW and stay in that mode until you are confident that you have all of the issues with sequencing, formatting, timing, etc... worked out. Once that is done, convert your TCP reader into VB code.

Similar Messages

  • Discover TCP-IP connection loss using CompactRIO

    I am looking for a way to detect when the
    TCP-IP connection is lost in my FPGAcode on the compactRIO. I want the
    FPGA to go into an "emergency" mode if the TCP-IP connection is lost to
    the host computer. I have done some searching and come across the
    Datalogging and Supervisory Control module for LabView but I am not
    exactly sure if this is what I am looking for. I wanted to confirm that
    I can do this with this module before purchasing it.
    Any advice would be greatly appreciated. Thank you.

    During development this happens to me all the time. Especially when timed loops are running. If the rio is spending all of it's time keeping the timed loops running, then the networking code may not execute for long periods of time (or at all). The trick is to get all the code running on the rio comfortable, with enough idle time to handle other tasks (like FTP..).
    I'm not so sure what you mean about "unpredictable signals" though. One thing to keep in mind is that when you are running a vi on the rio through LabVIEW, there is overhead associated with updating the front panel on your PC. Alot of times, a deployed program will not run the same when connected to a host pc vs. running headless on the rio. I like to generate a text log file to let me know what's going on with the program when it is running headless.
    Chris

  • My TCP/IP connection return randomly a "Not enough memory to complete this operation"

    I have a program running a data acquisition loop on a PC. (PIII 700, 128 Meg RAM). This program send all the data reads from the system to a UI in another PC via a TCP/IP connection.
    Everything works fine.. but, sometime, I receive a message "not enough memory to complete this operation". This is ramdom and cannot always be reproduce. I run often days without this problem and he show up 2 or three times the next day.
    The memory usage in the system is constant and the number of handles used is also constant. I am using LV run-time version 5.1.1. I cannot upgrade to 6.X for many reasons.
    Can somebody has any idea of the cause of this message. I only see one message like thi
    s in the previous post and it doesn't looks like been solved.
    Thanks,
    Stephane

    Hi Dave,
    I cannot give you any source for the error message. My homemade error manager give me an error 2 after this message box in my TCP/IP command server in... pointing to a vi where I call only TCP write, TCP read and a encryption decoding (a loop appllying logical operation on all the bytes of the message to generate a magic number.)
    This error, has we discuss in a previous e-mail we exchange can be only a side effect. I don't know. I have not test my program on Win 9X. I don't have any license of the OS in the buiding. Even if than solve the problem, I can trust 9X OS. Probably the same for you if your application is critical.
    I wonder if you can provide the kind of instrumentation you are interacting with. My list is the following:
    VXI card HP 1413, (VISA layer and configuration DLL from HP)
    VXI card HP 1415, (VISA layer and configuration DLL from HP) [disable]
    GPIB/ENET100 (VISA) [diseable]
    PCI Ballard ARINC card (Ballard DLL) [disable]
    ENET connection with the TCP/IP layer... not the socket one.
    I am running from a VXIpc-872 from NI in a NI VXI chassis. I have try to different VXI controller (with different CPU speed) and also with an HP chassis. Same result. [Diseable] mean the code is not called. I run with the minimal system I can support 1 VXI Card and 1 SCP and still the same problem happen.
    Does you, Melissa G and Eric Dalaire (on the other thread) have the same type of hardware?
    If my assumption is good, the AI Continious Scan is probably using DMA? Do they? I also use DMA in my VXI access. Do you use DMA too Dave?
    Stephane

  • TCP Open Connection and Error Code 1

    So, I have a client that is supposed to continuously try to connect to a server using TCP Open Connection.vi. When the connection is established, the loop is supposed to exit.
    psuedocode for the loop I have is as follows (similar code, LV 7.1, exhibiting the same problem is attached)
    while (error)
      attempt to open connection
    Pretty simple, right?
    I've had no issues with servers written in LabVIEW, but when attempting to integrate with a server that was written in C, it appeared that the client created multiple connections. I have been able to reproduce this problem by writing a server with Java. The C server was on a remote machine, the Java server on a local. Both see different numbers of additional connections (3 for C, 2 for Java).
    Looking at the error codes, I am getting a bunch of code 56 (timeout, expected) and the ocassional code 1 (unexpected). I have noticed that whenever I have this multiple connection problem, I show an error code 1 right before the valid connection attempt and loop exit. Is there someway that a connection is being established (or partially established), but labVIEW is still returning an error? Is there a better way to verify that a TCP connection was actually successful?
    Here is example output from the attached code, it shows the error codes generated
    56
    56
    56
    1
    56
    56
    56
    56
    56
    56
    56
    1
    56
    56
    56
    56
    56
    56
    56
    1
    Here is output from my Java code
    [2006-05-24 15:43:23.556] - Begin Listening for Connection Attempts
    [2006-05-24 15:43:23.587] - Accepting Connection
    [2006-05-24 15:43:23.603] - Begin Listening for Connection Attempts
    [2006-05-24 15:43:23.603] - Accepting Connection
    Running ServerNIOConnection Thread
    [2006-05-24 15:43:23.603] - Begin Listening for Connection Attempts
    Running ServerNIOConnection Thread
    Thanks,
    Martin
    Message Edited by mmathis2000 on 05-24-2006 05:50 PM
    Attachments:
    Sample Client.vi ‏21 KB

    Hello,
    I’m a little curious why you are setting up your client like
    this.  If it is your objective to just
    have the client wait until a connection is made, why not just have the TCP
    connect VI have timeout value of ‘-1’ meaning “do not timeout”.  This will allow the built-in TCP event
    structure to listen for connections and ‘wake up’ your program when a
    connection is established.  I say this,
    because the error messages seem to be dependant on the timeout values.  For example, wire in 1ms to the timeout and
    see how the messages differ in timeouts as opposed to wiring in “2000” for the
    timeout value.  This is because the
    Connect VI attempts a connection and waits only the specified timeout before
    abandoning that attempt and continuing with another attempt.  I’m betting in your case connecting to the
    server takes longer than your timeout value, so the connection is initiated by
    your LV client, the handshaking takes place, your server indicates that a
    connection is being made, and sometime during this process your timeout expires
    and LV tries the process again thus you see the multiple connections.  Go ahead and try this as an experiment – take
    your VI, and instead of using ‘localhost’ use the IP address of your favorite
    website and change the remote port to port 80. 
    Change the timeout to -1 and wait for the connection, then change the timeout
    to 1 and see all the timeout errors given.
    Hopefully this answers your question, please let me know if
    you have any additional questions or if this is inaccurate/unclear.
    Travis M
    LabVIEW R&D
    National Instruments

  • The TCP/IP connection does not closed after a VISA close

    I am using the VISA functions to communicate with a Sorenson SGA power supply from a Windows XP computer.  I have the VISA TCPIP Resource defined in MAX and use this alias name in the VISAResourceName for the input to the VISA Open.  Then I write a SCPI command, such as *IDN?, and read the repsonse.  Then I close the VISA session.  When I look at the TCP statistics using the netstat -n command, I get the following response:
    Proto           Local Address                 Foreign Address    State
    TCP            10.10.10.9:3881              10.10.10.1:111       TIME_WAIT
    TCP            10.10.10.9:3882              10.10.10.1:111       TIME_WAIT
    If I query the ID again, I get 2 more TCP connections with different local ports numbers.  Every time I perform the query, I get 2 more TCP port connections at different local ports.  It takes about 1 minute for the TIME_WAIT's to time out.  If I query the Sorenson enough, I can fill up my allowable local port connections.
    1)  Why doesn't the TCP connections go away after the VISA Close?
    2) Should I be opening and closing the VISA session every time I want to talk to the Sorenson?
    3) What does the VISAResourceName control or constant actual do to resolve the alias into a IP?
    This Sorenson power supply does not seem to be very quick to repsond to TCP requests.  If I set the timeout on the VISA Open to anything less the 100ms, I cannot get a session open every time.  It will fail about 50% of the time.
    Has anyone had experince talking to the Sorenson power Supplies using VISA TCPIP?
    Thanks,
    Julia

    Hi Julia,
    Let me try answering your questions here.
    1) I'm actually currently looking into this to see if this is expected behavior, and I'll definitely post back to let you know what I find.
    2) You do not need to close a VISA session everytime you want to communicate with the device, you can leave the same session open and keep using that session, instead closing it out at the end.
    3) The VISA aliases and what they correspond to are stored in a visaconf.ini file. There is more information about this file and where it is located on your hard disk in this KnowledgeBase article here. This visaconf.ini file is checked to see what the actual resources being looked up are.
    Let me know if I answered your questions, I will write back with more information on question 1.
    Rasheel

  • Setting up a VISA for a TCP/IP connection

    I am trying to write a program in LabVIEW that will allow me to take data from my LeCroy Wavejet 354 and display it in a LabVIEW interface.  I have installed LeCroy's VICP passport.  I have no problems pinging the device so I know my ethernet connection to the computer is good.  It is not clear as to how I can use VISA to establish the desired connection for TCP/IP connections. In MAX, the remote systems function doesn't detect the o-scope's IP address.  I also tried creating a new device under devices and interfaces in MAX and after "create new" it gave me no option to create anything.   Do you have an example VI that can help me see how VISA can be used to establish this connection or know of some other way I could get this to work?  Thanks for the help.
    Solved!
    Go to Solution.

    Hi BYULab,
    Alan from LeCroy Tech Support here...    Unfortunately, the "Accepted Solution" isn't correct.
    When using the VICP Passport, you cannot create a TCP/IP resource in MAX for the scope. You can create an alias in MAX via the VISA Options... but it isn't necessary at all.   In fact, you don't need to do *anything* in MAX to connect to the scope.
    To connect to the scope, simply enter into the VISA Resource control the following string:  VICP::<ip address> (example: VICP::100.100.100.1)
    I've attached a screenshot...
    Best Regards,
    Alan
    Alan Blankman, Technical Product Marketing Manager and LabVIEW Developer
    LeCroy Corporation
    800-553-2769 x 4412
    http://www.lecroy.com
    [email protected]
    Attachments:
    WaveJet VICP control.JPG ‏94 KB

  • Java.sql.SQLException: The TCP/IP connection to the host  has failed.

    Hello. I hope you had a happy new year! Now its back to work.
    I am having a problem connecting to a remote SQL Server DB. I am using NetBeans 5.5 and the latest J2EE. I am able to see the tables in the IDE and bind objects to data. But when I run it it gets this:
    java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: no further information
    at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:100)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.connect(CachedRowSetXReader.java:344)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:126)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:968)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1428)
    I checked the SQL Server Configuration manager on that machine and TCP/IP connections are allowed. What else could be wrong?
    Thank You.

    "Connection refused" means that the client sends a packet saying "I would like to connect to port number NNNN please" to the server computer, and the server computer's OS sends the reply "there is no process listening to that port on the network interface you are using".
    The database server is not running, or running but not listening to TCP/IP connections, or at a different port from what you think, or listening to only selected network interfaces (it is possible for a process to listen to a specific interface or a wildcard for all interfaces). A less likely scenario is that a firewall is sending the "connection refused" message.
    First aid check list for "connection refused":
    - Check host name in connect string.
    - Check port number in connect string.
    - Try numeric IP address of server host in connect string, in case name server is hosed.
    - Are there any firewalls between client and server blocking the port.
    - Check that the db server is running.
    - Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port. You need to configure the database to accept TCP connections; the server documentation or google should explain how.
    - Try "telnet server-host-name the-port-number" from the client, to see if firewalls are blocking it.
    - If "telnet" fails: try telnet with the numeric ip address.
    - If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
    - Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"?

  • Report (release 6.0.8.15.0) failure on tcp/ip connection to personal oracle 8.1.5

    hi,how can i resolve this problem?
    i use personal oracle with a tcp/ip connection and if i run a
    report(developed with report builder oracle) i receive a
    compiler error .if i run this same form on the server,the form
    has no problem.
    the only different is a client's call with tns (the listner is
    start up)
    thank and sorry for my bad english

    Hi, how are you?
    I read your file. On my computer, I got the same problem. First I installed Personal Oracle 8.15 version under window 98. The oracle home is e:\orale\ora81. Then I installed Form 8i in the orale home e:\oracle\ora. After installation, there are two SQLPLUS. One is under ora81 and another is ora. The one which is in e:\oracle\ora81 is working and it can bring up the database. Another one and Forms don't work. They can not connect to the local database. It means my client which is under e:\oracle\ora can't connect to my server which is under e:\oracle\ora81. I think I shoud set up the connection in tnsnames.ora by using Net8 Easy Config. I did it. It failed. Can you help me?
    Thanks.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by harry dhillon ([email protected]):
    No, you shouldn't have to to.
    If you have Personal Oraacle 8 running properly on your PC, then you can just connect to the database from Developer V6 using your normal username/password. For example, if you log on to SQLPLUS as scott/tiger, then the same will work for your forms and reports. You don't even need to enter a connect string. I have it working OK on a Windows '98 PC, with Personal Oracle 8i, and Forms v6i.<HR></BLOCKQUOTE>
    null

  • Error in SM59 TCP/IP connection after kernel upgrade to 215..

    Hi
    We recently upgraded our kernel to patch 215(NW 7.0)..
    We built the kernel by first taking the entire kernel stack( level 201) and then  patched it with dw, enserver, lib_dbsl, tp, r3trans, r3inlpgm, saposcol with level = 215 except for lib_dbsl, which is 214 and enserver which is 207...
    After the upgrade to this new level, we have a SM59 TCP/IP connection which calls an RPG program located in /qsys.lib/..(start on application server radio option), which has stopped working...
    Now this RFC doesn't work anymore...
    When we test it, it shows us the following:
    Logon     Cancel
    Error Details     timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host sapdev.ny..... / sapgw00
    Error Details     DETAIL: no connect of TP /qsys.lib/rtcimo.lib/RFC000.pgm from host sapdev.ny.....
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 1537
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 6255
    Error Details     RETURN CODE: 242
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Tue Aug 18 23:09:46 2009
    Error Details     VERSION: 2
    We have another system in which tp is at patch 169 and it works fine...
    Looks like something changed with the kernel/tp patch...
    doesn't show anything in the sm21 log..in the work process log for dev_rd..
    MtxInit: -2 0 0                                                                               
    Mon Aug 17 16:00:47 2009                                                                               
    GwDpInit: attached to gw_adm at 70000008059bae0                                                                               
    DpSetProcessPriority: Run priority for gwrd adjusted to 12                                                                    
    Tue Aug 18 14:35:09 2009                                                                               
    ERROR => GwISearchPartner: timeout, partner LU: >%%SAPGUI%%<, TP: >saphttp< [gwr3cpic.c   6212]                           
    ERROR => GwISearchPartner: HOST: %%SAPGUI%%, conv ID: 22575469 [gwr3cpic.c   6225]                                        
    Tue Aug 18 17:25:25 2009                                                                               
    ERROR => GwISearchPartner: timeout, partner LU: >sapdev<, TP: >/qsys.lib/rtcimo.lib/RFC000.pgm< [gwr3cpic.c   6212]       
    ERROR => GwISearchPartner: HOST: sapdev.ny....., conv ID: 32824524 [gwr3cpic.c   6225]                               
    Tue Aug 18 17:29:30 2009                                                                               
    ERROR => GwISearchPartner: timeout, partner LU: >sapdev<, TP: >/qsys.lib/rtcimo.lib/RFC000.pgm< [gwr3cpic.c   6212]       
    ERROR => GwISearchPartner: HOST: sapdev.ny......, conv ID: 33074744 [gwr3cpic.c   6225]                               
    Tue Aug 18 17:40:29 2009                                                                               
    ERROR => GwISearchPartner: timeout, partner LU: >sapdev<, TP: >/qsys.lib/rtcimo.lib/RFC000.pgm< [gwr3cpic.c   6212]       
    ERROR => GwISearchPartner: HOST: sapdev.ny......,  conv ID: 33722803 [gwr3cpic.c   6225]                               
    Tue Aug 18 22:52:39 2009                                                                               
    ERROR => GwISearchPartner: timeout, partner LU: >sapdev<, TP: >/qsys.lib/rtcimo.lib/RFC000.pgm< [gwr3cpic.c   6212]       
    Tue Aug 18 22:52:40 2009                                                                               
    ERROR => GwISearchPartner: HOST: sapdev.ny......, , conv ID: 52504488 [gwr3cpic.c   6225]                               
    Tue Aug 18 23:09:46 2009                                                                               
    ERROR => GwISearchPartner: timeout, partner LU: >sapdev<, TP: >/qsys.lib/rtcimo.lib/RFC000.pgm< [gwr3cpic.c   6212]       
    ERROR => GwISearchPartner: HOST: sapdev.ny......, , conv ID: 53534925 [gwr3cpic.c   6225]                                                                               
    Has anyone seen anything like this??
    Please let us know..
    Thanks
    sap ques...
    Edited by: sap ques on Aug 19, 2009 5:23 AM
    Edited by: sap ques on Aug 19, 2009 5:25 AM

    This error may be due to kernel patch level. You can try some other patch level. If you can raise an OSS message with SAP, they can tell you exactly which Kernel patch will solve your problem.

  • Activating a vi on a remote computer (and transferring the data back) via a TCP/IP connection

    Hi all,
    I need some help in creating a vi that can be activated remotely using a TCP/IP connection. Can this be done. If it can, I have a vi (that would be on the remote computer) that manipulates the data as required and saves the data file. While the connection is open, I need to retrieve the data file from the remote computer. Can anybody help, I am running labview 6.
    Thanks
    Ridge

    Ridge,
    This is what the "i" in LabVIEW 6i stands for. Internet applications (collection of data through IP) was a basis for the release of 6i. This is not only a capability, but is built in as easy to do.
    Unfortunately, I have little experience in this arena. I have built TCP/IP client server relationships, but never remotely controlled a VI over IP, so I can't advise you.
    I would suggest the following:
    Look up remote VIs on NI's website, specifically in Application Notes, and examples/downloads.
    Check the examples that ship with LabVIEW.
    Look for other documentation within LabVIEW (search through help).
    Contact your local sales rep for some assistance.
    I do remember seeing some kind of demo about this a long time ago, and remember
    it being extremely easy. However; I never had use for it, so I never did anything with it.
    You should have the ability to get started very quickly.
    Good luck, and let us know how you do.

  • TCP/IP connection with external device

    Hi,
    I need establish TCP/IP connection to my hardware device which has ip(10.102.20.90) and port no as 9012 by setting static ip.
    Since i am new to this protocol i am bit worried about how to make communication between my pc to hardware. Here my labwindow code act as clinet and hardware as server. after establishing successful connection i need to read the data coming out from that port.
    Please help me in making this communication happens.
    i am working on Labwindow 9.0 version.
    Solved!
    Go to Solution.

    A good starting point would be to look at the TCP/IP client sample application that ships with CVI. You'll find it at <CVI Folder>\samples\tcp\client.cws
    Martin.
    Martin
    Certified CVI Developer

  • TCP Socket connection in CLOSE_WAIT status and not getting closed

    I am facing an issue with the TCP socket connections not getting closed and they are in CLOSE_WAIT status for ever.
    As a part of batch process in our application, emails are sent with 4 embedded images. These images are downloaded from 3rd party site with IP say "UUU.XXX.YYY.ZZZ"
    The images are embedded to email as follows
    1. An URL object is created with the site url.
    URL urlPhoto = new
    URL("http://UUU.XXX.YYY.ZZZ/email/photos.jpg");
    2.     The image cid is created with the URL object and the image name
    HtmlEmail htmlEmail = new HtmlEmail();
    String cid1 = htmlEmail.embed(urlPhoto,
    "photo.jpg");
    3.     The image cid is added to the email template by replacing the ${cid1} and the email is sent.
    <td valign="top">
                   <img src="cid:${cid1}" width="279" height="274">
              </td>
    When a mail is sent, 4 new TCP connections are opened and are put in CLOSE_WAIT status for ever. For every mail sent 4 new connections are opened. In UNIX there is an upper limit on the number of open file handles (defaults to 1024) at any point of time. The open TCP connection has the underlying socket in CLOSE_WAIT status and is not getting closed at all. When the upper limit (1024) is reached the batch process is throwing the following exception and terminates.
    Caused by: com.inet.tds.ap: java.net.SocketExceptionjava.net.SocketException: Too many open files
    at com.inet.tds.am.a(Unknown Source)
    at com.inet.tds.TdsDriver.a(Unknown Source)
    at com.inet.tds.TdsDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at com.hcomemea.batchprocess.dataaccess.database.BaseJdbcDao.openConnection(BaseJdbcDao.java:106)
    ... 12 more
    When I run the command lsof in UNIX which list the open file handles in the system
    $ /usr/sbin/lsof -p 22933 -i | grep CLOSE_WAIT
    java 22933 build_master 297u IPv6 129841943 TCP integration.com:47929->UUU.XXX.YYY.ZZZ:http (CLOSE_WAIT)
    java 22933 build_master 298u IPv6 129841947 TCP integration.com:47933->UUU.XXX.YYY.ZZZ:http (CLOSE_WAIT)
    java 22933 build_master 299u IPv6 129841950 TCP integration.com:47936->UUU.XXX.YYY.ZZZ:http (CLOSE_WAIT)
    java 22933 build_master 300u IPv6 129841970 TCP integration.com:47952->UUU.XXX.YYY.ZZZ:http (CLOSE_WAIT)
    ���list of 935 connections similarly�
    I tried 2 solutions
    1. Got the HttpURLConnection from the URL object and invoked disconnect method on the same. But it doesn�t work.
    2. Ran the batch process java program with the parameter �Dhttp.keepAlive=false to close the underlying connection but didn�t help.
    I need the underlying sockets to be closed and not put in CLOSE_WAIT status after sending the mail.
    Is it the problem with the embed method of HtmlEmail object not closing the underlying socket connection.
    If anyone has faced this issue before, kindly let me know the possible solutions for the same ASAP.
    Thank you,
    Ramesh G

    This sounds more like a problem due to connection pooling at middle tier/application server.
    If that has been ruled out, then you might to enable DCD or set expiry time on the server.

  • How to create RFC(TCP/IP Connections) For BW Maintain BI accelerator Index?

    HI Friend,
        I want to test Maintain BI accelerator Index for CUBE ( RSDDV ), but I don't create RFC(TCP/IP Connections), what Program name enter in Program?
        Because  RSCUSTA tocde need to  enter : RFC BI Accelerator  .
    ERROR:
    SP test: Error in BI Accelerator (module TREX_EXT_GET_TREX_VERSION_INFO)
       BW SERVER:
    Operating system     Windows NT
    Machine type         2x AMD64 L
    Server name          SAPBW1_BW1_01
    Platform ID          562
    Database system      MSSQL
    Release              9.00.13
    Name                 BW1
    Host                 SAPBW1
    Owner                bw1
        Thank you.
    Regards,
    Howard.
    Edited by: flying on Apr 30, 2010 7:39 AM

    Hi Howard,
    is this your first usage of BWA? Normally this config is done by the initial installation normally from your HW vendor.
    Please use the python standalone tool trexadmin to setup this RFC connection:
    1. Log on with the user <sapsid>adm.
    2. Enter the following:
    cd <TREX_DIR>
    ./TREXAdmin.sh
    Go to the tab 'Connectivity' and create a new RFC connection.
    Regards,
    Jens

  • TCP IP connection From Solaris to Window?

    Hello Friends,
                           I have SCM installed on Solaris OS,and SCM optimizer installed on WIndow OS.I need to Connect SCM Solaris to SCM window, Thought RFC type TCP/ip Connection.
    For Example  In Solaris SCM for TCP/IP-Program name is d:\apo\opt\ctm\bin\ctmsvr.exe and Host is Window SCM host name.
    i need to know whether this Connection will work or If does not work Please Give the any Solution Friends.

    Thank you all. I found an example in the internet http://documentation.softwareag.com/Crossvision/sap231/pages/drfc2rpc.htm. The situation force me to overpass my laziness and to use RFC
    Yours sincerely,
    Nguyen Hai Long

  • TCP/IP Connection from ABAP

    Hello everybody.
    Does anybody know the way how to create TCP/IP connection from ABAP? I need to establish TCP/IP connection from Appication server to external server(not sap) to retrieve some data. I assume that it can be done using RFC calling technique, but i think that i have to register needed functionality as RFC in external server. To skip this step i need an explicit TCP/IP from abap.
    Thank you for helping.
    Yours sincerely,
    Nguyen Hai Long.
    Edited by: Long Nguyen on Jun 24, 2008 10:06 AM

    Thank you all. I found an example in the internet http://documentation.softwareag.com/Crossvision/sap231/pages/drfc2rpc.htm. The situation force me to overpass my laziness and to use RFC
    Yours sincerely,
    Nguyen Hai Long

Maybe you are looking for

  • Problem using weblogic.jspc with wls6.1

              I've got this error using weblogic.jspc on jsp that works fine with the compiler           of 5.1, is this a bug?           java.lang.NullPointerException           at weblogic.management.Admin.getServer(Admin.java:1252)           at weblog

  • Magsafe too close to usb port

    my magsafe keeps sucking my usb key drives or adapters for SD cards. when i try to plug into the left port naturally, somtimes accidentally the usb port gets sucked by the magsafe port and the usb plug attaches to the magsafe port. not sure what the

  • Select a word using its quad points/rect in adobe reader using Javascript

    Select a word using its quad points/rect point in adobe reader using Javascript

  • AP1200 and EAP

    Hello, I want to configure LEAP with ACS on my AP1231. (config-if)#ssid test (config-if-ssid)#authentication network-eap myEAP I configure LEAP on Cisco clients too with 802.1x -> LEAP. When I want to associate and authenticate my client, there is th

  • Documentation for tab.user_data with event based jobs

    Hi, Are all the atributes for tab.user_data when used as part of an event based job documented somewhere? I have been looking but all I can find are examples rather than explicit documentation. Thanks Pete