04-30-2009 02:31 AM
I am developing an application for a Dell AXIM X51 fitted with a Socket CF Rugged 10/100 ethernet card using Labview PDA module 8.5.
When I read the port using the UDP read vi, it reads for a while and then timesout with winsocket error code 10060 and never recovers.
If I rerun the application, it is unable to read the port again unless I remove the card and reinsert it and re-launch it.
However, the card is definitely receiving the packets as my PDA ethernet sniffer program verifies this, and this continues even if the application I have written bombs out.
I have included the simple UDP test vi I am using.
Does any one know have any ideas why it is doing this ?
Also, any other way of reading UDP port, maybe VISA ?
05-01-2009 09:40 AM
Good Morning Muzza,
I do not see anything wrong with your "IP Over Power.vi". Port 60000 should be available; it is not a reserved port.
My suggested steps for troubleshooting are as follows:
1. Though you may have already, re-build your program and re download it to the PDA. Test if this works. If not...
2. Create a duplicate VI, this time using TCP VIs instead of UDP VIs. You will also need to create a new host program. This will test if this is a problem specific to UDP or a more general LabVIEW / PDA / network issue.
What are you using as the host application which sends the UDP packets?
05-02-2009 05:59 AM
05-04-2009 01:36 AM
Got my application going with UDP VIs.
Apparently, Microsoft Activesync which is used sync between the PC and PDA uses the PCs TCP/IP stack to create a psuedo network address to comunicate with the PDA via the USB. For some reason, Labview could not cope with two network addresses, even if I tell it which IP address to use, hence the timeout.
To solve the problem, only use Activesync to download the application to the PDA and then disconnect it if you want to run the application.
Regards
Muzza
05-04-2009 08:32 AM
Good Morning Muzza,
Thank you for the update and posting your resolution. I'm glad you were able to get your PDA UDP issue resolved.