From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

NI-HSDIO to NI-Digital Pattern Converter

Code and Documents

Attachment

Download All

Overview

This program was written to help users converting from the 6555/6 or other NI-HSDIO-supported instruments to instruments supported by the NI-Digital driver.

 

Description

 This code converts HWS, text, or binary files generated by the NI Digital Waveform Editor to .digipat and .digipatsrc files.  The .digipat files can be directly opened with the NI Digital Pattern Editor for debug and/or modification.  This converter also produces a .pinmap file and a .digitiming file, consisting of a single time set equal to your original waveform's sample rate with all pins defined as non-return.

 

Hardware and Software Requirements

  • LabVIEW 2016 (32-bit) or later
    • This code uses HWS and HDF5 libraries that are not compatible with 64-bit versions of LabVIEW
  • NI-HSDIO version compatible with your version of LabVIEW
  • NI-Digital version compatible with your version of LabVIEW
  • HDF5 library 
    • To install this, download and unzip the attached HDF5.zip file and place the unzipped folder in LabVIEW's user.lib folder

Steps to Implement or Execute Code

  1. Install all above required software
  2. Download, unzip, and run open the attached project
  3. Run Main.vi, and follow the prompts that print to the front panel

Unsupported Features

 As of this release, this converter does not support the following:

  • Converting patterns running at sample rates faster than 100 MHz on existing HSDIO instruments
  • Downsampling oversampled patterns
  • Compressing patterns with repeats, loops, or other op codes
  • Scripting
David R
Systems Engineer
National Instruments

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

Comments
Anand1993
Member
Member
on
Where can I get a LV2014 version of these above codes?
Enchips_Enchips
Member
Member
on

Could supply a LV2014 version code of this converter? Many thanks!

Contributors