05-26-2013 02:35 AM
hi!
i have a problem. how to implement this code in l.v?
r1= 1 2 3
4 5 6
r1( : = 1
4
2
5
3
6
how can it possible in l.v?
thnx
05-26-2013 06:23 AM - edited 05-26-2013 06:28 AM
Hi Fairy55,
this question has already been posed AND answeared completely in this reply:
https://forums.ni.com/t5/LabVIEW/if-condition/m-p/2438320#M750306
you can do all of this with functions from the array palette, like this:
If this was not the answear to your problem, you are supposed to reformulate your question; don't copy&paste exactly the same text again!
Alex
05-26-2013 10:27 AM
thnx Alex 🙂
05-26-2013 10:51 AM
hey Alex!
it is the result what i want but is it possible to get 1 d array of concatenated columns instead of a 2 d???
05-26-2013 02:17 PM
indeed, very much possible.
don't wire the constant which I called columns* !
05-26-2013 02:30 PM - edited 05-26-2013 03:19 PM
@alexderjuengere wrote:
indeed, very much possible.
don't wire the constant which I called columns* !
... or slightly more elegant:
(works equally well for arrays with 2 or more dimensions without any other changes! :))
05-26-2013 05:32 PM - edited 05-26-2013 05:42 PM
@altenbach wrote:
@alexderjuengere wrote:
indeed, very much possible.
don't wire the constant which I called columns* !
... or slightly more elegant:
(works equally well for arrays with 2 or more dimensions without any other changes! :))
once again
how could I've been that blind?!
I like this forum!