07-22-2008 07:18 PM - edited 07-22-2008 07:18 PM
07-22-2008 08:12 PM
Whenever you want to display something, the value should be wired directly to the indicator. That's what indicators do... they display things.
There are a few tricks to updating a display without using a local variable. An easy one is to have a state machine that has an update all display case. You put the new values to a shift register which is later read in the "display" case. Same goes for clusters..
Local variables are nasty when the code grows... and code always grows.. So it is best to avoid them as much as possible.
R
07-22-2008 09:18 PM
07-24-2008 12:41 PM
Whenever you want to display something, the value should be wired directly to the indicator. That's what indicators do... they display things.
There are a few tricks to updating a display without using a local variable. An easy one is to have a state machine that has an update all display case. You put the new values to a shift register which is later read in the "display" case. Same goes for clusters..
Local variables are nasty when the code grows... and code always grows.. So it is best to avoid them as much as possible.
R
07-24-2008 12:47 PM
07-24-2008 01:25 PM
07-24-2008 01:33 PM - edited 07-24-2008 01:33 PM
07-24-2008 01:38 PM - edited 07-24-2008 01:40 PM
krispiekream wrote:
hi,i dont understand what you mean by the 1st action item. can you show me what you mean by not wiring up the indices and still get what i want? throughout my code it is wired that way. it could be wrong and it should be fix.
07-24-2008 01:47 PM
07-24-2008 01:51 PM - edited 07-24-2008 01:52 PM
krispiekream wrote:
"Why do you bundle to scan the strings then unbundle?"? can you show me what you mean by Use array subsets on the original array, convert to the numbers, and index out.