# LabVIEW

cancel
Showing results 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!!

Message 1 of 16
(1,693 Views)

## Re: How can i use numeric counter on a graph

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 LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
Message 2 of 16
(1,691 Views)

## Re: How can i use numeric counter on a graph

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!

Message 3 of 16
(1,659 Views)

## Re: How can i use numeric counter on a graph

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.

LabVIEW Champion. It all comes together in GCentral
What does "Engineering Redefined" mean??
Message 4 of 16
(1,647 Views)

## Re: How can i use numeric counter on a graph

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!

Message 5 of 16
(1,602 Views)

## Re: How can i use numeric counter on a graph

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.

LabVIEW Champion. It all comes together in GCentral
What does "Engineering Redefined" mean??
Message 6 of 16
(1,590 Views)

## Re: How can i use numeric counter on a graph

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.

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.

Message 7 of 16
(1,576 Views)

## Re: How can i use numeric counter on a graph

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

LabVIEW Champion. It all comes together in GCentral
What does "Engineering Redefined" mean??
Message 8 of 16
(1,572 Views)

## Re: How can i use numeric counter on a graph

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 .

Message 9 of 16
(1,568 Views)

## Re: How can i use numeric counter on a graph

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

LabVIEW Champion. It all comes together in GCentral
What does "Engineering Redefined" mean??
Message 10 of 16
(1,561 Views)