From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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.
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.
> 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.