09-20-2010 03:58 AM - edited 09-20-2010 03:59 AM
OK, simplify and eliminate all that duplicate code! Use scalars instead of arrays with 1 element!
Here's an example.
(It would be even easier to use arrays of four elements for the controls and indicators. This also helps to keep the number of connectors reasonable.
09-20-2010 04:08 AM
whoaw.. just before the time i am planning to ask you about the For loop, you'd already done it!. a zillion thanks..! i have many subvi's to be modified (rather simplified). haha. thanks again, i learned a lot...
09-20-2010 05:38 AM
hi again altenbach,
just want to know this typecast function: how does the type cast already done my decimate+join function before.? what if i have a hi, midlle, & lo word? can i still used this typecast? what will be my "input type" in the typecast function?
09-20-2010 10:54 AM
ivel wrote:just want to know this typecast function: how does the type cast already done my decimate+join function before.? what if i have a hi, midlle, & lo word? can i still used this typecast? what will be my "input type" in the typecast function?
You might want to read my post about typecast.
"High,middle,low" will probably not work well, because there is no scalar datatype with a length of 3 words, but it will work with almost anything else you throw at it. 😄