02-12-2015 10:21 AM
I feel like this should be very simple, and I did a lot of searching and could not find an answer
In my program, I am retrieving channels and seeing if they are active or not. If they are active there is a boolean that lights up.
What I would like to do is display them together with one common scroll bar to quickly view and change them.
The only fix I have to this problem is to painstakingly match the front panel string size to the boolean size and then tell the front panel that if one side is scrolled then the other on should do the same (with a short delay). Getting the boolean and string to match up perfectly is very tedious.
Is there an easier way to do this?
-MK
Solved! Go to Solution.
02-12-2015 10:38 AM - edited 02-12-2015 10:39 AM
Array of cluster?:
02-12-2015 11:00 AM
Yes!
I can not figure out how to do that.
02-12-2015 11:04 AM
@MK17 wrote:
Yes!
I can not figure out how to do that.
1. create a cluster with string and boolean
2. place cluster into an array
02-12-2015 11:07 AM
Hi,
I record this video for u, I hope it is helpful for u.
Patrick
02-12-2015 11:11 AM
Patrick0418 wrote:I record this video for u, I hope it is helpful for u.
Your video has nothing to do with the question. It does not show how to create an array of clusters as requested.
02-12-2015 11:20 AM
@Patrick0418 wrote:
I record this video for u, I hope it is helpful for u.
u = ewe - a female sheep ?
or something else ?
02-13-2015 06:41 AM
Hi,
Sorry for the delay in dealing with the problem.
check this.
I hope this is helpful for you.
Patrick
02-13-2015 08:31 AM
Thank you everyone, I wasn't thinking correctly yesterday 🙂
My problem rooted from the fact that I had 2 arrays from a cluster that I was trying to merge into an array of clusters the wrong way. I didn't realize that I would have to "unpack" the 2 arrays into scalers and then place them into the correctly formatted cluster (that r3G pointed out and Patrick0418 illustrated) in order to make and array of the cluster.
I have added a small .VI with the corresponding .CTL. Maybe it will be helpful to someone else in the future.
-MK
02-13-2015 09:35 AM - edited 02-13-2015 09:41 AM
@MK17 wrote:
I have added a small .VI with the corresponding .CTL. Maybe it will be helpful to someone else in the future.
Your code seems way too complicated. Autoindexing would give you the same result.