找回密码
 注册
LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 1333|回复: 5

Labview自带TCP通信的例程有点不解

[复制链接]
发表于 2006-8-1 01:04:50 | 显示全部楼层 |阅读模式
<img src="attachments/dvbbs/2006-7/20067311702483621.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2006-7/20067311702483621.jpg\');}" onmousewheel="return imgzoom(this);" alt="" /> 端口侦听成功后运行本框图,左边那个TCP读的节点是什么作用啊,我觉得好像其作用是可以随时中断client端的运行而不影响server端。但是不懂其原理,希望版主和高手指教一下。[em06]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2006-8-1 17:40:46 | 显示全部楼层
HI兄弟,您看看这个程序最下面的英文字母,这些Q是它这个程序定义的协议!它下面有注释的!
回复 顶

使用道具 举报

 楼主| 发表于 2006-8-1 17:46:48 | 显示全部楼层
<p>当然看过了</p><p>就是他的实现原理不大明白</p><p>Q只是个字符,约定其他字母也行的啊</p>
回复 顶

使用道具 举报

发表于 2006-8-1 18:29:19 | 显示全部楼层
HI兄弟,您可以到我们的下载区下载一个相关的TCP/IP的例子看看,那个是比较简单明了的,你看的现在这个内容节点多了一些,看简单的,可能更容易看明白!
回复 顶

使用道具 举报

 楼主| 发表于 2006-8-1 19:09:42 | 显示全部楼层
<p>我再研究研究</p><p>这个是比simple tcp的例子复杂了点,我觉得他主要的优点就是client端可以任意中断再连接,很方便,想研究一下这个</p><p>多谢回答</p>
回复 顶

使用道具 举报

 楼主| 发表于 2006-8-1 05:39:16 | 显示全部楼层
这是client端的框图当按下stop按钮,case里true运行,但我不明白Q的用法,写入2次,服务端如何识别Q呢? <img src="attachments/dvbbs/2006-7/200673121364157298.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2006-7/200673121364157298.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 顶

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2026-9-29 14:14 , Processed in 0.046071 second(s), 11 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表