Example Code

How to convert a LabVIEW array to a .NET ArrayList

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 to convert a LabVIEW array to a .NET ArrayList so that it can be used in .NET Property and Invoke Nodes that require an ArrayList.


Description:

This example shows how to convert a LabVIEW array to a .NET ArrayList so that it can be used in .NET Property and Invoke Nodes that require an ArrayList. Could be used as a subVI.


Requirements: LabVIEW 2012 (or compatible). Hardware: none.


Steps to Implement or Execute Code:

1. Insert Array items.
2. Run the VI.


Additional Information or References:

 

How to convert a LabVIEW array to a .NET ArrayList FP.png

 

How to convert a LabVIEW array to a .NET ArrayList BD.png


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

 

Jared S.
Applications Engineering
National Instruments

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