UDP Send and Receive with Remote Host Only Issue
I am seeing an issue using the UDP Sender and UDP Receiver example VIs that ship with LabVIEW. If I open the VIs and do not change any of the settings and run the UDP Receiver VI and then the UDP Sender VI the Receiver VI never reads anything. However if I change the boolean on the UDP Sender VI to broadcast it works fine.
The example program by default uses localhost so I have also tried to use the UDP Receiver on my Real Time controller and the UDP Sender on my laptop with the boolean set to remote host only and the remote host string set to the ip address of my real time controller and this did not work either. But if I change the boolean to broadcast it works.
I would like to be able to send to a remote host only and not have to broadcast my UDP message to everyone.
Please let me know if you have any suggestions.
Thanks,
Russell
Engineering Team Leader
G Systems, www.gsystems.com
Certified LabVIEW Architect
Certified Professional Instructor
Elizabeth,
Thank you for the response. I am using LV 8.2.1 and wasn't seeing any errors.
However I am not seeing the issue today, I must have been an issue with our network yesterday.
Thank you,
Russell
Engineering Team Leader
G Systems, www.gsystems.com
Certified LabVIEW Architect
Certified Professional Instructor
Similar Messages
-
I have a new iPhone 6 plus and all is OK. But the mail shows more than 400 'unread' messages whereas there are none in the mailbox or trash or anywhere else I have looked. I can send and receive with no problem. I'm sure I have no unread messages.
jsavage9621,
It pains me to hear about your experience with the Home Phone Connect. This device usually works seamlessly and is a great alternative to a landline phone. It sounds like we've done our fair share of work on your account here. I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you. I look forward to speaking with you.
TrevorC_VZW
Follow us on Twitter @VZWSupport -
Continuous data send and receive with unknown source
When I connect my ipad to the lightning cable, no matter if it is connected to PC or it is going to be charged, if the wifi is on, it will start sending and receiving data continuously and with a high speed.
I want to stop this thing from happening because it nearly consumed all of my internet account
What is the reason?>
>
Did you download from
http://java.sun.com/products/javacomm/
If so, there is an example in
commapi\samples\SerialDemo
but this only sends characters back and forth.
You will have to create a design to handle the send
and recieve. What will the data be?
Will you transmit files? Maybe you need to create
something like XMODEM.
Will you transmit media streams? Maybe you should look
at JTAPI
http://java.sun.com/products/jtapi/
(which is only a definition, or a real reference
implementation like:
http://gjtapi.sourceforge.net/
==================================================================I'm sending information from a client for a credit verification, This information is sent in a variable, and then the modem receives a file with the results. -
UDP Sender and Receiver.
Hi! I want to know if it is possible to convert the file UDPSender.java into a method that can be called by clicking a button? I slightly modified the UDPReceiver.java for it to be listening indefinitely and UDPSender.java I found on the net. And I created a what is supposedly my main file called Button.java.
What I want to do is that for this Button.java which only has a button when clicked is supposed to do a UDPSender. But I have no idea how to do it. Hope someone can answer this.
====================================================================================================================
====================================================================================================================
The code below is for UDPReceiver.java
====================================================================================================================
====================================================================================================================
* @(#)UDPReceiver.java
* @author
* @version 1.00 2008/10/19
import java.net.*;
import java.util.*;
import java.io.*;
public class UDPReceiver {
* Creates a new instance of <code>UDPReceiver</code>.
public UDPReceiver() {
* @param args the command line arguments
public static void main(String args[]){
try{
//Bound to socket 7 for receive
DatagramSocket socket = new DatagramSocket(7);
System.out.println("Bound to local port " +socket.getLocalPort());
while(true){
//Create packet of 512 byte length
DatagramPacket packet = new DatagramPacket(new byte[512], 512);
socket.receive(packet);
System.out.println("Packet received at " +new Date());
//Display packet information
InetAddress remote_addr = packet.getAddress();
System.out.println("Sender: " +remote_addr.getHostAddress());
System.out.println("from Port: " +packet.getPort());
//Display packet contents, by reading from byte array
ByteArrayInputStream bin = new ByteArrayInputStream(packet.getData());
//Display only up to the length of the original UDP packet
for(int i=0; i<packet.getLength(); i++){
int data = bin.read();
if(data==-1)
break;
else
System.out.println((char)data);
catch (IOException e) {
System.out.println ("Error - " + e);
}====================================================================================================================
====================================================================================================================
This code is for UDPSender.java
====================================================================================================================
====================================================================================================================
* @(#)UDPSender.java
* @author
* @version 1.00 2008/10/19
import java.net.*;
import java.util.*;
import java.io.*;
public class UDPSender {
* Creates a new instance of <code>UDPSender</code>.
public UDPSender() {
* @param args the command line arguments
public static void main(String args[]){
//Set hostname and message
String hostname = "localhost";
String message = "Hello";
try{
//Create a datagram socket and look for the first available port
DatagramSocket socket = new DatagramSocket();
System.out.println("Using local port: " +socket.getLocalPort());
ByteArrayOutputStream bOut = new ByteArrayOutputStream();
PrintStream pOut = new PrintStream(bOut);
pOut.print(message);
//Convert printstream to byte array
byte[] bArray = bOut.toByteArray();
//Create a datagram packet containing a maximum buffer of 512 bytes
DatagramPacket packet = new DatagramPacket(bArray, bArray.length);
System.out.println("Looking for hostname " +hostname);
//Get the InetAddress object
InetAddress remote_addr = InetAddress.getByName(hostname);
//Check host IP
System.out.println("Hostname has IP address = " +remote_addr.getHostAddress());
//Configure DatagramPacket
packet.setAddress(remote_addr);
packet.setPort(7);
//Send packet
socket.send(packet);
System.out.println("Packet sent at " +new Date());
//Display packet information
System.out.println("Sent by: " +remote_addr.getHostAddress());
System.out.println("Send from: " +packet.getPort());
catch (UnknownHostException ue){
System.out.println("Unknown host "+hostname);
catch (IOException e) {
System.out.println ("Error - " + e);
}====================================================================================================================
====================================================================================================================
This is supposedly my main class file:
====================================================================================================================
====================================================================================================================
* @(#)Button.java
* @author
* @version 1.00 2008/10/16
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.applet.Applet.*;
public class Button extends JApplet implements ActionListener{
public static void main(String[] args){
JFrame frame = new JFrame();
frame.setVisible(true);
JPanel panel = new JPanel();
JButton button = new JButton("send text");
panel.add(button);
frame.add(panel);
frame.pack();
public void actionPerformed(ActionEvent evt) {
//Button.EchoClient();
}Edited by: Eastsheen on Oct 20, 2008 12:33 AMYou could call UDPSender.main(new String[0])
-
I am confused about messaging. Shouldn't I be able to send and receive messages with cellular data off and without wifi? I can send the message but often do not receive messages from others, iPhone or other, until I turn on cellular or wifi.
Depends on the type of Message.
SMS messages will send and receive with data off. and while you can guarantee you send using SMS you cannot guarantee that whoever replies to you does also. They may be replying thorugh iMessage if they are using iPhones.
However Android should be sending through SMS.
You can turn off iMessage if you want to, though people with limtied SMS text messaging in their plans may not appreciate it, and stop messaging you. -
Why won't my number highlight in the send and receive when using iMessage and FaceTime
My imessage and facetime turned off and won't turn back on and in my send and receive section it will only highlight my email not my phone number
Hello Torijada,
After reviewing your post, it sounds like you linked the phone number to iMessage and iMessage wont turn on. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage - Apple Support
The telephone number will be dimmed when you view these settings on an iPhone.
If you get an error when trying to activate iMessage or FaceTime - Apple Support
Thanks for using Apple Support Communities.
Have a nice day,
Mario -
Help me out
You can't change the phone number for send and receive with iMessage on an iPhone.
You can add or remove email addresses for send and receive with iMessage on an iPhone, but not the cell phone number. -
Cannot send and receive text messages
(1) My 4S cannot send text message using SMS/MMS, have to use iMessage. Without WiFi signal, I cannot even receive incoming text messages, unless I have to turn on Cellular Data all the time.
(2) I cannot send picture message using SMS/MMS, have to use iMessage.FrankAtCommunit wrote:
Verizon rep fixed the text message problem.
Here is the 2nd question.
If there is no WiFi available and Cellular Data is OFF, I cannot send picture using SMS/MMS with iPhone 4S. SMS/MMS works for me to send picture message when I use basic phone.
You need the Cellular Data ON to send MMS messages. SMS messages should be able send and receive with out the cellular data on. -
Hi i use iphone 4 with iso 6.1.3!! Am not getting an option to register my phone number in imsg!! Am just getting an option to set my email address for sending and receiving the imsgs!! How do i register my phone number??
Hello Nikkii,
Thanks for using Apple Support Communities.
For more information on this, take a look at:
iOS: Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/ts4268
Troubleshooting telephone-number activation (iPhone only)
After each step, toggle FaceTime and iMessage off and then on in Settings > Messages and Settings > FaceTime.
Update to the latest version of iOS.
Ensure that your iPhone is set to the correct time zone. Tap Settings > General > Date & Time.
Note: If Set Automatically is on but the incorrect time zone is displayed, turn Set Automatically off and then choose the correct time zone, date, and time. Then turn Set Automatically on again.
Ensure that FaceTime has not been restricted: Settings > General > Restrictions > FaceTime.
Verify that you can send SMS messages. You need a valid SMS messaging plan to activate FaceTime.
Contact your carrier to verify that there are no restrictions or blocks on text messages. Blocks on text messaging will prevent iMessage and FaceTime registration.
If you are unable to activate iMessage or FaceTime on a device after remote wiping it, wait at least 24 hours and try again.
If "Waiting for Activation" is displayed, leave FaceTime and iMessage enabled for 24 hours. Toggling FaceTime or iMessage off and on will cause the registration process to start over.
Best of luck,
Mario -
I have recently bought a new domain which is hosted so that I can send and receive e-mails
I have recently bought a new domain which is hosted so that I can send and receive e-mails & run a webpage. It has POP3 and SMTP settings that I can use to send and receive my e-mails via Outlook on my PC. However, it doesn't work on my iPad. I have changed port settings and appear to be able to send but each time I start the Mail application my iPad reports "username or password incorrect" even though these correctly work on my PC. MS Outlook Exchange 2010 Live Mail works OK with the same settings on my iPad but I would like to get all my mail via the iPad inbuilt application.
Can anyone help?POP3 accounts are really designed only to be used from one computer and some email providers actually 'lock' the account while in use to stop it being used by another computer/device at the same time.
Try closing Outlook, wait some minutes then try accessing it from the iPad. You may find it works once the POP3 connection has been released.
Ideally, you should be using IMAP because POP3 is old and not suitable for modern, multi-device usage. -
Hello Guys! I hope someone could help me, Im having trouble with my phone's signal, I am not able to send and receive msgs, same as make calls and receive calls. At first, my phone is working fine (iphone 4, iOS 7.0.4) and all of a sudden, my text messages are not getting through, and I noticed that my phone shows NO SERVICE, I refreshed the phone by turning it off and turning it on after a couple of minutes, it worked. My phone is okay again after that, Im able to send and receive messages again. But after few hours, the problem came again. NO SERVICE sign is displayed again, but this time after refreshing the phone nothing good happened. I tried almost every possible thing I can to fix it but it doesn't work. What should I do.
Thank youHey Clara,
These are the recommended troubleshooting steps to resolve No Service issues on iPhone:
Toggle airplane mode: Tap Settings > Enable Airplane Mode, wait five seconds, then turn off airplane mode.
Turn iPhone off and then on again.
Remove the SIM card and verify that it's a valid, carrier-manufactured SIM. Also verify that it isn't damaged, worn, or modified. Then reinsert it.
Check for a carrier-settings update. Connect to a Wi-Fi network. Then tap Settings > General > About. If an update is available, iOS will ask you if you want to install it. If Wi-Fi isn't available, connect your device to iTunes.
Update your iPhone to the latest version of iOS.
Reset network settings by tapping Settings > General > Reset > Reset Network Settings. This will reset all network settings, including Bluetooth pairing records, Wi-Fi passwords, VPN, and APN settings.
Restore the iPhone.
If you are outside the United States, please also follow these steps:
Go to Settings > Carrier > Automatic.
If the phone registers any carrier network, Settings > Carrier will be present.
If the Carrier option is missing in Settings and you are outside of the Unites States, please contact Apple for support and service options.
Set the option for Automatic to off.
A list of potentially available carriers appears after about two minutes. If the device is locked to a carrier, it may connect only to the carrier network to which it is locked. If the device displays carrier networks, then the device is working as expected.
Set Settings > Carrier > Automatic back to on.
If you're still experiencing No Service issues, contact your carrier to check for any network or account issues that could cause these symptoms.
from: iPhone: Troubleshooting No Service
http://support.apple.com/kb/TS4429
Welcome to Apple Support Communities!
Take care,
Delgadoh -
Hi there,
I am looking for step by step instrcutions on how to configure SFTP Codeplex adapter for both receive and send ports.
Out business partner with whom we push/poll the files from wants us to use SSH encryption/decryption etc.
Just wondering if the following functionality is supported in Codeplex SFTP adatper without having to write any code.
Appreciate if there is manaul to do this for SFTP. BTW I do have all the our public and private keys and business partners Public key for configuring.
For Send port: 1. we would need to encrypt the file with our business partners public key
2. sign the file with our private key.
3. Send the file through to SSH client which eventually transfers to Remote server.
Receive port: 1. Connect to SSH Server with SSH-2 key and receive the file
2. Verify the file's digital signature agaisnt the Business partners PGP public key
3. Decrypt the file using our PGP Public key
Thanks in advanceYes it is supported.
You can find its documentation in this link
You can find section X.509 Certificate Identity Keys
You can set public and private key in property SSH Identity thumbprint of send and receive port
I prefer to test it using client tool like
FileZilla or WinSCP then test it using sftp adapter
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer -
I am getting a "not delivered" when I try to send a photo from my Ipad or iPhone via iMessage. I can receive photos in iMessage and I can send and receive photos other than with iMessage. I have tried restoring factory settings etc but no luck. Is anyone else having this problem please?
I've been having this problem too, but here's the catch: originally it was only with my dad, and only sometimes. Now it's dad and husband, every time! Pix go through, via imessage, to everyone else, and they go through to dad/husband if I "send as text" after it fails.
And the other annoying thing- the blue bar will run all the way, and it will say "delivered". So I close out of imessage. When I reopen it again, the "delivered" has changed to "not delivered" with the red exclamation point. I just googled "imessage not sending photos" and founds TONS of people with the same problem, but no solutions. (I have rebooted phone, reset network settings, with no luck. I even had to backup/delete/restore my whole phone the other day for a different reason, and hoped that would fix it, but now it won't send to my dad OR my husband (who is on not just the same carrier, but the same family plan as me) -
Windows live mail will only send and receive on my...
Hi there, windows live mail will only send and receive on my sub account but not my default account
Regards
Mike,
Solved!
Go to Solution.MIKETANGO wrote:
No initial please an old age pensioner at this end
What is WLM? Windows Live Mail
Outgoing port 465 does not work only 110 works You need to change the Ports and security settings to those that I posted or your signing into BTMail servers will not be accepted. See the link below.
incoming port 995 does not work only 25 works As above
when I use BT Yahoo both accounts work okay
When I use Windows live mail (which I prefer to use) only second account works but not main account (default account)does not work????
I have checked out all the other criteria you say.
I have spent the last 2 weeks with Windows live mail and they say everthing is okay at there end and should resolve this problem with you???
Have a read through this link and the part about Windows Live Mail and how to change it for BTMail.
http://bt.custhelp.com/app/answers/detail/a_id/47531/kw/setting%20up%20windows%20live%20mail/c/346,6... -
it only allows an imap4 account, this has now stopped pop 3 sending and receiving on iphone 4s, what do i do?
its a personal ipad, its my wifes actually.. bought it last week. i have managed to finally add it as a pop server... wasnt giving the option to choose imap or pop just automatically ? Emails now seem to be incoming again however the issue is sending an email.... all settings are correct for a blueyonder email account, it shows in sent items but not received at the recipients end..
I know its an issue with the SMTP settings on the ipad and iphone as sending it from online mail works fine... very strange? any advice
Maybe you are looking for
-
helppp
-
Hello! Is there anyway instead of the light gray color of the paths, can we make it another color so its seen better? Especially using the pen tool and the quick selection tool, thanks!
-
PDF Output generates invalid Thai output
PDF Output with English characters From Oracle Reports 6i is generated properly. We are facing problems while generating PDF OutPut with Thai characters . The Reports builder shows proper Thai Character, but when we generate to PDF file the output sh
-
Oracle Financials for India - Local Chart of Account
Hi, We have to implement Oracle Financials for India, I know that the calendar is from APR-MAR, but my question is: Is it needed to report the statutory books in a local Chart of Accounts or we can use our corporate ones based in US GAAP. Thanks and
-
Flash CS3 import Video playback appears half black
Hello everybody, I hope you could help me. This problem occurs when a file becomes. wmv to .swf, using Adobe Flash CS3 import video feature. (Windows 7 Professional x64) At the end is a video (codec On2's VP6.2) which appears a black band at the top