From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Good_Times

Implement full support for fixed-size arrays in Labview/LabviewRT

Status: New

It is many times easiest to work with data in the form of an array.  Also helpful in many situations to use arrays inside of clusters.  This is a problem when working with functions that require a data type to be a fixed size since they don't accept the combination.  I'm asking for full support for fixed-size arrays in Labview and LabviewRT.

 

See example problems attached.  Also open to other ideas as long as they are similarly elegant and easy to use.  Also please correct me if I haven't shown the simplest workarounds, etc.

 

Thanks

 

(also possible this is a bug but seems to be a missing feature)

3 Comments
Good_Times
Member

Whoops.  Forgot about using a simple type cast.  That simplifies much of the problem but still involves extra coding.  Still seems easier to use fixed size arrays.  And they would be useful for type enforcement, etc.

 

Simpler workaround.png

Intaris
Proven Zealot

I would actually add the ability to define fixed length strings to this argument.

GregFreeman
Trusted Enthusiast

I'd like if on RT you could just define a fixed size array, the same way you can for FPGA. This would elemenate the need for the extra "number of elements" terminal when creating the FIFO (which I always forget to wire up the first time around).