10-11-2015 11:33 AM
Hi Knight of NI,
I tried array before, but I don't know how to change the array pattern, i.e. reverse boolean flashing direction, change from vertical to horizontal, change the quantity of boolean (8, 16, 32, 64...), because this vi is copy from example site, I try to use this template apply to my mini project.
I considered one by one LED put on front panel are more flexible than array, as I known it's simple than array function but so stupid.
Pl kindly give me comment for my thinking is feasible or not.
Thanks for your time to help.
10-11-2015 11:37 AM
Hi Jeff,
Thanks for your help,
I can't found function of your template from function windows, because I'm new in LabVIEW, could you send your vi for my follow to put it in my block diagram?
Thanks a lot.
10-11-2015 11:45 AM
10-11-2015 11:46 AM - edited 10-11-2015 12:11 PM
@ikchan wrote:
Hi Jeff,
Thanks for your help,
I can't found function of your template from function windows, because I'm new in LabVIEW
, could you send your vi for my follow to put it in my block diagram?
Thanks a lot.
see this link {Edit: Corrected Link to Screencast}
and reposted in LabVIEW 2012 as a snippet
10-11-2015 12:54 PM
10-14-2015 01:03 AM
Hi altenbach,
I attached my idea of mini project which is I mentioned what wanted to do before.
could you please to advise comment on this structure, I known its so lengthy and can be simply by other function.
Many thanks.
10-14-2015 01:33 AM
You are kidding, right?
10-14-2015 01:37 AM
Sorry waste your time!
10-14-2015 01:53 AM - edited 10-14-2015 10:53 AM
No, you wasted your time! How long did it take you to do that? What would the code look like if you want to add a few more LED wires in the future? It is not scalable! How long would it take you to find the problem if one local variable is wired wrong?
Still, this is way too much code and you should strongly conside using arrays as already advised.
10-14-2015 06:57 AM
Here's another way, which requires even less code by putting the indicators in a cluster:
Each column in the array is for an indicator and each row is a step in time. The code just iterates over them and so adding more indicators is just a matter of adding columns to the array. It also shows you how things change over time.