08-10-2010 09:11 AM
I'm having a lot of difficulty transfering data from my sbRIO9632 to my computer via TCP. I've written up as thorough an explanation (with pictures!) as I could and attached it as a pdf. The long and short, however are:
I used exercise 15 from this site:
http://zone.ni.com/devzone/cda/tut/p/id/7783
I modified it slightly to work with my sbRIO but it is very unhappy with ports and network addresses. I'm sure the problem is just setting related, but I don't know which settings to mess with. Thank you so much for the help! Be sure to check out the attached pdf and let me know if you'd like any more information.
08-11-2010 02:54 AM
08-11-2010 01:54 PM
Ok, here's what I changed:
1) From the receiver VI I clicked tools -> options -> VI Server: Configuration and then changed the port to 3363.
2) I right clicked my sbRIO in the project tree and clicked properties -> VI Server: Configuration and enabled the port (3363).
3) I ran my main VI (has the FIFO write block)
4) Ran receiver (port 5280)
5) Ran sender (port 5280, same IP as sbRIO)
6) I received error 63 (in the attached pic).
Steps to take from here?
08-12-2010 03:17 PM
Hi Snively,
Which VI are you running first? The receiver VI, should run first if possible, and then the sender. Try this and see if it produces the same problem.
Also, did you try running the example without modification? If not, try that if you still see the problem.
08-12-2010 03:44 PM
jareds-
I've been running the receiver VI first each time.
I tried running the example just by itself (using simulated FPGA I/O since the sbRIO in the example isn't the one I'm using) and I get a whole new set of issues that I couldn't fix (pic attached, it highlighted the initialization block when I clicked "Show Error" but I couldn't find any obvious mistakes).
Thank you so much for your help, I know this is solvable somehow!
08-13-2010 09:06 AM
Hi,
you are acquiring data on the sbRIO. You want to send this data to your PC. So the sbRIO is the sender and your PC is the receiver. TCP/IP listener should be running on PC, sender on sbRIO.
But
@Snively wrote:
5) Ran sender (port 5280, same IP as sbRIO)
the sender process should point to the IP of your PC, the listener. Not to the IP of the sbRIO.
Try the following:
- Start ypur receiver on your PC
- Open a windows command prompt on another PC in your local network
- type "telnet <IP of your PC> 5280
This should open a TCP/IP connection to your receiver on the given port. If it doesn't work you may have some network related problems like an activated firewall. If it works you should be able to connect from your sbRIO sender, too.