09-11-2014 07:44 AM
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.
09-11-2014 09:23 AM
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?
09-11-2014 09:38 AM
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
09-11-2014 09:40 AM
09-11-2014 09:47 AM
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.
09-11-2014 09:48 AM - edited 09-11-2014 09:54 AM
@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!)