02-21-2007 04:50 AM
03-07-2007 09:16 AM
03-08-2007 11:10 AM
05-19-2013 12:52 PM
Is that possible to re-use this program by changing to TCP/IP instead of DataSocket??
Hope you can help me out... Thank you. ><
05-19-2013 01:33 PM
Sorry, Im new to labview.
Can you please guide me on
1. How to Start the Datasocket-Server on one Computer??
2. Give "write-access" to the second computer in tht datasocket-server-manager for the item??
Your help is greatly appreaciate.
05-19-2013 08:17 PM
@Celest1111 wrote:
Is that possible to re-use this program by changing to TCP/IP instead of DataSocket??
Datasocket IS over TCP/IP, so I am not sure what you are asking here. Yes, in modern LabVIEW versions you might want to use e.g. network shared variables, for example. Have you tried?
(In any case, the above program is 6 years old, and suffers from overuse of local variables and sequence structures. Here's a rearchitected version (LV2012, no change in functionality) that uses slightly cleaner code.)
05-19-2013 10:37 PM
@altenbach wrote:
@Celest1111 wrote:
Is that possible to re-use this program by changing to TCP/IP instead of DataSocket??
Datasocket IS over TCP/IP, so I am not sure what you are asking here. Yes, in modern LabVIEW versions you might want to use e.g. network shared variables, for example. Have you tried?
(In any case, the above program is 6 years old, and suffers from overuse of local variables and sequence structures. Here's a rearchitected version (LV2012, no change in functionality) that uses slightly cleaner code.)
Thanks for reply my friend really appreciate that. But currently I'm using LabView 2010. Do you have any 2010 version?
Or can you please re-direct me to any place that discuss about simple LabView Chat??
05-20-2013 12:24 AM
I found tihs CHAT example based on LabVIew, in one of the russian (I think) forums (I can't remember where, it was long time ago). This may help litle bit.
05-20-2013 12:28 AM
Ahh, found it. I got it from LabView Portal. The site seems english, but alot of its forum topics seems to be in russian.
05-20-2013 03:49 AM - edited 05-20-2013 03:50 AM
@Celest1111 wrote:
Or can you please re-direct me to any place that discuss about simple LabView Chat??
What is the purpose of this execise? There are plenty of good chat programs available, so it seem silly to roll your own.
I can see a purpose as a learning tool, for example if you simply want to get more familiar with LabVIEW programming and network communications in general.
The LabVIEW help and NI.com resources are pretty good. So if you have a question abaout datasocket, You should be able to find plenty of resources. Where have you looked so far? Did you find something that needs more explanations?
Here's a LabVIEW 2010 version of my above code. Warning: it is a simple refacturing of the existing code and I have not tested it. It simply demonstrates how to eliminate all local variables, duplicate diagram constants and unneeded sequence structures, all without changing the functionality from the old original program posted on the top of the thread.