06-26-2024 02:06 AM - edited 06-26-2024 02:07 AM
Hello,
as you can see, we are not able to help you if you don't explain clearly what you want to achieve. Still unclear:
Describe in detail the setting of your measurement.
Please help us letting help you.
06-26-2024 02:17 AM - edited 06-26-2024 02:18 AM
Hi Mehdi,
@MEHDI_LIS wrote:
Hi, thank you for the response. So i had the same problem as i said before, this creates one curve with one color when i click on button ( when i click on another button it creates one another curve with one color) but not differents sections with differents colors.
But you wrote:
@MEHDI_LIS wrote:
I'm going to control a pump, a heater, and a cooler using three buttons in the user interface. I also have a temperature sensor, and I want to show the three phases in a graph by coloring the curve. If the pump is activated, the curve should be colored yellow; if the heater is activated, the color should be red; and if the cooler is activated, the curve should be blue.
This will happen when you use my suggestion.
You control the buttons and according to your selection one of 3 plots is filled with new samples…
As has been said:
Write down your requirements - correctly, including ALL of them, without any contradictions…
06-26-2024 02:41 AM - edited 06-26-2024 02:42 AM
Sorry for my explanation. I'm going to control a pump, a heater, and a cooler using three buttons in the user interface, so the user can press the buttons randomly to demonstrate the function of the temperature sensor. I also have a temperature sensor for continuous measurement, and I want to show the three phases on a graph by coloring the curve. If the pump is activated, the curve should be colored yellow; if the heater is activated, the color should be red; and if the cooler is activated, the curve should be blue.
I have the same problem as I mentioned before: this setup creates one curve with one color when I click a button (when I click another button, it creates another curve with one color) but not different sections with different colors.
What I really want is to show the difference in the curve as in the picture below.
06-26-2024 03:11 AM - edited 06-26-2024 03:11 AM
Hi Mehdi,
@MEHDI_LIS wrote:
I have the same problem as I mentioned before: this setup creates one curve with one color when I click a button (when I click another button, it creates another curve with one color) but not different sections with different colors.
I don't understand your problem, I can easily use switches (or RadioButtons) to select "sections" of a curve:
06-26-2024 05:19 AM
Thank you all for your responses. I resolved my problem , the last program worked with me.