12-18-2012 03:08 PM
When I create a channel for data (numeric indicator) it carries along with it a name for the value. So for example if i am reading 8 temps, I name them temp #1, temp #2, etc. How can I have those names carry through into the plot legend? Thyey only show up as plot 0, plot 1, etc.
Does it matter if it is a chart or graph?
12-18-2012 03:18 PM
What is the datatype of your data? (Waveforms, arrays, dynamic, etc.))
Open the graph properties and see if you have "do no use waveform names for plot names" checked (plot tab).
If this does not help, show us your code. You can always write the plot names using property nodes.
12-18-2012 03:52 PM
I attached the program. It will not run but hopefully you can open it up. V 8.6 I believe. Basically, if I configure a channel through the DAQ assistant, I would like to name it in ONE place, and be able to display it with an indicator and a chart all from that one name. I would also like to use that same name to put a header in a text file. So one name, used in 3 places.....
That way if something changes, I do not need to change it in 3 places.
12-18-2012 04:14 PM
What makes you assume that some scalar indicator label information would flow upstream and somehow end up as plot labels?
All you need to do is write the desired plot names once at the start of the program, e.g. as in the attached modification.
You currently have duplicate control labels, so that's something you should fix.
Sorry, I don't have DAQmx installed, so I cannot help with the assitant. Still, maybe the attached can give you some ideas....