LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

incorrect reading when negative value

Solved!
Go to solution

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.

Message 11 of 14
(682 Views)

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...

Ivel R. | CLAD
0 Kudos
Message 12 of 14
(674 Views)

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?

Ivel R. | CLAD
0 Kudos
Message 13 of 14
(666 Views)

 


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. 😄

0 Kudos
Message 14 of 14
(657 Views)