09-02-2019 01:39 PM
I want the height info in z axis so that all three points can be plotted, and there will not be larger changes in coords as all points will be near to each other so there wont be a memory problem.
09-02-2019 01:49 PM
@Anjaney wrote:
I want the height info in z axis so that all three points can be plotted, and there will not be larger changes in coords as all points will be near to each other so there wont be a memory problem.
Memory use depends on the number of points, not on their relative distance.
09-02-2019 02:02 PM
There wont be many points sir there will only be max to max 3 points only
09-04-2019 12:53 AM
Sir, can you please help in telling that will stem plotting will help me in this case.
09-04-2019 07:26 PM
I am not familiar with the term "stem plotting". Please explain.
09-04-2019 11:26 PM
Sir this is the VI please have a look,
why the points aren't getting plotted, kindly please help.
09-05-2019 07:32 AM
Well, your string handling and array handling is all wrong. You are only plotting 1 point, over and over and over again.
Get rid of the VISA stuff because it isn't doing anything and the Serial Configure does not belong in the while loop. Also using Bytes at Port is wrong 99% of the time.
See attached modification.
09-05-2019 09:01 AM
Thank you @RavensFan for your support in helping me out am still learning lab view,
and sir can you please give me a hint on how to plot negative axis in the same graph.
09-05-2019 10:33 AM
If you only plot three points, you can use a FOR loop and process at the end. (top code)
If you want to continuously add more points as they arrive, a single shift register is all you need. (bottom code).
If new points arrive continuously, but you only want to show the last three points, initialize the shift register with a 3x3 array of NAN and replace the oldest row whenever a new point is received (not shown).
09-05-2019 11:11 AM
Thank you Dr. Altenbach for support, helps me alot. 😄