standard deviation
Re: standard deviation
That can be accomplished with Dynamics.
- Attachments
-
- Snap 2012-09-04 at 08.44.08.png (67.96 KiB) Viewed 12570 times
Best Regards,
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Re: standard deviation
Thank You very much Ron. Can we do the same with script?
Regards, Waldemar
Regards, Waldemar
Re: standard deviation
Once you setup the dynamic you can trigger it in script. (i.e. Globals.Tags.Tag1.SetAnalog(3); ).
Best Regards,
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: standard deviation
Yes, the below will change the color of the Text1 TextBox when Button3 is clicked.
Code: Select all
void Button3_Click(System.Object sender, System.EventArgs e)
{
this.Text1.FontColor = new BrushCF(Color.Aqua);
}
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Re: standard deviation
Thank You very much Ron. Works fine.
Regards, Waldemar
Regards, Waldemar
Re: standard deviation
Thank You much Mark for the answer.
When describing a button click event, after: this.Text11... could not find the option FontColor.
Is it because of something is not activated?
Regards, Waldemar
When describing a button click event, after: this.Text11... could not find the option FontColor.
Is it because of something is not activated?
Regards, Waldemar
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: standard deviation
Not all of the available functions are displayed when you do a '.' after an object. some are not. I am not sure why they did this.
In my example the text box was called "Text1", 'this' simply means to use the current screen.
So "this.Text1" means use the text box called Text1 on the current screen.
I tested the FontColor button code I sent you in iX 2.0.
In my example the text box was called "Text1", 'this' simply means to use the current screen.
So "this.Text1" means use the text box called Text1 on the current screen.
I tested the FontColor button code I sent you in iX 2.0.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Re: standard deviation
Thak You Mark. Where can I find all options?
Regards, Waldemar
Regards, Waldemar
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: standard deviation
There is no way to find all the options. You have to look at the iX Developer source code and we do not release that.
Hopefully in a future release of iX Developer scripting will have a better documentation system.
Hopefully in a future release of iX Developer scripting will have a better documentation system.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer