Tcp 2006 connection

Hi again all!
Until recently (thanks to the folks who helped my other problem here last week - much appreciated!)  it's been a while since I programmed my last vi's 
- almost 2 years in fact! - and I need a slight bit refreshing on programming a TCP2006 unit.
The main problem is getting my cfp 2020 and my TCP2006
to communicate properly.  I had this problem 2 years ago, and it
seems to have come back.
What is hapenning, on the vi's attached the connection is there for about 10 seconds, then is unable to reconnect, unless both units are reset and I get another 10 seconds connection!  
I can also monitor from a distance a nice communication between the TCP and cFP units using what I call a 'pulse' on the TCP screen - of which shows a healthy connection, rather like a heartbeat.
In the vi for the 2020 unit I am still using the 7.1 labview software, but for the 2006 I use LV 8.0.
The vi for the 2020 is cFP2020onLV7.vi and the 2006 unit is TCP2006onLV8-0touchscreen.vi   I suppose the names say it all!
 IP for the 2020 connected to the TPC is 169.254.000.004.
IP for the TPC2006 is 169.254.206.246.  This was built using Labview 8.0. 
I
have however since forgotten how to get from the vi to the exe file on the TPC
unit.  That I shall need a quick reminder on please   (If possible how to make the 2006 unit startup with the vi running - I never could get that right!)
If it helps my laptop has an ip of 192.168.2.103
Subnet mask is 255.255.255.0
Default gateway is 192.168.2.1
The *.IAK is attached as well.
You folks have helped me before, and I hope you can help me again!
 Thanks again,
Steve Potter
Note:  I seem to be having problems uploading the vi's - If you don't see them here please email me at [email protected] and I'll forward them that way.  I will keep trying to post them here too though.

Hi Steve,
With regards to how to make your VI run upon startup, you can refer to this link. This should solve the startup issue.
As for your connection problem, I am assuming that TPC and cFP is connected to an internet router. Correct me if I am wrong. Can you try this out?
1. Change the IP address of cFP-2020 to something like 169.254.206.004. Make sure the subnet mask is 255.255.255.0. Do all this in MAX.
2. Save cFP2020onLV7.vi to cFP2020onLV8-0.vi (using LabVIEW 8.0).
3. Create new exe for cFP2020onLV8-0.vi. Deploy the new exe.
4. Rebuild TCP2006onLV8-0touchscreen.vi. Redeploy the exe.
If after trying the above, the problem still occurs, can you connect the TPC and cFP using a cross ethernet cable? This cross ethernet cable connects TPC and cFP directly, without going through a router.
Hope to hear good news from you soon.
Regards
Lee

Similar Messages

  • 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

  • TCP/IP Connection. Pls advice urgent

    Hello ,
    My client is saying --
    Switch (Non sap system) is an online system .
    Switch (Non sap system) supports TCP/IP only.
    Non Sap system accepts XML structure.
    He has given IP address and port of Non Sap System.
    Question.
    1. Can I use HTTP Receiver Adapter for TCP/IP Communication
        with Addressing Type --- HTTP Destination
    2. For above HTTP Destination can I make TCP/IP Connection
        (Type T) using sm59 tx.
    3. I am not able to make TCP/IP Connection (Type T) if I
        have only IP address and port of Non Sap System.
    How to connect XI --- Switch (Non sap system) for TCP/IP.
    Regards

    Your information is not very helpful.
    Try to figure out, what exactly the system needs to be connected. TCP/IP is base of ANY connection between computers, this information is not useful.
    What system do you want to access? Name? Vendor? Documentation?
    What protocol is supported by the system? HTTP? XML?
    If you do not tell more about your scenario, it is impossible to help you.
    Regards
    Stefan

  • 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.

Maybe you are looking for

  • Error after creating Element level join between two different dataset in11G

    Hi Experts, My report is having data from two different datsets, I created two datasets and joined them with Element Level join. I am getting below error. "The following tags were not closed: DATA_DS. Error processing resource 'http://localhost:9704/

  • USB card installation

    Hi all, I hope not to break the rules - but I am transferring my post from: +Mac OS X & Related s/w >>OS X Panther & earlier>> installation & setup+. (perhaps I put it in the wrong place). Here is my original post: ""I am new to OS X. I've only just

  • No sound from my center speak

    Hello,?I have a sound blaster audigy 2 card and 5. logitech THX speakers. I can not get any sound out of my center speaker. I used ot have a diagnostic program that tested my speakers and would let me reset them if I encountered a problem. I can no l

  • Starting Manage Server using node manager

    Hi, Hi, I am using Weblogic server 11g and I have deployed Admin server in one of my unix machine(machine1) and i able to start my Admin server using node manager, and when i try to start my Managed server in another machine(machine2) using the node

  • Using CTRL-SHIFT-F for searches, can the cursor please be in the search window by default?

    I regularly use CTRL-SHIFT-F to search particular folders (usually the Inbox) for a text string. When the search screen comes up, I sometimes start typing the text string, assuming that naturally the cursor's default position is in the search window.