Tcp/ip communication problem
hello,
what i have is a tcp/ip communication problem. the server needs to see the connection on the client side terminate before it can reply with data. so i'm not sure the best way to
solve this. i tried to use a sequence structure to have the client open a connection and then send data across the port and then terminate the connection. the next part in the sequence would then open a connection and wait for the reply form the server. i had this in a while loop. an example vi would be very appreciated
Hi,
You can search for TCP Communicator -Passive.vi and TCP Communicator -Active.vi examples in the example finder by selecting Help->Find Examples.
Tunde A.
Similar Messages
-
Some problems in TCP/IP communication between PC&DSP
I have programmed a VI for TCP/IP
communication between PC (Client) and DSP (Server), which could be downloaded
at below link. It just achieves some basic features, like send commands to DSP
to set some registers, and receive data or status from DSP. Additionally I programmed
a Sever vi in labview to test the client. You know the real Server is in the
DSP programmed using C language.
My problems are:
1.
I don’t know how to add some “stop”
in the two VIs to get out of the loops, I tried but it didn’t work well.
2.
I’m not clear to add some error
handles, you know when I stop the vi by pushing the round red button to stop the
vi, it turns out some error dialog about TCP/IP.
3.
It is about the TCP/IP. when
the server writes data to connection ID, if the client doesn’t read them, then
where the data goes?
Attachments:
metaclient.vi 42 KB
metaserver.vi 30 KB可以通过添加布尔控件来停止循环,同时可以通过变量的方式来同时跳出多个循环。
你的程序肯定存在什么问题,需要的是调试。 -
Communication problem between FPGA VI and Host-PC VI
Dear,
I am trying to set up communication between an FPGA an the host-PC using FPGA FIFO's.
The communication still has some problems and I don't know what would cause them.
Labview gives me the following reason "The transfer did not complete within the timeout period or within the specified number of retries."
What is wrong with my labview program? How can i solve this?
The Project can be found in attachment.
Best regards,
Jasper Beurms
Solved!
Go to Solution.
Attachments:
CEC20_02.zip 150 KBHello Jasper,
Are you fully familiar with how DMA FIFOs work on a cRIO?
Some general questions:
- Is there a specific reason that you need to use DMA FIFOs?
You seem to only require a 10 msec acquisition rate?
- Wouldn't it be easier to just use the Scan Engine in the case you don't need to go below 10 msec?
The Scan Engine should allow you to do acquisitions at this rate without even having to implement FPGA code yourself.
Another benefit is that the Shared Variables created/published by the Scan Engine are also by default visible over the network/
If want to use DMA FIFOs, then I would suggest you take a look at the Compact RIO Developer's Guide: http://www.ni.com/compactriodevguide/
I would advise that you read out the DMA FIFOs on a VI that is running on the RT Controller (RT VI) and then send those values from the RT VI over the network to your Windows VI.
You could use for example Shared variables to sent values from the RT VI to the Windows Host VI.
Another solution might be to use network streams or more custom TCP/IP communication.
If these concepts are new to you, then please have look at the Compact RIO Developer's Guide: http://www.ni.com/compactriodevguide/
This Guide should explain you all the basics you need to know.
If something is unclear or requires further explanation, then please let me know.
Kind Regards,
Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
CLD, CTA
If someone helped you, let them know. Mark as solved and/or give a kudo. -
TCP\IP Communication in the XI
Hello,
We have a scenario in which we have to communicate with a 3rd party system from our ECC system using the tcp\ip protocol. We used the XI by building a BPM with a transformation step that uses a java class, in which we opened a socket connection and sent and received our messages, as described in the weblog .<a href="/people/saravanakumar.kuppusamy2/blog/2005/12/15/socket-integration-with-xi:///people/saravanakumar.kuppusamy2/blog/2005/12/15/socket-integration-with-xi
The main problem we encountered is that we have to maintain a continuous connection to the 3rd party system, and we can't find a way to make this possible using the XI (it keeps stateless beans for the transformation steps, therefore closing the connection when the class run ends).
Is there a way to maintain a continuous connection of tcp\ip from the XI? Maybe by using an adapter?
Thanks in advance,
Tal.I used the transformation class to call a custom web service that keeps the connection open and handles all tcp/ip communication.
-
TCP/IP communication with LabVIEW Full?
Hi,
I would like to know if the TCP/IP VIs are included with the Base or Full version of LabVIEW?
I was looking at the different versions of LV and one of the features of the Pro version is 'Network Communication'.
I have done TCP/IP communication a while ago and I am quite sure it was with the Full version. I have the Pro version now but this is for a customer.
This brings another question: Is there a trick to be sure your code is going to work on a system with LV Base if you develop on a system with LV Pro?
Thanks!I think that was a good answer to your first question. To answer your second question, if you are creating executables to be run on a computer with LabVIEW Base there will be no problem running the executable because LabVIEW Base has the run time engine. If you are sending VIs to another computer with LabVIEW Base they will not be able to access any VIs that are not included in there package. There is no simple way to tell that these VIs are not included except through the link in the previous post. In LabVIEW 8.6 many of the help documents state what LabVIEW package installs the VI. If all of the VIs state that they are installed with LabVIEW Base you will have no problems.
Vince M
Applications Engineer -
Communication problem between NetBeans and Tomcat
hi!
i got a quite mysterious problem. here is what happens:
- i start NetBeans 5.5.1 (the first time)
- i want to debug my JSF-Project, the Debugger starts
- After a few seconds the debugger waits for tomcat (it sais: "Waiting for Tomcat...") and tomcat starts
- Again after a few seconds the tomcat-debugger-output sais "Tomcat startet in 3333 ms".
okay.
when i enter http://localhost:8084/ in my browser i get the tomcat homepage, so the server has definitely started! But nothing happens in NetBeans and nothing happens with my project....
In the lower-right corner i see this blue working-bar that sais "deploying project" but nothing happens. The Project-Debugger-Output still sais "Waiting for Tomcat..." but nothing happens...
And after something around 3 minutes (i guess it's a timeout) i get the error "Starting of Tomcat failed." But is HAS started, i can login to the Administration-Area in my browser!
so i guess there is a communication problem between netbeans an tomcat. Netbeans waits for a message from tomcat but tomcat doesn't send it..or netbeans doesn't understand it.
But the story goes on:
When i press the debug-button a second time it takes only a few seconds till i get the message: "Tomcat server port 8084 already in use". OF COURSE! Because Tomcat has already startet and can't be stoped by NetBeans.
i'm trying to solve this problem for 4 days now, so i would be very happy if anyone has an idea where to start/continue the search...
thanks,
flo.
some system-info:
- windows vista business 32-bit
- no firewall is running
- AntiVir Personal Edition IS running
- Yahoo Widgets Engine IS running
- no other software is running
and finally the tomcat-log:
Using CATALINA_BASE: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base
Using CATALINA_HOME: C:\Program Files\NetBeans\enterprise3\apache-tomcat-5.5.17
Using CATALINA_TMPDIR: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_12
Listening for transport dt_shmem at address: tomcat_shared_memory_id
21.09.2007 18:27:50 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_12\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\cvsnt;
21.09.2007 18:27:50 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
21.09.2007 18:27:50 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1862 ms
21.09.2007 18:27:50 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
21.09.2007 18:27:50 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
21.09.2007 18:27:50 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
21.09.2007 18:27:53 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
21.09.2007 18:27:54 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
21.09.2007 18:27:54 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=null
21.09.2007 18:27:54 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
21.09.2007 18:27:54 org.apache.catalina.startup.Catalina start
INFO: Server startup in 3626 msAs i wrote before, the same problem occured for me. I have found a solution which is : Go to tools menu and then select options . In the proxy info, select No Proxy.
I hope this help you -
Communication Problem with the second battery
Hello,
In Lenovo Solution Center it says that there is communiction problem with the second battery. I already had this problem some months ago, back then it didn't charge the second battery. I got a new one and it worked again. Now it says the same thing "communication problem", but i can charge the battery and I also can't find any other sign of something not working. But still- it seems weird that the program tells me something is wrong. Can somebody help me?
Thanks LinaHi, Lina
What is the machine type and model of your computer? Also, what operating system are you running?
Thanks in advance,
Adam
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution!" This will help the rest of the community with similar issues identify the verified solution and benefit from it. -
Communication problem with proxy server
We have establish the configuration of an iPad to access the enterprise net, but when trying to access any webpage we get the next message: Safari can not open the page. Error:"There is a communication problem with proxy web server (HTTP)"
The access has no problems with other movile devices.
Ahy help?Hi,
I am not sure whether you have already solved the problem or not....
Do the following to deploy MobileBIService.war file on tomcat
1.Stop Tomcat Web application server.
2.Copy the file, MobileBIService.war from [Install directory]\Mobile 14\Client to the Tomcat's "Webapps" directory.
In my case, I copied the MobileBIService.war from C:\Program Files (x86)\SAP BusinessObjects\Mobile14\Client to C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps. ( I used BO 4.0 SP02)
3. Start Tomcat.
Restarting Tomcat would automatically deploy war file as a Web App
One folder u201CMobileBiServiceu201D will appear in webapps folder when MobileBIService.war is deployed successfully.
Hope it helps.
Regards,
Ankur -
Communication problem the web server extension (WGATE) failed to receive a
Hi,
When a user tries to access his timesheet he get the below error:
<b>communication problem the web server extension (WGATE) failed to receive a response from the ITS web service</b>
Only ONE user is getting this error. If everyone get\s the same we can check on the ITS side, but if only ONE user is getting it.
Please help.
Regards,
PKHI ALL,
Thanks for your time. The issue got resolved however without cheking the logs itself. The problem was with the scripfile. All other users and all other scripts were working, except one. And it got recified.
Regards,
P. Kumaravel. -
COMMUNICATION PROBLEM WITH SCANNER TO COMPUTER OF DESKJET 3050 j610
WHEN i TRY TO SCAN USING MY DESKJET 3050 j610 A MESSAGE SHOWS 'COMMUNICATION PROBLEM NOT CONNECTED THEREFORE i AM NOT ABLE TO SCAN.
i HAVE BEEN TRYING TO RESOLVE THIS PROBLEM OVER 8 HOURS AND I' M GETTING SICK. I'VE TRIED EVERYTHING AVAILABLE ON THE SUPPORT PROGRAMS INCLUDING 'PAINT' AND NOTHING WORKS.
I NEED A ANSWER OR I;LL THROW THIS THING OUTI have the same problem here, i have two PC's both running Windows 7 but only one works printing and scanning wirelessly.
On the PC running Windows 7 32bit wireless printing and scanning works great.
On the PC running windows 7 64bit only wireless printing works. Havent found a solution, but just a work around. Here it is......
1. Got to you printer and hit the Wireless button to find the IP address your router gave it.
2. Open up your Internet browser and input the IP address.
and...BAM!!! if it worked it should take you to the Deskjet 3050 All-in-One J610a Embedded Web Server page and from there you can scan with what looks like all the original options if the thing was working to begin with and save to your PC. -
Communication Problem: E_ADEPT_REQUEST_EXPIRED
I keep getting this message :
Error getting License. License Server Communication Problem:
E_ADEPT_REQUEST_EXPIREDThe same problem. Origin is, I suppose, a changement of profile when I lost all my data and programs by a virus. Who can help us?
-
Hi, I think I have a communication problem between the servers in a cluster,
I attached a picture of the administration console where it seems that one
server in the cluster cant communicate with the other.
(one server is running on Windows and the other on Linux)
Any ideas to solve this problems?
Thanks
[console.jpg]
Using multicastTest I found that the messages that the windows machine
produces are lost. Nobody receives that messages.
I don't know what might be happening
cheers
"Campot" <[email protected]> escribió en el mensaje
news:[email protected]..
> Hi, I think I have a communication problem between the servers in a
cluster,
> I attached a picture of the administration console where it seems that one
> server in the cluster cant communicate with the other.
> (one server is running on Windows and the other on Linux)
>
> Any ideas to solve this problems?
> Thanks
>
>
>
-
Communication problem from the vpn-anyconnect to easy-vpn-remote
Hi Team,
I have a communication problem from the vpn-anyconnect to easy-vpn-remote, I´ll explain better bellow and see the attached
topology:
1) VPN Tunnel between HQ to Branch Office - That´s OK
2) VPN Tunnel between Client AnyConnect to HQ - That´s OK
The idea is that the Client Anyconnect is to reach the LAN at Branch Office, but did not reach.
The communication is stablished just when I start a session (icmp and/or rdp) from Branch Office to the Client AnyConnect,
in this way, the communication is OK, but just during a few minutes.
Could you help me?
Bellow the IOS version and configurations
ASA5505 Version 8.4(7)23 (headquarters)
ASA5505 Version 8.4(7)23 (Branch)
**************** Configuration Easy VPN Server (HQ) ****************
crypto dynamic-map DYNAMIC-MAP 5 set ikev1 transform-set ESP-AES-256-SHA
crypto map outside-link-2_map 1 ipsec-isakmp dynamic DYNAMIC-MAP
crypto map outside-link-2_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside-link-2_map interface outside-link-2
access-list ACL_EZVPN standard permit 10.0.0.0 255.255.255.0
access-list ACL_EZVPN standard permit 192.168.1.0 255.255.255.0
access-list ACL_EZVPN standard permit 192.168.50.0 255.255.255.0
access-list ACL_EZVPN standard permit 10.10.0.0 255.255.255.0
group-policy EZVPN_GP internal
group-policy EZVPN_GP attributes
split-tunnel-policy tunnelspecified
split-tunnel-network-list value ACL_EZVPN
nem enable
tunnel-group EZVPN_TG type remote-access
tunnel-group EZVPN_TG general-attributes
default-group-policy EZVPN_GP
tunnel-group EZVPN_TG ipsec-attributes
ikev1 pre-shared-key *****
object-group network Obj_VPN_anyconnect-local
network-object 192.168.1.0 255.255.255.0
network-object 192.168.15.0 255.255.255.0
object-group network Obj-VPN-anyconnect-remote
network-object 192.168.50.0 255.255.255.0
object-group network NAT_EZVPN_Source
network-object 192.168.1.0 255.255.255.0
network-object 10.10.0.0 255.255.255.0
object-group network NAT_EZVPN_Destination
network-object 10.0.0.0 255.255.255.0
nat (inside,outside-link-2) source static Obj_VPN_anyconnect-local Obj_VPN_anyconnect-local destination static Obj-VPN-
anyconnect-remote Obj-VPN-anyconnect-remote no-proxy-arp route-lookup
nat (inside,outside-link-2) source static NAT_EZVPN_Source NAT_EZVPN_Source destination static NAT_EZVPN_Destination
NAT_EZVPN_Destination no-proxy-arp route-lookup
nat (outside-link-2,outside-link-2) source static Obj-VPN-anyconnect-remote Obj-VPN-anyconnect-remote destination static
NAT_EZVPN_Destination NAT_EZVPN_Destination no-proxy-arp route-lookup
**************** Configuration VPN AnyConnect (HQ) ****************
webvpn
enable outside-link-2
default-idle-timeout 60
anyconnect-essentials
anyconnect image disk0:/anyconnect-win-2.5.2014-k9.pkg 1
anyconnect profiles Remote_Connection_for_TS_Users disk0:/remote_connection_for_ts_users.xml
anyconnect enable
tunnel-group-list enable
access-list split-tunnel standard permit 192.168.1.0 255.255.255.0
access-list split-tunnel standard permit 192.168.15.0 255.255.255.0
access-list split-tunnel standard permit 10.0.0.0 255.255.255.0
group-policy clientgroup internal
group-policy clientgroup attributes
wins-server none
dns-server value 192.168.1.41
vpn-tunnel-protocol ssl-client
split-tunnel-policy tunnelspecified
split-tunnel-network-list value split-tunnel
default-domain value ipconnection.com.br
webvpn
anyconnect keep-installer installed
anyconnect ssl rekey time 30
anyconnect ssl rekey method ssl
anyconnect profiles value Remote_Connection_for_TS_Users type user
anyconnect ask none default anyconnect
tunnel-group sslgroup type remote-access
tunnel-group sslgroup general-attributes
address-pool vpnpool
authentication-server-group DC03
default-group-policy clientgroup
tunnel-group sslgroup webvpn-attributes
group-alias IPConnection-vpn-anyconnect enable
object-group network Obj_VPN_anyconnect-local
network-object 192.168.1.0 255.255.255.0
network-object 192.168.15.0 255.255.255.0
object-group network Obj-VPN-anyconnect-remote
network-object 192.168.50.0 255.255.255.0
object-group network NAT_EZVPN_Source
network-object 192.168.1.0 255.255.255.0
network-object 10.10.0.0 255.255.255.0
object-group network NAT_EZVPN_Destination
network-object 10.0.0.0 255.255.255.0
nat (inside,outside-link-2) source static Obj_VPN_anyconnect-local Obj_VPN_anyconnect-local destination static Obj-VPN-
anyconnect-remote Obj-VPN-anyconnect-remote no-proxy-arp route-lookup
nat (inside,outside-link-2) source static NAT_EZVPN_Source NAT_EZVPN_Source destination static NAT_EZVPN_Destination
NAT_EZVPN_Destination no-proxy-arp route-lookup
nat (outside-link-2,outside-link-2) source static Obj-VPN-anyconnect-remote Obj-VPN-anyconnect-remote destination static
NAT_EZVPN_Destination NAT_EZVPN_Destination no-proxy-arp route-lookupHi,
the communication works when you send traffic from easyvpn branch side because it froms the IPSEC SA for local subnet and anyconnect HQ pool. The SA will only form when branch initiates the connection as this is dynamic peer connection to HQ ASA.
when there no SA between branch and HQ for this traffic, HQ ASA has no clue about where to send the traffic from anyconnect to branch network.
I hope it explains the cause.
Regards,
Abaji. -
Communication problem with printer when using Parallels
OK, apologies if this has been asked elsewhere but I've been trawling the forum for an hour and have yet to find the exact problem that I'm having!
First of all, I'm a recent convert to Mac (hurrah I hear you all cry), secondly, I've set up Parallels to deal with some PC left-overs, thirdly, I've tried to use my old Dell printer and realised Dell doesn't support Macs (or not my AIO 922 anyway).
So, I thought I'd get round this by installing the drivers for the printer on the Windows partition, which all went well until I actually tried to print something... although the printer is visible and 'on-line', I get the box informing me there's a communation problem with the printer and computer.
It's beginning to wind me up so any info/advice would be greatly appreciatedThis is either a Windows or a Parallels problem. For Parallels go to http://forum.parallels.com. For Windows go to the support forums at Microsoft.
There is no support for either product at these Discussions. -
Communication problem, deskjet 920c
I received a note for a repair to a communications problem for my printer. When I tried to download it, I got to a "dot4 scrubber" which stalled everything. I had to reboot my computer to get rid of the note.
Hi robincom2,
Thank you for joining the HP Support forums. I understand that you received a message about a communications issue with your printer.
I have included a document with the trouble shooting steps you need to take to resolve the issue. I know that you weren't installing the printer when you received the error, but it's the trouble shooting steps that are important. Please follow the instructions for Steps one and two, as the software is already installed you shouldn't need to follow Step three.
Software Installation Stops Without Warning and With No Error Message
Regards,
Happytohelp01
Please click on the Thumbs Up on the right to say “Thanks” for helping!
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
I work on behalf of HP
Maybe you are looking for
-
Issue in Deployment of SNP Planned orders
Hi Experts, I am trying to deploy SNP Planned orders and I have made relevant settings in SNP2 i.e. ATP category in ATD Receipt. When I run deployment, it creats deployment stock transfer (DEP: PReq / DEP:ConRl) based on available stock first. When I
-
Unable to set site master page and system master page separetly in SP 2013
hi, How to set site master page and system master page separetly in SP 2013,even setting different master pages through code or UI.Always only single custom master page is getting applied for both. Thanks & Regards, Krishna
-
Battery drains off quickly with micro SD card
Hi , My battery drains off quickly with micro SD card. This problem started a few days back when all of a sudden my micro SD card got corrupted while my cell was connected to laptop with the USB cord. It all of a sudden displayed message that ther
-
Can I use older brushes in AI CS5.1?
Hey all--There are scads of free brushes out there, but some of them are pretty old. Can I use brushes created for CS3 or CS4 (and CS5 and maybe as old as CS2) with AI CS5.1? Thanks. --d
-
Hi, I am using ADF not in the BC4J style. I am using ADF just for the UI for my existing project where I use POJOs to communicate with DB. I want to create a popup where I want to display some information on a Dialog such as say list of employees and