LabWindows/CVI User Group Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Call Multidimentional Double Array from .NET Assembly in CVI

Overview

This example is designed to demonstrate the ability to pass multidimensional double arrays between .NET and CVI

Description

The .NET project located in DoubleClass Library contains and code for a multidimensional double array.

The CVI project AssemblyCaller.prj has a .NET Function Panel built from the .NET DoubleClass Library that exposes the .NET methods. The CVI project creates and modifies a multidimensional array of doubles passing values to the .NET assembly.

Steps to Implement or Execute Code

  1. Download and extract all files
  2. Open "AssemblyCaller.prj"
  3. To run code, click "Run" button
  4. After the program starts, notice the values from CVI match the .NET values

Requirements

Software

CVI 2012 or later

Visual Studio 2010 or later (or .NET 4.0 installed and only have access to CVI side)

Contributors