04-22-2009 08:31 AM
04-28-2009 07:29 AM
Hi
Sorry for a late answer. I have some questions regarding your problems:
- what port are you setting? If it's "0" try choosing a different value
- did you try UDP connection? Does it work?
- check if you have c-style functions enabled in Build Specifications. If yes - disable them
- have you checked if there's no error coming from Create Listener?
Let me know and I'll try to find the solution.
04-29-2009 04:57 AM
04-29-2009 08:51 AM
Hi
UDP is another Transport Layer protocol (next to TCP), the main difference is that it doesn't support handshaking. There are VIs similar to TCP ones to run UDP. You should be able to use the built-in LabVIEW example (not ARM-specific) without any big changes.
Let us know what is the error you are getting in your program (use indicator on the error or a probe.
The TCP example shipped with LV should work without any problems. Make also sure that you are using the example which is for your processor - there are two similar ones in example finder, both for different processors.
If it's not a problem, you can also attach your code here.
04-30-2009 06:08 AM
04-30-2009 06:55 AM
Hi
Unfortunatelly, we have only one board of ARM in our office, do I can't reporduce the problem now. I think you should be able to attach a VI (or a zip file) using the "Add Attachements" button below. If you fail, my address is:
Maciej (dot) Antonik @ni (dot) com, where (dot) means "."
In the meantime you can try using one of your ARM boards as a server and a PC as a slave.
PS. This Friday is a national holiday, so I'll be out of office.
05-04-2009 10:08 AM
Hi
I have received your application. As said before, I am currently not able to reproduce the error because of lack of a second board, but I do have another idea, what could be causing the problems.Give us some details on how have you connected both boards? Are they connected directly with a ethernet cable, or using a hub/switch?
When building such an application, you need
to add two separate targets to your project and deploy VIs on both. So
both boards should be connected using a switch/hub to the same network
as your PC. In build specifications see if they have different host
names and IP addreses (if not using DHCP). Let us know if there's
something you are doing otherwise.
PS. Is it ok if I attach your project here?
05-05-2009 01:47 AM
05-05-2009 01:57 AM
Hi
For the record I'm attaching your second project. I will come back to you as soon as I have an answer.
05-05-2009 02:29 AM
Hi
I look through your project and have a couple more questions/requests:
1/ For the testing purposes try to make your project as basic as possible. Remove the bottom loops and variables and send only simple data input from a control. I know that this is not a problem of those loops, but it makes troubleshooting easier.
2/ I see that DNS servers are not configured in your build specifications. Try filling in the correct DNS address for your network.
Now, to make sure I have a clear view of the situation, please perform the following tests and let me know the results:
a/ Establish a connection between ARM-Client and PC-Server.
b/ Establish a connection between ARM-Server and PC-Client.
c/ Establish a connection between ARM-Server and ARM-Client (here we know it doesn't work, so just let me know if the errors are the same as above).
I will talk with our ARM experts and will need all this information in order to find the answer.