Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How can I use a TouchComboBox to pick what curves to show
PostPosted: Fri Mar 06, 2020 7:00 am 

Joined: Fri Mar 06, 2020 5:51 am
Posts: 2

Offline
Hey I have been trying to make a trend that is functional for my project now for a few days.

Basically I want to make something like the trend viewer legend but the trend viewer legend isn't functional for me because I have a lot of curves.

what I want to do is to have something like the touch combo box with a scroll and search so that I can pick what curve to show.

having around 7-8 of this boxes would be great
each box with a specific color, lets say box 1 is red so no matter what tag I took on it the curve for that tag would be red.

also have to be able to show the full history of the tag when swapping tags.
and I also have to be able to set the boxes to nothing if I want to look at lets say 2 curves

I will add a example image of what I am trying to make. (in this image it is just text no function)

dose anyone know how to make this happen?
Help would be very appreciated :D


Attachments:
Ix Developer example.PNG
Ix Developer example.PNG [ 43.41 KiB | Viewed 90 times ]
 Profile  
 
 Post subject: Re: How can I use a TouchComboBox to pick what curves to sho
PostPosted: Tue Mar 10, 2020 7:45 am 

Joined: Thu Feb 20, 2020 7:59 am
Posts: 8

Offline
Hello saak,
It's not exactly what you're looking for but this might work depending on your application. Have you tried using the Trend Viewer Legend? It has controls to turn on and off the visibility of each curve (using the eye button).

It can be added as an Action under Trend Viewer > Show Trend Viewer Legend and selecting the trend in the second dropdown, or scripted on a button or Screen Opened event using
Code:
TrendViewer.ShowLegend();


 Profile  
 
 Post subject: Re: How can I use a TouchComboBox to pick what curves to sho
PostPosted: Tue Mar 10, 2020 8:34 am 

Joined: Fri Mar 06, 2020 5:51 am
Posts: 2

Offline
prichlin wrote:
Hello saak,
It's not exactly what you're looking for but this might work depending on your application. Have you tried using the Trend Viewer Legend? It has controls to turn on and off the visibility of each curve (using the eye button).

It can be added as an Action under Trend Viewer > Show Trend Viewer Legend and selecting the trend in the second dropdown, or scripted on a button or Screen Opened event using
Code:
TrendViewer.ShowLegend();



Hey Prichlin.
Thanks for the reply, I have tried the trend viewer legend but the problem with it is that if you have around 200 curves trend viewer legend just isn't functional.

what I want to have is 8 visible curves with the ability to choose what those 8 are while the other 192 are hidden, with 8 different combo boxes


 Profile  
 
 Post subject: Re: How can I use a TouchComboBox to pick what curves to sho
PostPosted: Thu Mar 26, 2020 1:34 pm 
User avatar

Joined: Thu Nov 16, 2017 3:32 pm
Posts: 201

Offline
Here is an example project that modifies the curves of a trend viewer via scripting


Attachments:
DynamicTrendViewerCurves.zip [45.9 KiB]
Downloaded 3 times

_________________
Best regards,

Russ
(801) 708-6690
Technical Support
Contact Us

Beijer Electronics AB
http://www.beijerelectronics.us
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron