10-16-2012 10:41 PM
I am working on a project that reads data from a com port and graphs the data. For one set of data, I need to check to see if the data is above/below a threshold. I would like the color for the data that is in between the upper and lower thresholds to be a certain color, and the data that is above or below to be to be a different color than the safe range. I have figured out how to get either the above or below to work but not at the same time. Here is an example vi that depicts what I have done so far but is simplified to the extent you do not need to receive any data. Any help on this would be appreciated.
10-17-2012 02:57 AM - edited 10-17-2012 03:05 AM
I add some code to your solution using the same principle (adding NAN-lines) 😉
How many colors you want? Just add thresholds in the array 🙂
Still room for improvements 😉
look, there are gaps between the lines, and the -10 should be -INF 😉
10-17-2012 08:29 PM
Thank you for your input. What you did helped me to understand what I needed to do. I knew it was something simple, just had some trouble getting it done.