cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

legend on graph

hai,
 
there are 40 thermocouple inputs to my labview via agilent data logger. i have selection radio button to select and view particular input channels. the selection of channels will change time to time. at this moment, i am using graph legend to identify the channels which is very hard. is that possible to display the channel input name along the graph. here i have attached code for view.
 
siva5577
0 Kudos
Mensagem 1 de 8
3.758Exibições

I have always disliked the LV graph legend and often make my own versions for projects.  This is very easy if you use event driven (handle the events of the new legend structure like value change) and pass the changes to alter the graph's property nodes.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Mensagem 2 de 8
3.744Exibições

paul

 

Could show me an example please

 

siva5577

 

0 Kudos
Mensagem 3 de 8
3.741Exibições

Here is a very crude example:

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Mensagem 4 de 8
3.734Exibições
HI! Paul,
How did you created the cluster for Channel names? It copies the contents automatically , although I don't see it set as typedef.
 
Thanks,
SW
0 Kudos
Mensagem 5 de 8
3.726Exibições
They are grouped.Língua do Smiley
0 Kudos
Mensagem 6 de 8
3.715Exibições
Yes I grouped them and used transparancies simply as a method of controling their looks.  It is an array of clusters, where the cluster provides the channel attributes name, visible and color.  I did not use a typedef only because this is a crude proof of concept example and I didnt want to heve to include any subvis or support files.  I would howerer suggest using typedefs probably one for the array called ledgend and another for the channel cluster (possible a strict typedef to allow for simple passing of changes in the look of the ledgend).
 
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Mensagem 7 de 8
3.705Exibições
Thanks Paul!
0 Kudos
Mensagem 8 de 8
3.681Exibições