06-21-2018 08:41 PM
Dear gredw and everyone,
Thanks. I did the timestamp conversion and splitting up the array into 3 parts.
Now i face the problem how to i get all the array to be plotted into one x-y graph with different colours. Can you advise me? The arrays (1,2,3 ) may be of different elements and sizes.
I have attached the codes. Can anyone guide me on this?
I am also wondering are there any plots that can show different colours based on data level threshold? IS there a much simpler plot (intensity map or others etc) that can do similar application?
Thank you so much!
06-22-2018 01:20 AM - edited 06-22-2018 01:21 AM
Hi Joven,
as said before: build plots from your sorted data, then create an array of plots:
Two notes:
- don't use local variables when you can use a wire. There are several race conditions in your code! (See those "1", "2", "3" arrays on the left in the image? No more locals of them!)
- you created a lot of duplicated code: you should design your algorithm on a sheet of paper BEFORE you start to code… (See those two loops in the image: they to the very same job! Why not work with arrays and autindexing loops? Or even use subVIs?)