08-03-2016 10:16 AM
Yes, now I do have that info but if I use a different file to display through this program and if I don't know how many channels it has then how can I extract this information? I used index array to figure out how many channels it has but I am not able to show it in ring menu.
08-03-2016 10:16 AM
That is absolutely correct. In the other example i provided how to select the channel based on an enum ring. youll need to change that to a text ring and use what udka has provided. Then also convert from dynamic data to a 2d array so that you can get the number of channels and youll probably want the names of the channel to write to the text ring, but up to you.
08-03-2016 10:26 AM
-What is your file format?
-Does it contain number of channels present?
-You mentioned somewhere 2d data, can you give sample of it?
-As you mentioned 6 channels, how you found it is 6 channels?
-One of the dimensions of your 2d array is 6?
08-03-2016 10:38 AM
Hey udka! My file is captured dat and yes it does have numbe of channels present in it. I found it is 6 channels by using index array through which I found that the dimensions is 6.
08-03-2016 10:41 AM
Matt are you talking about the example in post 3 or post 8. Also, once I get the number of channels how can use text ring to generate the names of channels. If I am not wrong, do you mean by using edit items option?
08-03-2016 10:46 AM
Yes i was referring to the example i posted in 8 and to change the values and names of the ring refer to udka's suggestion in post 10.
08-03-2016 10:52 AM
But in the example provided by udka the input to the property node is string array but I have a 2D array. So, what should I connect to 2D array so that I can get the number of channels info and show it in text ring menu?
08-03-2016 10:55 AM
Sure if you spend some time the links provided in here: http://forums.ni.com/t5/LabVIEW/Use-ring-to-select-different-channels-on-labview/m-p/3329139/highlig...
08-03-2016 10:59 AM
Well I spent some time looking at the tutorials but I was not able to find something similar to that. That's why i asked about it but I will spend some more time into it for sure now.
08-03-2016 11:06 AM
@studentgirl wrote:Well I spent some time looking at the tutorials but I was not able to find something similar to that. That's why i asked about it but I will spend some more time into it for sure now.
Yes it does.
"But in the example provided by udka the input to the property node is string array but I have a 2D array. So, what should I connect to 2D array so that I can get the number of channels info and show it in text ring menu?"
-If you carefully go through them there are some places you will get data types and arrays.
-After going through i am sure you will.