Error 11 with TCP Listen.vi and named service

I am using TCP Listen.vi with a named service so my Real-Time application can act as a TCP server without the clients needing to know the specific port.  I am using LabVIEW 8.5.
I am getting Error 11 from TCP Listen.vi if no client has connected within a certain amount of time.  I have traced the problem down to the TCP Listen Internal List.vi inside Internecine Avoider.vi in TCP Listen.vi.  I think I have found a bug in this vi.
What is happening is that the Search function of TCP Listen Internal List.vi is not finding the named service, so new listeners continue to be created until there are too many open.  See the attached picture.  I think the circled function should be "not equal" instead of "equal".
Has anyone run across this problem before?
Thanks,
Cherie
Attachments:
TCP Listen.PNG ‏39 KB

Cherie,
Let us assume that al listener for your port number and name is not yet created and you have put the TCP Listen in a loop.
1st Iteration:
Searching the internal list will not find a name or port and hence it will create a connection and if successful will insert the port number and name to  Internal List.
2nd Iteration onwards:
It will find the previous connection, provided you are still passing the  same port number. If in the second iteration the port number changes, then what you say may happen
Will it be possible for you to post the TCP VI you have in RT?
That said...I don't get why that compare with zero is required? If port number was 0 in the first iteration then anyway after creating the listener, the new port number will be updated to the list along with the service name, isn't it?
Message Edited by kikiduu on 09-06-2008 08:50 AM
"A VI inside a Class is worth hundreds in the bush"
യവന്‍ പുലിയാണു കേട്ടാ!!!

