I am running a while loop that takes a reading from an external analog channel. I want to plot this reading on a graph each time the loop runs. I thought this would be a simple matter but this doesn't seem to be the case. I've tried several methods without success, a few being:
- my reading (double) into "to dynamic data" control to a graph
- my reading into an "build array" control wired to a shift register on the While loop. I was unable to find a graph that would accept the data.
- bundle an the array from above with an array that contain a count of the loops, errors about mismatched data types or graphs that still wouldn't show the data.
Is there some method to take a scalar reading and get it into a graph?