TCP SERVER labview CLIENT not labview

Hi
I maked a little TCP server with labview like the example with little modification (I read data from serial port...)
If I use client build with labview I launche client and I read every time data until clint disconnect, if I use a client not build in labview I read only one time not in continue (server doens't write after the first time also if client is connect)
Can you help me?
best regards
elisa
Attachments:
Multiple Connections - Servercon Seriale.vi ‏161 KB

HI,
Can you explain in detail how you modify your program.
Can you post your working program for both server and client.
Hopefully, get a reply from you.
Thank you,
Hussin

Similar Messages

  • Server stating client not connected even though it is on

    We often have trouble where the server will state the computer is not connected even though it is on. Sometimes restarting the local service will cause the server to see it connected again. Most time we need to reboot the machine altogether.
    Is there a way to force the server to recheck if the computer is connected. A command on the server or the remote pc?

    What setting do you have for how often the Collection Client checks in? Default is 180min and that time differential could be your gap for when it updates status.
    Just a thought.

  • "TCP Server inactive" error in LabView 7.0

    My TCP functionality in LabView 7.0 is gone. In right bottom corner of LabView about splash it states "TCP server inactive". How do I fix this? Thanks
    Solved!
    Go to Solution.

    Hi _Matt_,
    The TCP checkbox under Tools»Options»VI Server: Configuration may have become unchecked. Make sure that is checked and see if it makes a difference.
    Thank you for choosing National Instruments.
    Aaron Pena
    National Instruments
    Applications Engineer
    http://www.ni.com/support

  • Windows Media Player no sound while playing a avi file in server and client connection using TCP/IP connection

    Hello there
    I have a problem with my windows media player while using server and client connection by using TCP/IP connection. So when I play a video using Windows Media Player in LabVIew there isn't any sound come out but when I'm playing a video by a Windows Media Player only the sound will come out. Can you help me solve this problem?
    I also upload the vi as the reference.
    The username for the client is ihsanhaikalz and the password is ganteng
    Thanks
    Attachments:
    Client Remote.vi ‏746 KB
    Server Remote.vi ‏1433 KB

    Hi ican,
    I was looking at your VI's but I cannot seem to pinpoint exactly where you are using Windows Media Player.  In order to more quickly assist you, could you please recreate this issue more concisely in a smaller set of VIs.  Also, were you able to get sound when you did not use the TCP/IP connection and simply played the files in LabVIEW?
    I noticed in a few places that you were using the Play Sound File.VI from the Graphics and Sounds palette.  Is that what you are refering to?  I noticed there that the file path that you have designated for the song is simply the song title.  Instead, this should be a path to where the song is located on your computer.
    Also, if you are planning on using Windows Media Player, have you considered using the ActiveX commands for Windows Media Player?  Here are a few examples if you are unfamiliar with this functionality.
    Example 1 and Example 2.
    I hope this helps!
    Kim W.
    Applications Engineer
    National Instruments

  • TCP IP multi client connection is not working properly

    My Program is a client server software communication where the server collector data from a cDaq and sends data to the client then the client sends command to the server to execute. The problem I encountered is when I sedn a command to the server, It shows that the server receives it but it doesnt execute it properly. Please take it a look, and see where I went wrong. I have been stuck on this for a while. I will add the more subvis after this post 
    Solved!
    Go to Solution.
    Attachments:
    multiconnection-server-with waveformGen.vi ‏102 KB
    Daqmx channels config.vi ‏36 KB
    Waveform command receiver.vi ‏27 KB

    It's missing Untitled Library 1.
    What does  "not execute properly" mean?  Waht is it doing or not doing and what are you expecting it to do?
    I see a problem in the TCP-IP subVI client.  Why are you enqueueing an element then immediately dequeueing it?  Then you proceed to to enqueue it again after the subVI ends.  But you have a parallel loop where you dequeue the element.  You've got a race condition.  One of two things could happen.
    1.  The data gets enqueued and dequeued inside the subVI.  When it ends, it gets enqueued again in the same queue.  Then the parallel loop could dequeue it and work with it.  I'm guessing if this order of execution happens, it probably behaves properly for you.
    OR.
    2.  The data gets enqueued inside the subVI.  The parallel loop with the dequeue is sitting there waiting for something, dequeues the element and works with.  Then the dequeue inside the subVI sits there forever waiting for an element in the queue that will never come because now you've locked up the code.  The loop can't iterate to ever get more data in the queue.
    You have a lot of strange queue operations going on in that subVI and another subVI in the parallel loop.  Why are you obtaining another reference to the queue, flushing it, then releasing that queue reference.  I'm not even going to try to guess how that would complicate the 2 scenarios I already listed above.
    I suggest looking at more queue examples to understand how they work.  Any given queue should only have 1 dequeue operation, otherwise the dequeues will race to steal the data from each other.

  • Windows Server 2012 Essentials (not R2) - all client computers offline

    The server is Windows Server 2012 Essentials (not R2). I have had this problem ever since I first installed the Windows Server 2012 Essentials server in the summer of 2013 (before R2 was released). The Windows Server 2012 Essentials server shows offline
    for all Devices under Dashboard. (Allow me to add that I just installed another site with Windows Server 2012 Essentials R2, and it was a breeze - all of the computers at the second install site are online.) I have one Windows 8.1 Pro client and the rest
    are Windows 7 Pro clients. The problem occurs on ALL client computers.
    I have removed computers from Devices in Dashboard on the server, rebooted the server, changed the client computer to a workgroup, rebooted the client computer, and reinstalled the connector software on the client computer. Same result. I
    have tried this on a Windows 7 Pro client and a Windows 8.1 Pro client with the same results.
    After running the connector on a client computer and waiting for the server to update its Devices status, if I look under Devices on the server Dashboard, the Windows 8.1 client computer will say online but within 24 hours it goes offline again. The
    Windows 7 client computers never show online. Both computers stay offline - they NEVER show an online status (referring to the status under Devices in Dashboard).
    I should make it clear that the clients can access the server shares with no problem. File synchronization works great. The clients can ping the server and the server can ping the clients. But client backups on the server fail.
    One of the most troublesome things about this problem is that it prevents the client computers from being accessed remotely using the website setup by Anywhere Access. I can login to get remote access to the shared files on the server, but
    the only computer that says "online" is the server. All of the other computers are "offline".
    The server and clients are only using Windows firewall. The clients all use Microsoft Security Essentials for their anti-virus.
    I used a troubleshooting tool that tells me that there are problems with port 6602 on the server, but the clients are all fine with port 6602. I know port 6602 is important for using Anywhere Access but I am still trying to find out more details on that.
    I have checked all of the firewall settings related to port 6602 on the server, and the firewall settings look like the standard Windows settings for this port. I used netstat to find the PID associated with the port, and I looked up the PID to find the service.
    That all looked standard, too.
    I have been working on this problem since the summer of 2013!! Does anyone have ANY suggestions?!!
    HELP!

    Hi,
    Just addition, please check if all necessary Windows updates are installed on those
    “Offline” client computer.
    When connect client computers to the Windows Server 2012 Essentials server by using the Connector software, there
    will be LAUNCHPAD on the client computer. Was this LAUNCHPAD grayed out? Please check if can access Shared Folders via this LAUNCHPAD. Meanwhile, please ping the Windows Server 2012 Essentials via IP address and server name when client computers show as
    Offline. Any find?
    Get Connected in Windows Server Essentials
    In addition, please follow the path on Server and client computer:
    %programdata%\Microsoft\Windows Server\Logs. Did you check any relevant Server-side logs and
    Client-side Logs if find more clues?
    Windows
    Server Essentials 2012/2012 R2 Log Files
    If any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Server settings are not saved on client

    The client has a new workstation (Vista) where the server settings are not saved. The client is able to login but have to setup the server settings overtime she logs on to SAP B1.
    Client: Vista
    SBO: 2007A SP01
    what is causing this and how can this be resolved?

    You may check these threads first:
    Re: Server name in Change Company does not stay
    Re: SQL Connection to SAP Reset
    Thanks,
    Gordon

  • Oracle 10g client not connecting to Oracle 8i server

    I have oracle 8i server already installed. I downloaded Oracle 10g client recently. I installed it on one machine and trying to connect to 8i server. I used TNSnames.ora which was already present on the machine. After entering the username, password and service name in SQL plus, I got a error saying server version not suported. Does 10g client not support 8i server or am I doing something wrong ?

    There is an 8.1.7.4 patchset for Windows.
    If you take a look at the Instant Client forum, there are some discussions on this where one of the Oracle product managers (Mr. Jue) has chimed in. At present, only connections to 8.1.7.4 and higher are supported. It is expected that the first 10g patchset will fix this bug and allow connections to 8.1.7.0 and above databases.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Data streaming between server and client does not complete

    Using an ad-hoc app, data streaming between server
    and client does not complete as it supposed to be.
    The process runs well in solaris 5.8, however under 5.9
    we have found the characters stream buffer length limitation
    is around 900 to 950 characters (by default we are using 3072
    characters).
    Example:
    - We are transfering HTML file, which will be displayed
    in the App client, with buffer=3072, the HTML only displayed / transfered
    as xxxxxxxx characters, but with buffer=900 the HTML is displayed properly,
    in this case, the only problem that we have is the file transfer will
    eventually longer than usual.
    - There is another case, where we have to transfer information (data) as stream
    to the client. A long data stream will not appear at all in the client.
    Any ideas why the change between 5.8 and 5.9 woudl cause problems?
    The current app-driver that we are using is compiled using Solaris 5.6,
    if possible we would like to have use of a later version, which is compiled using Solaris 5.9, do you think this will probably solve our problem?
    Thanks
    Paul

    Does this have anything to do with Java RMI? or with Java come to think of it?

  • How can I make a TCP server for muticonnec​tion clients??

    Dear group,
    I try to change a complicated TCP server with only one client posibility to
    a multiclient.
    I've seen the examples, even some solution on the ni web, but I don't
    understand very well how it's works. I need also logging for each client in
    a different file.
    Thanks for your help.

    The best example I have found is this one
    Understanding Client-Server Applications -- Example Code
    There are a couple of good links to tutorials off the page as well.
    If you have questions about the specific example let us know what they are.

  • Wyse Thin client not connecting to Windows 2008 R2 server

    Configuration
    SBS 2011 Server 
    Windows 2008 R2 server with Remote Desktop Services installed, License Manager installed.
    WYSE WT3125SE thin clients with Windows CE 5
    I setup the Windows 2008 with Remote Desktop Services and was able to successfully connect the Thin client.   Then I installed the License Manger and applied my Open license using User Cals.  Was able to login.  Next day I get the following
    error-"Because of a security error, the client could not connect to the remote computer.  Verify that you are logged onto the network and then try connecting again"    I still can connect fine from other machines even Windows Home Ed.  
    I remove license server and still was unable to connect.   Built a second Windows 2008 R2 server with RDS on it.  Was able to connect without issue.   Pointed it to the first RDS server license manager and have still been able to connect with
    the Thin Client.   The thin client can rdp to the SBS server without issue in admin mode, can connect to RDS2 server but not RDS1 with the license manger.    So my issue is with the license and so my question is what is it with the license server
    running on that server that is keeping thin client from connecting.  I even did a reload of RDS1 and tested connecting throughout the process and it worked up until I applied the license and then it stops. And then if I uninstall the license, rds, remove
    from domain still not able to connect.  Any help would be appreciated.

    We had the same problem with older terminals after cloning a 2008R2 rds server and sysprep it.
    The original rds server worked fine but when the old terminals connect to the new 1 they come up with the error : Because
    of a security error, the client could not connect to the remote computer.  Verify that you are logged onto the network and then try connecting again"
    After reading all of the postings about this issue and tried the reactivate solution of the license server,
    I was sure that it had something to do with the x509 certificates that are generated the first time you connect to a valid license server.
    What I did, I installed a new license server activate it but did not install licenses on it.
    I pointed the defective rds server to the newly installed license server and deleted the following registry keys:
               HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM
    Certificate
    X509 Certificate
    X509 Certificate ID
    X509 Certificate2
    Then reboot.
    After the reboot all old terminals can connect fine again. As final step I pointed the rds server to the same license server as the other ones,
    reboot and all worked fine.
    So conclusion is that when you pont a rds server to a license server that has the new type of licenses on it it will generate the wrong x509 certificates
    that are not supported by the older clients, by pointing it first to 1 without any rds calls on it, it generates the older x509 certificates which are compatible with the older rdp clients then the switch to new license server will then not regenerate the
    x509 certs so it keeps working.
    I hope this helps someone
    This issue was driving me crazy so very happy that it is resolved now
    Cheers Frits

  • WSUS server no longer works/clients not receiving updates after replacing domain controller

    I first logged into the WSUS server and found that I couldn't launch the console, event log was full of errors about different web services not working.  I ran
    wsusutil.exe usecustomwebsite true
    which appeared to correct that problem, but the WSUS server and all workstations report the following error code when checking for updates: 
    80072F76
    Client WindowsUpdate log is full of the following:
    2014-10-29 23:36:22:935  832 f48 Misc WARNING: WinHttp: WinHttpQueryHeaders(WINHTTP_QUERY_LAST_MODIFIED) failed. error 0x80072f76
    2014-10-29 23:36:22:935  832 f48 Misc WARNING: GetServerFileTime failed. error 0x80072f76
    The upstream server and another downstream server are working fine.  It is only this one WSUS server and clients on this segment of the network where a new domain controller was put in place last week.
    Thoughts?

    Hi,
    What's the port used by your WSUS server?
    Usecustomwebsite will change the port number used by the WSUS Web services from 80 to 8530 or vice versa.
    If you set this value to true, WSUS Setup will use port 8530 for its Default Web site. If you set it to
    false, WSUS will use port 80.
    If it doesn't work, please post the entire windowsupdate.log here. It may give some hints.
    Best Regards.
    Steven Lee
    TechNet Community Support

  • Client Not connected with Server

    Hi Experts
    I upgraded my Patch level from 9.0 PL8 to PL9.  Server and Clients are installed and it is working fine but one PC not connected with Server.  While I Connect SAP in landscape server selection Page Port Number shown as 40000 instead of 30000.   I changed Port No from 40000 to 30000 the error Message came as  [message 60070-99999987}.  I attached the Screen shot in this discussion.
    Please help me to resolve this issue.
    With Regards
    Balaji Sampath

    I have same problem and this is the solution
    Go to the directory C:\Program Files (x86)\SAP\SAP Business One\Conf
    Copy the file b1-current-user.xml and put it aside
    Go to the directory %USERPROFILE%\Local Settings\Application Data\SAP\SAP Business One
    Check the file b1-current-user.xml which is likely empty or wrong strings
    Rename the b1-current-user.xml file for backup
    Move the copied file into the directory.
    License server name asked every time on login

  • Handle Received data of Multiple TCP clients on TCP Server by displaying them into Datagrid

    Hello All,
    I have developed a C# based TCP server GUI application which is accepting the data from multiple TCP clients on TCP server.
    The data i am receiving from TCP clients is a 32 bit data. In my application multiple TCP client data goes like this:
    00012331100025123000124510321562
    01112563110002512456012451032125 and so on...
    Now i want those data of the TCP clients to be parsed into 4 bits first and display it in 8 columns (32/4=8) of (say) datagrid as each 4 bit represents some characteristics of the TCP client. The same thing
    should work for next TCP client on second row of datagrid.            
    Can you give me some suggestion or an example how to go about this? Any help would be appreciated.
     Thank you in advance.
    Here is my code for receiving data from multiple TCP clients.
    void m_Terminal_MessageRecived(Socket socket, byte[] buffer)
    string message = ConvertBytesToString(buffer, buffer.Length);
    PublishMessage(listMessages, string.Format("Sockets: {0}", message));
    // Send Echo
    // m_ServerTerminal.DistributeMessage(buffer);
    private string ConvertBytesToString(byte[] bytes, int iRx)
    char[] chars = new char[iRx + 1];
    System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
    d.GetChars(bytes, 0, iRx, chars, 0);
    string szData = new string(chars);
    return szData;

    Now i want those data of the TCP clients to be parsed into 4 bits first and display it in 8 columns (32/4=8) of (say) datagrid as each 4 bit represents some characteristics of the TCP client. The same thing
    should work for next TCP client on second row of datagrid
    If mean it's a Windows Forms application and you want to display those bits in a DataGridView control, then please see these threads:
    Add row to datagridview
    Programmatically add new row to DataGridView
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Server name is not displaying in Dropdown After client installation

    Server name is not displaying in Dropdown After client installation . what might be a issue

    Hi
    Depending upon the installation issue may be differ, so which SAP version and database version you have installed ?
    you can check
    1. Windows installer
    2  Sql Native client
    is installed or not.
    Thanks
    Kamlesh

Maybe you are looking for

  • Lion server on Mac mini server stop responding to ssh and VNC (other services like mail, ical works well)

    Lion server on Mac mini server stop responding to ssh and VNC (other services like mail, ical works well) Version is Lion server 10.7.4 When I attach a monitor to it, I saw all the buttons and menus stopped responding too. I can only push and hold th

  • Does safari 6.0.4 need and svg viewer?

    I am visiting a website and part of the site provides graphics. The graphics do not show up but the area where they should be tells me I need to download adobe's svg viewer. The website it takes me to is within Adobe but has no downloads for MACs plu

  • Condition Types EDI1 EDI2 For Purcahse Order

    Hi All, The vendor sends a price change(855) that can be accepted automatically. The IDoc is updated but the purchase order is not updated with the confirmed price. I found the below from SAP Market Place Answer: Prerequisites for the use of the pric

  • Nokia 5300

    Hi! My nokia 5300's manu button and navigation buttons are not working. How to solve this problem? Thanks,

  • Temperature controlled cooling for K7N2G - making a cheap and quiet sy

    Hi! My CPU and IGP fan speed is temperature controlled. The two fans in my PSU are very quiet. Beside these i have two fans blowing air into the cabinet and two fans blowing air out. At the moment I have the option to let them stay turned off, to giv