LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use ring to select different channels on labview

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.

0 Kudos
Message 11 of 21
(1,519 Views)

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.



-Matt
0 Kudos
Message 12 of 21
(1,519 Views)

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

Thanks
uday
0 Kudos
Message 13 of 21
(1,516 Views)

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. 

0 Kudos
Message 14 of 21
(1,510 Views)

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?

0 Kudos
Message 15 of 21
(1,506 Views)

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.



-Matt
0 Kudos
Message 16 of 21
(1,498 Views)

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?

0 Kudos
Message 17 of 21
(1,491 Views)

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

Thanks
uday
Message 18 of 21
(1,486 Views)

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.

0 Kudos
Message 19 of 21
(1,479 Views)

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

Thanks
uday
0 Kudos
Message 20 of 21
(1,473 Views)