Example Code

Copying Embedded Data Logger Components Programmatically

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
  • Veristand

Code and Documents

Attachment

Overview

Using the NI VeriStand System Definition .NET API, it is possible to copy existing log files and channel groups within or across instances of the Embedded Data Logger custom device. This capability is not currently built into the existing system explorer capabilities, so the user must manually create and configure each instance of a channel group and log file independently.

 

Description

There are three examples which demonstrate the use of the attached Embedded Data Logger System Definition Library.

 

Copy Embedded Data Logger Channel Group

The Example - Copy Embedded Data Logger Channel Group.vi allows you to copy a specific group within a log file.

 

channelgroup.png

 

Copy Embedded Data Logger Log File

The Example - Copy Embedded Data Logger Log File.vi allows you to copy a specific log file within an Embedded Data Logger instance.

 

logfile.png

 

Copy Embedded Data Logger All

The Example - Copy Embedded Data Logger All.vi allows you to copy a specific log file and channel group within an Embedded Data Logger instance. This VI provides a better UI to the user.

 

copyallfp.png

 

 

Requirements

Software

  • LabVIEW 2012 or compatible (will require compilation)
  • VeriStand 2012 or compatible (will require compilation)

 

Hardware

  • N/A

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

 

 

 

 

 

National Instruments
Senior Systems Engineer

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