LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

realtime graph of non-array scalar XY pairs

I am currently working with a VI that monitors temperature and I am trying
to feed XY pairs of time v. Temp to an XY graph. The problem seems to be
that the graph will only accept arrayed numbers and I want to input the
numbers realtime one pair at a time. Has anyone had any luck doing
something like this...it is not in any of the books that I have.
0 Kudos
Message 1 of 3
(1,035 Views)
Mitch-
Put the whole thing in a loop with a waveform chart inside the loop for
display. If you wire it to outside the loop it will automatically create an
array for it (e.g. for storage after the loop completed). Does that make
sense?
-David

Mitch wrote:
>
> I am currently working with a VI that monitors temperature and I am trying
> to feed XY pairs of time v. Temp to an XY graph. The problem seems to be
> that the graph will only accept arrayed numbers and I want to input the
> numbers realtime one pair at a time. Has anyone had any luck doing
> something like this...it is not in any of the books that I have.
0 Kudos
Message 2 of 3
(1,035 Views)
Highlighted
> I am currently working with a VI that monitors temperature and I am trying
> to feed XY pairs of time v. Temp to an XY graph. The problem seems to be
> that the graph will only accept arrayed numbers and I want to input the
> numbers realtime one pair at a time. Has anyone had any luck doing
> something like this...it is not in any of the books that I have.

There is an example in the general/graphs that shows how to do this.
It even includes a subVI that you will want to use.

Greg McKaskle
0 Kudos
Message 3 of 3
(1,035 Views)