|
Re: Variables PC and CRio
If you choose to do your own TCP programming, it is best not to think of it as variables. TCP is a mechanism for sending data from one computer program to another. It is in fact the protocol that SmartDashboard variables are built upon.
To reiterate Mark's advice. I'd start with SmartDashboard variables. You need to make sure that the SD server is running and that the client knows the server address it is supposed to connect to. Name the variables the same on both sides and pick your datatype.
Once you are successful, if you want to learn more, you can either drill into the SD implementation or open other TCP examples. LV ships with a number of client server examples. Then you can try your own implementation if you like.
Greg McKaskle
|