Showing results for 
Search instead for 
Did you mean: 

Allow Rotate 1D Array in SCTL with constant n


If n is constant, it should be a wiring operation and it shouldn't require multiple itterations so it should be allowed in a SCTL.

0 Kudos
Message 1 of 8

I just noticed I posted this in the wrong forum. Mods, can you move this to FPGA?

0 Kudos
Message 2 of 8

Use the Option link next to your message and Report to Moderator to request that it be moved.


I'd also suggest that you add some more detail to your post.  Perhaps even an image as to what you are talking about.  It would go a long way in clarifying what you are talking about and in selling your idea to entice people to kudo it.

0 Kudos
Message 3 of 8

That's good feedback RavensFan. To clarify, currently, if you use rotate 1D array in a single cycle timed loop, you get an error like this:


rotate array.PNG


I don't think there's any fundamental reason why that shouldn't be allowed. It was probably disallowed incase someone wired a control into the n terminal at the top.


0 Kudos
Message 4 of 8

It is probably because rotating an array is computationally expensive, and might not be guarenteed to execute in the given time.

Jon D
Certified LabVIEW Developer.
0 Kudos
Message 5 of 8

Mythilt, in an FPGA (which is what this idea is actually for) a rotate with a constant for the number of elements to rotate should be nothing more than a routing issue.  No computations needed.  Admittedly, it probably is because of the non-constant rotations that it is not allowed inside of a SCTL.

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 6 of 8


It should be equivalent to something like this which is a pure wiring operation and is allowedrotate with array.PNG

0 Kudos
Message 7 of 8

Interesting, I did not know that FPGAs handled arrays that much differently.  Have to do some reading on that.  Makes sense due to the limitations of their embedded nature.

Jon D
Certified LabVIEW Developer.
0 Kudos
Message 8 of 8