LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Associate a description to the physical channels to be displayed on the graph and output file

Solved!
Go to solution

I would like to associate a descriptive name to each channel. I would like the save file and the graph to show the description of that channel as well as the name of the physical channel.

 

How can I make a graph that shows me the description of each channel on the legend (instead of or in addition to the name of the physical channel)?

 

Sorry but I can't do it being a newbie on Labview.

 

RobotC08_0-1627987269112.pngRobotC08_1-1627987299363.pngRobotC08_2-1627987339712.png

 

0 Kudos
Message 1 of 8
(1,013 Views)

How do i programmatically change plot legend names

 

Just wire your channel descriptor to Plot.Name

0 Kudos
Message 2 of 8
(995 Views)

Can I ask you How?

 

The goal is to uniquely provide a description (or similar) to each waveform. This description must then be parametrically recalled on the graph.

 

RobotC08_0-1627993689876.pngRobotC08_1-1627993721079.png

 

0 Kudos
Message 3 of 8
(991 Views)

It says in the link i provided.

 

Wire a Description string to Plot.Name with the ActPlot set to what you need (presumably for loop counter since you use it to name a scale)

0 Kudos
Message 4 of 8
(975 Views)

The VI is big and cointains many other types of AI. I can't come up with the robust solution. 😞 😞 😭

0 Kudos
Message 5 of 8
(965 Views)

This work could possibly also be done at the AIVoltage level, but I can't connect a multi array. Can you help me?

 

RobotC08_0-1628060048104.png

 

0 Kudos
Message 6 of 8
(909 Views)
Solution
Accepted by topic author RobotC08

You can use DAQmx Flatten Channel String when setting up multiple channels.

 

names.png RamonG_0-1628062727151.png

 

0 Kudos
Message 7 of 8
(904 Views)

Very good!!! thank you so much guys.

0 Kudos
Message 8 of 8
(900 Views)