LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic select channel to populate legend

Solved!
Go to solution

Hello Ni,

                    i am acquiring 16 channels each channels has their own name,  when i double click on the graph the channel select.vi populated and it list the channel name. if i select the first 5 channel name or last 5 channel name or single channel name. the selected channel that should be populate in legend name.

 

i am facing the problem when i select the middle from any channels list its not showing the name, this same method i was done with labview 7.1 that was work well.

 

please find this attachment,  of my code

Regards,
Balaji DP
0 Kudos
Message 1 of 3
(2,474 Views)
For me the VI is working perfect without issues.
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 2 of 3
(2,454 Views)
Solution
Accepted by topic author Balaji_DP

Hi,

 

You are getting error or just a blank plot name while doing this operation.

 

One point i can observe here is:

 

1. The "name out" array which has the channel names must have indices referred by index out  array.  If the index referred by index out is not in Name out then blank string will be returned.

Kindly check out if this condition is met.

With regards,
JK
(Certified LabVIEW Developer)
Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
0 Kudos
Message 3 of 3
(2,453 Views)