09-17-2007 03:44 PM
09-19-2007
10:32 AM
- last edited on
08-22-2026
01:48 PM
by
Content Cleaner
Hi John,
It definitely seems as if you want to gauge user experience on this issue, but since you've had no response I'll chime in and give the "National Instruments view" on the DataSocket/Shared Variable debate.
Shared Variables were created to expand the functionality of DataSocket and simplify the programming style required to pass information between networked computers. We have extensive literature on this topic and the most pertinent is linked here.
I hope some users will post to this forum to give you a less formed response than you get from me, but I am more than willing to answer more specifically if you have any more questions regarding this issue.
09-19-2007 10:42 AM
The question is sorta like Which is better, TCP/IP or IP." One is just a subset of the other.
Shared variables are just another way to get at the datasocket data.
If your app is static and you just want to get it working, shared variables will work OK.
If you need to change the URL on the fly then go with data sockets. Attempting to do the same thing with shared variables can set your head "a-spinnin".
Ben