03-30-2010 07:47 PM
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
03-30-2010 08:03 PM - edited 03-30-2010 08:07 PM
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"
03-31-2010 07:42 PM
sorry , my question not clear
please check this attaching picture
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 !!
03-31-2010 10:10 PM
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.
04-01-2010 01:22 AM
thans for your responses
I already try success , pleas check attaching picture
2way to achieve it ^^
Have any process to achieve it easily?
04-01-2010 07:03 AM - edited 04-01-2010 07:04 AM