Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

array function in measurement studio

do we have array functions (as available in Labview reference labview\examples\general\arrays.llb ) in Measurement  studio.

We have arrayopeartion class in  namespace analysis.math but there threshold1D and interleave1d functions are not available as in labview reference.

 

can anyone direct to find ( or have used ) these functions in Measurement studio.

 

 

Regards,

Manvendra

0 Kudos
Message 1 of 2
(3,320 Views)

An array is a data structure in C# similar to one in C, Pascal or other text based languages. The code is normally something like:

 

ByteList byte[];

 

This is a declaration of an array of bytes. This is only a declaration and does not yet assign memory space or array size yet.

 

ByteList = new byte[4];

This code created an array of four bytes. Since this is a built-in type there there is no need for a constructor here. Look at the MSDN documentation. Atomic types like double or float, char, int, long ints and such are native types as with C. Strings are a composite type and requires a constructor if you want to use an array or a list.

 

If you are looking for a type that behaves the same way as the arrays in LabVIEW the fact seems to be that LabVIEW arrays are sort of unique to the development system is how they are created and manipulated if not in their overall fuction within the LabVIEW development universe.

 

There are a few things like string.Split(';') that splits an array of strings into an array of strings such as this case where the ';' character is used as the delimiter between individual array elements. This is a member of the string class.

 

Good luck,

 

Bob

0 Kudos
Message 2 of 2
(3,188 Views)