LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array from MAtlab

Solved!
Go to solution

Rishabh wrote:

Can we separately connect 10 LEDs to the respective indexes of the array formed??


Yes, you can!

But no loops, one standard vi will do! 

Give it a try and show us 🙂

 


Rishabh wrote:
Also, how did u manage to hide the index of the array  :smileysurprised: ???? 


Right-click the array then "Visible Items" then "Index Display"

That's all folks 🙂

Message 11 of 17
(1,093 Views)
You could also simply use a cluster of 10 LEDs, and then use the Array to Cluster function, configuring it for an output of 10. You can arrange the individual LEDs in the cluster however you want. This has the advantage of not requiring 10 separate indicators and the associated wiring. The value would be hard-coded, though, and cannot be changed at run-time.
Message 12 of 17
(1,088 Views)

Hi Alain,

 

Here is a modified version of the VI you gave. U like it??

0 Kudos
Message 13 of 17
(1,086 Views)

Or perhaps conder this one!!

 

A nicer and well arranged version  :manwink:

 

 

0 Kudos
Message 14 of 17
(1,077 Views)

Or perhaps conder this one!!

 

A nicer and well arranged version  :manwink:

 

 

0 Kudos
Message 15 of 17
(1,077 Views)

It doesn't matter if I like it or not, as long as it's functional Smiley Wink

 

If you don't mind about a border around your 10 led's you can consider smercurio's solution regarding the cluster.

Saves a lot of wiring as you can see in the nth version of this vi.

This proves again that a LV program is never finished Smiley Very Happy

0 Kudos
Message 16 of 17
(1,076 Views)

Alain S wrote: 

If you don't mind about a border around your 10 led's you can consider smercurio's solution regarding the cluster.


Just set the border's color to transparent. Smiley Wink

0 Kudos
Message 17 of 17
(1,062 Views)