Overview
Demonstrates the simple TCP/IP VI’s for both Server and Client.
Description
Here is a brief description of the example:
The File Select Popup function has a Default Directory parameter, but to build the correct path you must first use the Get Current User function to retrieve the username of the user currently logged in and then build the path by using Append String.
This example points to the desktop of an XP machine. The path string can be modified to point to a different directory.
Requirements:
- LabVIEW 2013 (or compatible)
- NI RIO Device Driver 13.0 (or compatible)
- LabVIEW Real Time Module (or compatible)
Steps to Implement or Execute Code:
- Generate a directory path by retrieving the user name of the current logged in user
- Concatenate the rest of the path
- Set the path as the default directory for the File Select Popup function