LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert together for mass component(not array)

excuse me

 

If I build mass LED component(bool type) at LabView8.2

 

every LED component is alone , not array

 

but I want to do a convertion ( bool -> integer )

 

I only find the operation component for 1 V.S 1 , not for mass operation

 

I don't hope to coding mass line to achieve it.

 

 

How to achieve it? thanks

 

 

 

 

 

 

 

 

0 Kudos
Message 1 of 6
(2,983 Views)

When you say a mass component, that isn't an array, do you mean a "cluster" of booleans? If so, there is a function that takes a cluster of identical components and converts it to an array.

 

If not then you will have to be more specific about what is meant with "mass component"

 

cluster to array.PNG

Message Edited by LV_Pro on 03-30-2010 09:07 PM
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 6
(2,981 Views)

sorry , my question not clear

 

please check this attaching picture

未命名.PNG

I hava mass LED control component , I need to convert (bool to interger)

 

but I don't hope to plot mass line to achieve it

 

thanks !!

0 Kudos
Message 3 of 6
(2,948 Views)

Still not clear.  You have 6 LED controls.  Each is a boolean, on or off.  You have 6 numeric indicators.  Each will show a 1 or 0 depending on the boolean.  You need to have the boolean to number for each wire.

 

Or are you trying to combine 6 booleans into one numeric indicator?  If so, put the booleans in an array and use the boolean array to number to convert it.  (That is what Putnam shows.)

 

Or you can use the Build Array function to take the 6 individual boolean controls to build it into one array.

0 Kudos
Message 4 of 6
(2,941 Views)

thans for your responses

 

I already try success , pleas check attaching picture

 

2way to achieve it ^^

 

Have any process to achieve it easily? 

未命名.PNG

0 Kudos
Message 5 of 6
(2,935 Views)
Sure: you can wire the boolean array directly to the conversion node. The same could be done with the cluster, but you would obtain a cluster of integers as output.
Message Edited by pincpanter on 04-01-2010 02:04 PM
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 6 of 6
(2,921 Views)