Example Code

LabVIEW UDP Example: I'm Done

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

Overview

The example is based on UDP protocol, and simulating the circumstances that teachers would like a way for students to signal when they are done with an exercise, and displays the results for the teacher to see.

 

Description

The server runs on the teacher's computer, receives the "I'm Done" requests from the clients, and displays the results for the teacher to see,The client runs on each student's computer and sends the "I'm Done" request when the user directs it to

 

Requirements

  • LabVIEW 2012( (or compatible)


Steps to Implement or Execute Code

Server:

  1. Run the VI on the teacher's computer,
  2. Click button "Clear" to clear the list

Client:

  1. Run the VI on Client Computer
  2. Enter your name
  3. Click button "I'm Done! " to submit your request to server

 

 

 **This document has been updated to meet the current required format for the NI Code Exchange.** 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors