DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Ghdstartval-ChenLingGenImp

Solved!
Go to solution

Hello,

i want to create a few horizontal curves/lines; the value of each line is different and given via SUD and user input/adjustment

 

Call ChnLinGenImp("Upper Limit Prebrew",200,ghdstartval,0,"")
Call View.Sheets("Blatt 1").Areas("Area : 1").DisplayObj.Curves.Add("Limit1.Time","Upper Limit1")
Call ChnLinGenImp("Lower Limit Prebrew",200,ghdstartval,0,"")
Call View.Sheets("Blatt 1").Areas("Area : 1").DisplayObj.Curves.Add("Limit1.Time","Lower Limit1")
Call ChnLinGenImp("Lower Limit ControlDelay",200,ghdstartval,0,"")
Call View.Sheets("Blatt 1").Areas("Area : 1").DisplayObj.Curves.Add("Limit2.Time","Lower Limit2")
Call ChnLinGenImp("Upper Limit Brewing",200,ghdstartval,0,"")
Call View.Sheets("Blatt 1").Areas("Area : 1").DisplayObj.Curves.Add("Limit2.Time","Upper Limitt2")
 

My problem is that for the value i only can use varibale: Ghdstartval

How can i manage my code above for more/different Lines

 

Like this, but with variables

Call ChnLinGenImp("Upper Limit Prebrew",200,200,0,"")
Call View.Sheets("Blatt 1").Areas("Area : 1").DisplayObj.Curves.Add("Limit1.Time","Upper Limit1")
Call ChnLinGenImp("Lower Limit Prebrew",200,180,0,"")
Call View.Sheets("Blatt 1").Areas("Area : 1").DisplayObj.Curves.Add("Limit1.Time","Lower Limit1")
Call ChnLinGenImp("Lower Limit ControlDelay",200,90,0,"")
Call View.Sheets("Blatt 1").Areas("Area : 1").DisplayObj.Curves.Add("Lower2.Time","Lower Limit 2")
Call ChnLinGenImp("Upper Limit Brewing",200,85,0,"")

 

 

Thanks a lot

0 Kudos
Message 1 of 2
(5,265 Views)
Solution
Accepted by topic author AndiMEC

Problem solved by myself!

 

0 Kudos
Message 2 of 2
(5,250 Views)