freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

機械外文翻譯文獻翻譯--使用labview中的tcpip和udp協(xié)議-其他專業(yè)-資料下載頁

2025-01-19 06:13本頁面

【導讀】互聯(lián)網(wǎng)絡協(xié)議,用戶數(shù)據(jù)報協(xié)議和傳輸控制協(xié)議是網(wǎng)絡通信的基本的工具。單獨的網(wǎng)絡會被大的地理距離分。在大多數(shù)計算機上是可用的,它能在多樣化的系統(tǒng)中間傳送信息。你能在所有平臺上的LabVIEW中使用TCP/IP。建立客戶端或者服務器程序的功能。在組成部分里的IP數(shù)據(jù)包稱為數(shù)據(jù)報。包含表明來源和目的地地址的數(shù)據(jù)和報頭字。的目的地的數(shù)據(jù)報確定正確的路徑。IP協(xié)議并不能保證發(fā)送。事實上,如果數(shù)據(jù)報在傳輸中被復制,IP可能多次傳送一個單獨。UDP在計算機進程中提供簡單而低層次的通信。據(jù)報到達目的地計算機后,UDP把數(shù)據(jù)報移動到其目的端口。應用程序的UDP的可靠性不強。地而丟失少量的數(shù)據(jù)是肯定的。同時打開的UDP端口的數(shù)量仍依賴于。一個命令所指定的數(shù)據(jù)報字節(jié)。據(jù)廣播,所有客戶端必須加入一個多路廣播組。絡適當?shù)乇粯嫵桑琇abVIEW沒有要求附加的設置。TCP是一個以連接為基礎的協(xié)議,這意味著站點必須在傳送數(shù)據(jù)之前建立一種連接。用TCP關閉連接功能區(qū)關閉遠程連接。

  

【正文】 en VI at any time. When you establish a connection, use the TCP Read function and the TCP Write function to read and write data to the remote application. Use the TCP Close Connection function to close the connection to the remote application. If unread data remains and the connection closes, you might lose data. Use a higher level protocol for your puter to determine when to close the connection. After a connection is closed, you cannot read from it or write to it again. 169。 National Instruments Corporation 3 Application Note 160 機械專業(yè)中英文文獻翻譯 11 Deciding between TCP and UDP TCP is the best protocol to use if you want reliable data transmission. UDP is a connectionless protocol with higher performance, but it does not ensure reliable data transmission. 機械專業(yè)中英文文獻翻譯 第 12 頁 共 12 頁 Creating a TCP Client Note Refer to the LabVIEW Help for the most recent version of these instructions and details for each of the functions. Complete the following steps to create a TCP client using the TCP functions. 1. Use the TCP Open Connection function to open a connection to a server. You must specify the Inter address of the server and the port for the server. The address identifies a puter on the work. The remote port identifies a munication channel on the puter that the server uses to listen for munication requests. When you create a TCP server, you specify the port that you want the server to use for munication. 2. Use the TCP Write function to send a message to a server. 3. Use the TCP Read function to read a message from the server. You must specify the number of bytes you want to read. 4. Use the TCP Close Connection function to close the connection to the server. Refer to the Simple Data Client VI in the labview\examples\m\ for an example of a TCP client. Timeouts and Errors When you design a work application, consider carefully what should happen if something fails. For example, if the server crashes, determine how each client VI handles it. One solution is to make sure that each client VI has a timeout. If something fails to produce results after a certain amount of time, the client continues execution. In continuing, the client can try to reestablish the connection or report the error. If necessary, the client VI can shut down the application. Creating a TCP Server Note Refer to the LabVIEW Help for the most recent version of these instructions and details for each of the functions. Complete the following steps to create a TCP server using the TCP functions. 1. Use the TCP Listen VI to wait for a connection. You must specify the port. This port must be the same port that the client attempts to access. 2. If a connection is established, use the TCP Read function to read from that port to retrieve a message. 3. Use the TCP Write function to return results. The data must be in a form that the client can accept. 4. Use the TCP Close Connection function to close the connection. Refer to the Simple Data Server VI in the labview\examples\m\ for an example of a TCP server. TCP and UDP Examples Refer to the labview\examples\m\ and the labview\examples\m\ for examples of using the TCP and UDP VIs and functions.
點擊復制文檔內(nèi)容
高考資料相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1