LabVIEW POWER Programming

Chapter 10: Networking with TCP/IP

Chapter 10: Networking with TCP/IP
Brad Hedstrom
Advanced Measurements, Inc.
Overview
Transmission Control Protocol/Internet Protocol (TCP/IP) is an open network protocol standard that allows different computers and operating systems to communicate. Although until a few years ago TCP/IP was relatively unknown outside of the Unix world (government and educational institutions), since the foundation of the Internet and the World Wide Web it is now nearly a household word. All viable operating systems support it, including all operating systems upon which LabVIEW runs. Thus TCP/IP is the only networking protocol that will allow LabVIEW running on different platforms to communicate. It allows communication over the Internet and intranets.
The LabVIEW Model of TCP
The TCP/IP implementation in LabVIEW is quite clean and fairly easy to understand. There are five main VIs required in using TCP/IP in LabVIEW. These VIs can be broken down into two groups: those that deal with managing the connection and those that deal with moving data. For reference, see the LabVIEW Communications VI Reference Manual or the LabVIEW on-line help system.
Connection VIs
Three VIs manage the TCP/IP connection: TCP Listen, TCP Open Connection, and TCP Close Connection . (There are two additional connection VIs, but we?ll leave them for later.) These allow the development of servers and clients . For this discussion, we use the client/server model where the server ?listens? for requests for data and supplies this data when requested. Conversely, client VIs request or ?open? connections to servers and receive...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Protocol Stack Software
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.