Example Code

Open and save HWS to a spreadsheet file using LabVIEW

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

Overview

This example shows how open a HWS file, display waveforms and save waveforms to a spreadsheet file

 

Description

This example is based on NI-HWS low level API and shows how you can open a HWS file display this file on a waveform graph indicator and how to save waveform in a spreadsheet file ( .txt or .xls).

This example is designed to manage digital waveform but it needs just some modification to manage analog waveform.

 

Requirements

  • LabVIEW 2012 (or compatible)

 
Steps to Implement or Execute Code

1. Select HWS file
2. Select output file.
3. Run VI

 

Additional Information or References

VI Block Diagram

Open and save HWS to a spreadsheet file LV2012 NI verified.png 

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

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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