Similar Messages

  • I am having a issue installing Adobe Acrobat XI.  I am running Windows 8.1. When  go to install it gets an error.  The error is with transform in registry and will not install product. I am looking at how I can fix this registry problem.

    I am having a issue installing Adobe Acrobat XI.  I am running Windows 8.1. When  go to install it gets an error.  The error is with transform in registry and will not install product. I am looking at how I can fix this registry problem.
    I have tried to uninstall all Abode Acrobat installations but one file remains and refuses to be uninstalled. It gives me this error : Error applying Transforms . Verify that specified paths are valid. It was installed on Sept 18 2014.  I have downloaded a Transform update but it tells I do not have a Adobe Acrobat product installed. 

    Hi all,
    Sylonious, did you manage to sort this problem out? I have been experiencing similar problems. I think my problem was because I had many different versions of JDKs. I have done a complete re-install. I would be really grateful to you (and anyone else) for help with this problem.
    I have re-installed JSDK1.4.2_03, set the "path" variable to "C:\JSDK1.4.2_03".
    When I compile using "javac" I get an error saying "javac" is not recognised.
    When I compile using "C:\j2sdk1.4.2_03\bin\javac Freq.java" no error is thrown.
    Every time I try to run a java file, I always get the NoClassDefFound error. When run with the -verbose option, files are loaded from C:\Program Files\Java\j2re1.4.2_03\bin - is this correct?
    I have removed all previous references to java in the registry editor.
    Please help !
    Regards,
    Vipul

  • Wrong remote port number with TCP listener

    Hi
    I am sending data from a dsp with a network card over TCP/IP to my pc running labview7express. The data is received correctly, I use a 'TCP create listener' followed by a 'TCP wait on listener' to establish the connection, followed by a while loop with 'TCP read' in it.
    The port returned by 'TCP create listener' is correct (1001), but somehow 'TCP wait on listener' returns 57345 as remote port!?
    Also when using another port eg 1003 it still returns 57345..
    Anyone knows how this erroneous portnumber is achieved?

    stino wrote:
    > Hi
    > I am sending data from a dsp with a network card over TCP/IP to my pc
    > running labview7express. The data is received correctly, I use a 'TCP
    > create listener' followed by a 'TCP wait on listener' to establish the
    > connection, followed by a while loop with 'TCP read' in it.
    > The port returned by 'TCP create listener' is correct (1001), but
    > somehow 'TCP wait on listener' returns 57345 as remote port!?
    > Also when using another port eg 1003 it still returns 57345..
    > Anyone knows how this erroneous portnumber is achieved?
    Nothing wrong with that. A TCP/IP connection has ALWAYS two connection
    ends with each of them using a port number. 1001 is the port of the
    local listen socket (which needs to be fixed so that clients can connect
    to a know
    n server) in your LabVIEW application. 57345 is the port number
    used by your software running on your DSP board. A client usually has no
    fixed port number but allocates any port number not already in use. When
    the listen socket receives a connection request it connects and passes
    the connection with the local port 1001 and the remote port 57345
    through TCP Wait On Listener to your application. Since you set up the
    Listen Socket in Create Listener you already know its port number so TCP
    Wait on Listener does only return the port number of the remote
    connection end of your connection.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Error in Create TCP Listener - Linux

    Hi,
    When using the Create TCP Listener function in Linux Red Hat 9.0, I get an error (ill-formet net address). What is strange is that I get this error only when running the VI (built as an executable) as a regular user. When I run it as root, no problem.
    Any idea?
    Thanks,
    Alex

    Hello Alex,
    We've seen this issue before with Linux users (for example
    http://forums.ni.com/ni/board/message?board.id=170&message.id=63457&requireLogin=False),
    it seems as though you'll have to change some permissions in Linux if
    you want to use TCP when not logged in as root.
    Hope it helps-
    Travis M
    LabVIEW R&D
    National Instruments

  • ODBC with TCPS listener

    Hi, I am using an Oracle 9i server with a TCPS (SSL-encrypted TCP/IP) listener. I can't seem to get ODBC clients working with this listener.
    I can successfully use this TCPS listener with all of the regular Oracle clients (SQLplus, Enterprise Mgr, etc.)
    I can successfully use ODBC with the TCP (non-encrypted) listener.
    When I try to connect with ODBC over TCPS (e.g. to import data into Excel), the connection freezes. Has anybody else ever successfully used the encrypted listener in this way?
    Here are my particulars:
    Database server: 9.2.0.4 on Linux
    Database client: 9.2.0.4 (both Oracle Client and ODBC driver) on Windows XP
    Any help appreciated!!
    --Andy Stevens
    New York, NY

    yes the TCPS listener is part of Oracle Advanced Security.
    --andy                                                                                                                                                                                           

  • Error -54 with windows 8.1 and iOS 7.1.2

    I tried adding two albums to my iTouch 5 with windows 8.1 and recently updated my iTouch's OS to version 7.1.2. I keep getting the error -54, saying it couldn't be synced but it still keeps sycing and comes up a lot. I tried restoring my iTouch and restarting my laptop, can anyone help?

    That's weird. Here it is in full.
    It may be too late for you to try what I did, but by the looks of it, it will be viewed many times going forward.
    I noticed I was having the problem with songs that had been in WMA format but converted by iTunes. From what I read, this error is actually about permission issues for the files. I tried changing the permissions on the directory and cascade them to each file, but that didn't work. Reading more, one user got around the problem by zipping the problem files and use the files from the zip to sync. That worked for them. I tried that and it didn't work. Then I just figured there is some residual setting either on the iPad or in iTunes that was still hosing me.
    I'd gotten pretty annoyed by this time so I figured I have to start with a clean slate. I reset the iPad to factory condition. I then went to windows restore and selected the restore point prior to installing iTunes. I then went thru the painful process of setting everything up again. Once I was installed and let the music be added to iTunes, I went thru and "unchecked" everything I didn't care if it went to the iPad. That was frustrating since I didn't actually have any check boxes showing. Since I was going to exclude whole albums, I did a right click on one in iTunes and there was an option in the context menu to uncheck the box. I did this for all the unwanted albums At this point, I connected the iPad and it was recognized. I went to the page to set up the syncing options. I tried to do it manually, but that was going to be a huge pain so I did the automatic sync and check the box to NOT sync unchecked items.
    Finally, it started to work. I still got about 15 of the error -54 messages. I just clicked it away and the syncing continued.Since I had nearly 2000 songs transfer, I don't know which caused the error but I now have music on my iPad.
    It's a lot of work, but I finally got the results I wanted. Hope this helps.

  • Keep getting error 69 with iTunes 5.0, and it wont let me

    keep getting error 69 with iTunes 5.0... Im pretty sure its the version's fault, but it wont let me install a previous version I have on CD either.
    Even after uninstalling iTunes I get error
    "1623: installation failed"
    everytime I try to install the older iTunes off my CD.
    Is there something extra I have to do completly get rid of 5.0 before I install an older version? like shot my computer?
    please help. thanks

    Make sure you have the Latest Version of iTunes Installed on your computer ( v 11.1)
    iTunes free download from www.itunes.com/download
    Also... See here for Connection Issues
    http://support.apple.com/kb/TS1379
    http://www.apple.com/support/itunes/troubleshooting/
    Temporarily disable your firewall and antivirus software and try again...

  • Connection error -2147217387 with Java RAS SDK and Crystal Server 2011

    Due to a change in operating system, we are required to upgrade our Crystal Reports server from BusinessObjects Crystal Reports Server 11.5 to SAP Crystal Server 2011. We use the Java RAS SDK (RASCore 9.2.2.446 / RASApp 9.0) more or less as described in Java RAS2008-unmanaged exportreport. We use the Crystal Server to export reports stored on disk as PDF files.
    In SAP Crystal Server 2011, the CrystalReports2011ReportApplicationServer is configured with Request Port 1566 and Host Identifier 172.16.4.154 (the local machine). The Crystal Server, report-definition files, and Java VM are all on the same machine.
    The error is
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: XML serialization failed.---- Error code:-2147217387 Error code name:connectServer
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.v.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.ab.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.do(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.for(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         at ourpackage.OurClass.openReport(OurClass.java:95)
         ... 6 more
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:189)
         at java.net.SocketInputStream.read(SocketInputStream.java:121)
         at java.net.SocketInputStream.read(SocketInputStream.java:203)
         at java.io.DataInputStream.readInt(DataInputStream.java:388)
    The code is as follows.
    ReportClientDocument clientDocument = new ReportClientDocument();
    clientDocument.setReportAppServer("172.16.4.154:1566"); // localhost
    // Error occurs on ReportClientDocument.open method
    clientDocument.open("D:\\path\\to\\report.rpt", com.crystaldecisions.sdk.occa.report.application.OpenReportOptions.refreshRepositoryObjects.value());
    DatabaseController dbController = clientDocument.getDatabaseController();
    dbController.logon("dbuser", "dbpassword");
    ParameterFieldController pfController = clientDocument.getDataDefController().getParameterFieldController();
    Fields fields = clientDocument.getDataDefinition().getParameterFields();
    ParameterField oldParameter = (ParameterField) field.get(0);
    ParameterField newParameter = new ParameterField();
    oldParameter.copyTo(newParameter, false);
    newParameter.getCurrentValues().clear();
    ParameterFieldDiscreteValue newDiscreteValue = new ParameterFieldDiscreteValue();
    newDiscreteValue.setValue("paramValue");
    newParameter.getCurrentValues().add(0, newDiscreteValue);
    pfController.modify(oldParameter, newParameter);
    clientDocument.refreshReportDocument();
    PrintOutputController po = clientDocument.getPrintOutputController();
    InputStream is = po.export(reportFormat);
    Could anyone advise me how to proceed with resolving this error?

    Thanks for the link. I copied the CrystalReportsSDK.jar and logging.jar from the Crystal Server java\lib directory into my project and revised the code accordingly. Now, a slightly different error occurs at the same place:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: {0}. --- Connection reset by peer: socket write error---- Error code:-2147217387 [CRSDK00000039] Error code name:connectServer
      at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(ReportSDKServerException.java:115)
      at com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.request(TCPIPCommunicationAdapter.java:659)
      at com.crystaldecisions.proxy.remoteagent.AdapterCommunicationChannel.send(AdapterCommunicationChannel.java:88)
      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.request(ReportAppSession.java:382)
      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.logon(ReportAppSession.java:342)
      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(ReportAppSession.java:330)
      at com.crystaldecisions.sdk.occa.report.application.ClientDocument.initializeServerConnectionAdapter(ClientDocument.java:627)
      at com.crystaldecisions.sdk.occa.report.application.ClientDocument.initializeServerConnection(ClientDocument.java:658)
      at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.initializeServerConnection(ReportClientDocument.java:1420)
      at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(ClientDocument.java:982)
      at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.open(ReportClientDocument.java:226)
      at ourPackage.OurClass.openReport(OurClass.java:97)
    The revised code is
    ReportClientDocument clientDocument = new ReportClientDocument();
    clientDocument.setReportAppServer("172.16.4.154:1566"); // localhost
    // Error occurs here
    clientDocument.open("D:\\path\\to\\report.rpt", com.crystaldecisions.sdk.occa.report.application.OpenReportOptions.openAsReadOnly.value());

  • Stub and Naming Service

    While registering a remote object with a naming service, for example, Naming.rebind("MyService", remoteobj),the stub gets registered and that stub is sent by a registry to a client in response to Naming.lookup(""MyService). Then client becomes able to call method remotely. I tried a example in which I did not bind a remote object and I had a stub on client. And at client I created an object of stub class and invoked a remote method but it did not work. Why it is necessary to have a remote object bound to registry at server, because it ultimately binds stub and that stub is sent by a call (Naming.lookup("MyService")). To me the only requirement is to have a stub at client side to make remote calls. Is there any additional information sent by a registry to a client in addition to sending a stub in a rsponse to callNaming.lookup("MYService") which isneeded at client for calling remote method on stub. Another point is that Stub needs to know the IP address and port no. to be able to talk to listening service on remote jvm for execution of methods there, but when I decompiled the stub, I did not find anything like that. I would be thankfull to you if you provide me a clear picture of what I have asked for.
    Thanks in advance

    Since you have no clue what remote procedure calls are all about, I would suggest you take the tutorial on RMI. This should answer all your questions.
    Additionally, you should also take a lesson in using separate paragraphs when writing.

  • Error when opening workspace, web analysis and shared services

    Hi All,
    We installed hyperion 11.1.2, Essbase on a AIX server, with reports etc on a windows 2008 server. when logging onto workspace, web analysis and shared services i get the following error message:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    If we re-start the server it sometimes work, but in the morining we have the same issue, can anyone help.
    Thanks
    Dylan

    Hi,
    Restart the services. Issue with Oracle Http server. If you restart foundation and other services I can bring workspace up.
    Thanks
    Radhika

  • Bad experience with Verizon Fios Internet and Customer Service

    I had an extremely bad experience with Verizon Fios Internet service and I will never use Verizon again. 
    In August 2014, I called and installed the Verizon Fios Internet and phone bundle. I asked the customer agent several times if I will be charged anything before the installation of the Internet and phone service. She said, 'No, we will only start charging after the Internet and phone are installed at your apartment'. I went to the store and picked up the router and phone and installed it at home by myself. The router did not work. I called Tech support and they said it will take several days for another available agent to come and look into the issue. I decided to discontinue the service and closed the account that same night.
    At the end of the month, I received a bill of $80 of activation fee for the internet service. Nothing was ever activated, my internet router did not work, and I got charged an activation fee for a service that I did not even start using. From August to December, I called customer service over 10 times and some of them said they will waive it while the others said it's a non-refundable activation fee. One lady said, 'Ma'am, the activation fee starts when you placed the order, the warehouse received it and packed the router in the boxes....' Isn't that ridiculous? If that's the case, please ask all your customer representative to say a clause before new customers open their account: Are you aware that you will be charged a non-refundable activation fee once you open the account regardless of whether or not you use the service or not. 
    So after 3 months (November 2014), I decided to get out of all these troubles and paid off my $80 activation fee. They put the bill in the collection agency and I called them and paid the overdue balance. Then in December 2014, I received a statement saying I have a $3.11 overdue balance. The collection agency told me that they will charge me for the whole activation fee and a $3 transaction fee for the transaction. So now Verizon came back and said I owed them the $3 because I paid the collection agency their transaction fee. 
    I am very disappointed and furious about the whole Verizon operating system. Charging a customer for an activation fee for a service s/he has not consumed or used does not make any business sense. In addition, they do not know how to coordinate with the collection agency on overdue bills. Give the customer a heads-up that they will be charged a transaction fee on top of the overdue balance, and that transaction fee does not count towards clearing the balance. 
    I have completely lost my confidence in Verizon albeit the many good feedback from my friends. 

    Hi crystallau52,
    Sorry you are having difficulty. An agent with access to your account will reach out to you directly by email, private message in the Forums and/or the billing telephone number on your Verizon account for more information or to help you resolve your issue.

  • Project Server 2010 - Error 20010 with a master project and 3 sub-projects during publication

    Hi,
    Here is the situation :
    One master project with three sub projects.
    Sub projects are really similar (Same ressources and nearly same tasks but only the first contain real work for now).
    Sub projects got no sub projects nor links between projects.
    The owner of the master project got read rights through projects permissions on sub projects.
    Sub projects are link in "read only".
    We applied Project Server 2010 SP2 last week end and the issue appeared monday.
    Here are the symptoms :
    When we link only one sub project (Doesn't matter which one), the owner can publish, no problems.
    With 2 sub projects, the error may occur.
    With 3 sub projects, the error always occurs.
    With admin rights, the error doesn't occur.
    Here is the error :
    ID : 20010 (0x4E2A)
    Description : You don't have required permissions to perform the action (Average traduction)
    Detail : <detail><errinfo><general><class name="Project"><error id="20010" name="GeneralSecurityAccessDenied" uid="19515c1d-2624-466f-953a-b7fc67337b81"/></class></general></errinfo></detail>
    I'm unable to determine which sub project is the culprit, if there is one, as it's working when I link only one of them.
    Thanks for your time !

    Fylim --
    If the project manager in question does not need to edit any of the three projects, the PM does not need to have Read/Write access to any of the three projects.  Because you said that the PM needs to set links in all three projects, this means that
    the PM will be editing all three projects.  In order to edit the three projects, the PM must have Read/Write access to all three.  Setting cross-project links constitutes editing of the projects, which is why the PM must have Read/Write permission. 
    Make sense?
    Regarding SP2, I am not aware that this would change anything, but I could be wrong.  The reality is that regardless of which SP you have applied to Microsoft Project and Project Server 2010, the PM in this situation MUST have Read/Write access to the
    projects that he/she needs to edit with cross-project links.  Hope this helps.
    Dale A. Howard [MVP]

  • Why do I keep getting ERROR 404 with regards to iCal and Gmail?

    I have a desktop iMac with these specs:
    Processor  3.06 GHz Intel Core i3
    Memory  4 GB 1333 MHz DDR3
    Software  OS X 10.9.4 (13E28)
    iCal Version 7.0 (1841.1)
    iCal cannot refresh and I keep the message:
    The URL https://www.google.com/calendar/dav/[email protected]/user///www.google.com/calendar/dav/[email protected]/user/ encountered HTTP error 404. Make sure the URL is correct.
    This happened after I tried to import a calendar from Gmail into iCal.  What should I do?  And how can I get iCal to successfully retrieve new Calendar items from Gmail automatically?
    Coeli Ingold

    NMAYO,
    In your project view can you right click on the chassis in the cRIO and make sure that it is set for Scan Mode and not FPGA mode? Also, In the measurement and automation explorer you can check the cRIO and verify that it has Scan Engine Support installed on it. The tutorial below shows how to reformat a cRIO and install software on it, the later steps on software will allow you to check your cRIO.
    Reformatting a CompactRIO Real-Time Embedded Controller
    Ben Sisney
    FlexRIO V&V Engineer
    National Instruments

  • When trying to open firefox receive application error message with ok to terminate and cancel to debug - window then closes & program is unusable.

    complete error message titled firefox.exe - Application Error
    The instruction at "0x10007dba" referenced memory at "0x7c90e514". The memory could not be "written".
    Click on OK to terminate the program
    Click on CANCEL to debug the program
    After clicking OK or CANCEL the program does not start
    I've tried uninstalling and reinstalling with the same problem

    Hi gfrancom-
    I do not know precisely why you are getting this error. I would suggest doing a full uninstall, and then installing the latest version.
    * Get the latest version here: http://www.mozilla.org/en-US/firefox/new/
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    I hope that helps!

  • I got an error message with updating my iTunes and now its saying I need to re-install iTunes. How do I do that

    When I was prompted there was an update on iTunes I did as usual and began installing the update. Something happened during that time and I got an error saying it didn't download correctly. Now when I go to open iTunes it gives me an error message and says I need to re-install the program.  I'm not sure how to do that.  I am also concerned that I will lose all of the things that I have backed up from my phones, purchases, apps, etc.  Can anyone please give me some insight on what to do?
    Thanks

    See... Unable to install or open > http://support.apple.com/kb/TS5376
    Also See this User Tip by turingtest2
    https://discussions.apple.com/docs/DOC-6562
    littlered1382 wrote:
      I am also concerned that I will lose all of the things that I have backed up from my phones, purchases, apps, etc.
    It has always been Prudent to Create and Maintain a Backup of anything you would not like to lose.

Maybe you are looking for

  • Multiple ResultSets from the same connection occuring at the same time

    Is it possible to have the following code? The issue is that you are iterating through two result sets created from the same connection at the same time. try { Connection conn=createConnection(); Statement s=conn.createStatement(); ResultSet rs=s.exe

  • Material form Vendor Checking By FIFO

    Dear All,. My company need checking material batch number  from vendor when we do MIGO transaction as FIFO,what should I do for this required..?. and thx for your help. regards,. harry

  • Azure Pack Self-Serve Password Reset

    I currently have Azure Pack installed and I am trying to setup the notification for users to reset their passwords, account validation, and forgot password.I have exchange 2013 internally that I would use as a relay, and when I setup the relay in azu

  • Cannot open some links

    I clicked a bad page the other day and installed some malware. I [carefully] removed them manually, but perhaps I deleted a wrong registry key. Anyway, I'm left a little bit lame as I cannot open some links or pages, and I cannot restore previous ver

  • Adding valid Application Server Installation Location

    I have gotten to this step for adding GlassFish V2 plugin. Next screen: Platform Location - "Box" Then radio buttons: Register Local Default Domain with Domains "Box" Register Local domain Register Remote domain Create Personal domain with Profiles "