LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i use numeric counter on a graph


altenbach escreveu:

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


Good morning altenbach,

 

I attached my code and two images of my front panel.

Can you analyze it for me?

 

Problem with graph:

 

How it looks now:

Y axis : Temperature

X axis: 16 Inputs (16 Thermocouples)

 

What I want:

1 INPUT (1 Thermocouple)

Y axis: Temperature

X axis: Time

 

Thanks for your patience.

Download All
0 Kudos
Message 11 of 16
(271 Views)

You need to tell us how the data is arranged.

 

I assumed that each "scanned variable read" is 16 consecutive time points of a single TC. If the data is arrange differently in the concatenated array, you need to document that in detail. I don't have your instrument!

 

Where is this running on? LabVIEW RT?


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 12 of 16
(259 Views)

altenbach escreveu:

You need to tell us how the data is arranged.

 

I assumed that each "scanned variable read" is 16 consecutive time points of a single TC. If the data is arrange differently in the concatenated array, you need to document that in detail. I don't have your instrument!

 

Where is this running on? LabVIEW RT?


Yes, im running LabVIEW RT.

Im using a Compact RIO and i have 7 slots(9211) attached to CPU of Compact RIO.

Each slot has 16 inputs, so i can put 16 thermocouples per slot.

So, I have 112 thermocouples (112 inputs).

I want to see on graph the state of 1 thermocouple.

 

The graph needs to show me : Temperature X Time



0 Kudos
Message 13 of 16
(256 Views)

Hi Guiliano,

 

as recommended in message#2: collect your data in an array and use IndexArray to select the specific TC data.

 

But: Why do you have a graph on a cRIO RT target? Doesn't sound right to me…

Best regards,
GerdW


using LV2020 on Win8.1+cRIO
0 Kudos
Message 14 of 16
(252 Views)

GerdW escreveu:

Hi Guiliano,

 

as recommended in message#2: collect your data in an array and use IndexArray to select the specific TC data.

 

But: Why do you have a graph on a cRIO RT target? Doesn't sound right to me…


I tried, but the graph is still showing me 16 entries.
I just want one.
Could you take my .vi that I've attached above and explain how it would be?

I need to observe the changes of the thermocouples in real time, thats why I need the graph.

0 Kudos
Message 15 of 16
(248 Views)

@Giuliano06 wrote:
So, I have 112 thermocouples (112 inputs).

I want to see on graph the state of 1 thermocouple.

 

The graph needs to show me : Temperature X Time


 

Well how are we supposed to know that????

 

If you want to chart temperature of the selected tc vs time, you need a chart. To pick the TC, you need index array.

 

See attached. (of course you still need to set dt according to your loop rate, etc.)

 

(and please clean up your ealerier array operations according to my previous example. Less code!)

 

 


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 16 of 16
(246 Views)