To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example demonstrates how to convert a 1D array of Booleans with any number of elements into a Digital Waveform.
Description
Here is a brief description of the example:
This example demonstrates how to convert a 1D array of Booleans with any number of elements into a Digital Waveform. By using a for loop it would be possible to modify the code to take a 2D array of Booleans and convert it into a 2D array of Digital Waveforms.
This is particularly useful for generating patterns to use with DAQmx Digital Outputs
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**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.