LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i use numeric counter on a graph

Hey guys,i need some help.

 

I have 113 inputs and want to put a numeric counter to choose which input i want to see on graph.

 

Can i do it?!

 

Thank you all!!

0 Kudos
Message 1 of 16
(3,098 Views)

Hi Giuliano,

 

welcome to the forum!

 

You should put your 113 inputs into an array. Then all you need is IndexArray with an index input (your "numeric counter")…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 16
(3,096 Views)

Hi GerdW!!

Thanks for you attention!!

Im begginer in LabVIEW yet and i can't solve my problem.

I pick one part of my program  and attached here.

Can you explain me how can i put an indexArray into my ReplaceArray?

My front paniel is attached here too.

 

**Is this the best graph for this situation?

 

 

Thank you again!

Download All
0 Kudos
Message 3 of 16
(3,064 Views)

You have an array with the 7 different channels appended at 16 points each. Simply get the array subset based on the desired trace. Here's a simplified example.

 

You can make the control a ring with the items named accirding to the channel names.

 

Message 4 of 16
(3,052 Views)

altenbach escreveu:

You have an array with the 7 different channels appended at 16 points each. Simply get the array subset based on the desired trace. Here's a simplified example.

 

You can make the control a ring with the items named accirding to the channel names.

 


Hi altenbach, thanks for the answer.

 

I tried this way and it doesn't work.

Now i have 16 points of  temperature in one graph.

I want 1 point of temperatue on graph.

 

Example: I select point 7 and show me on graph just this point.

 

Is this possible?

 

Sorry, im begginer! 



0 Kudos
Message 5 of 16
(3,007 Views)

If you want to show one point on a graph, you need to make sure that you use a plot style with point symbols. If you use a line graph, plots won't sow if there is only a single point. Lines need at least two points.

 

Please attach your latest version for more detailed help.

Message 6 of 16
(2,995 Views)

altenbach escreveu:

If you want to show one point on a graph, you need to make sure that you use a plot style with point symbols. If you use a line graph, plots won't sow if there is only a single point. Lines need at least two points.

 

Please attach your latest version for more detailed help.


The way you spoke really worked, but the chart is showing 16 inputs for each channel.
What I would like is to show one ipunt only,  so I could view it on the chart.
I'm working with thermocouples, then it would be great if I could view these 113 entries separately in the chart.

 

Example: I want to see Input 65, so i change my numeric counter to 65, then i can see input 65 in the chart.

0 Kudos
Message 7 of 16
(2,981 Views)
(Posting by phone, cannot look at code).
A chart is very different compared to a graph. What do you actually use?
Message 8 of 16
(2,977 Views)

 


altenbach escreveu:
(Posting by phone, cannot look at code).
A chart is very different compared to a graph. What do you actually use?

Graph.

 

I want one graph that i can choose which input i want to see.

 

So i will see one Graph with Temperature(one input) X Time .



0 Kudos
Message 9 of 16
(2,973 Views)

Please attach your latest code. Your terminology is not precise enough (chart vs. graph, counter vs. control, etc)

0 Kudos
Message 10 of 16
(2,966 Views)