LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Create a generic list in .NET wrapper

I have an issue that is similar to this one.

I use a device driver written in .NEW.

I've already created the .NET Controller (wrapper) and I'm able to use a lot of the functions from the wrapper.

Some of tjhe functions have a parameter that is a generic list with a special data type (System_Collections_Generic_List_T1).

I don't know how to create a list of this type.

 

In the thread I linked at the beginning of this topic I see that a function called

System_Collections_Generic_List_T1__Create_2( ...)

is referenced, but I don't find this function, neither in the driver .h file, nor in the mscorlib .h file.

 

Where is that function?

 

(I use CVI 2015 SP1)

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 1 of 2
(116 Views)

In the thread I linked at the beginning of this topic I see that a function called

System_Collections_Generic_List_T1__Create_2( ...)

is referenced, but I don't find this function, neither in the driver .h file, nor in the mscorlib .h file.

I mean, I don't find it in the mscorlib (.h - .c - .fp) available in the supplied CVI samples/dotnet folder.

Should I use mscorlib2 (.h - .c - .fp) in the same folder?

Or should I generate a mscorlib4 wrapper by myself?

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 2 of 2
(67 Views)