iFix: Using .NET DatePicker to Modify Window Variables

MoraleC2

Member
Join Date
Jan 2016
Location
East Coast
Posts
23
I am building a report screen with a SQL table display, and I want to be able to adjust the time range from which data are pulled (something I could do in my sleep if I were working with Ignition). I figured the easiest way for the operators would be to use a DatePicker object from .NET. So I made window variables for start and end date (strings), which are used to build the SQL query, and animated the Text property of the DatePickers to those variables.

However, when I choose a new date through the DatePicker, it does not update the associated variable. It's a similar problem to what I encountered when trying to control a variable with a ComboBox, but that was solved with an event script. The DatePicker is not as straightforward; there's no "OnDateChange" method or anything for me to invoke, as far as I know.

Can anyone give advice on how to properly link a .NET object with a window variable in iFix? I must be missing something.

Edit: Nevermind; the CalendarClosed event can be used to assign the new text value to the window variable. Problem solved.
 
Last edited:

Similar Topics

Hi all, I have an iFix SCADA that is currently comunicating to 2 Toshiba T2 PLCs using Serial. However the system has grown and now I'm looking...
Replies
2
Views
3,513
Hello! Currently getting ready to vet a rather large studio5000 program change with Ifix addition and the thought occurred to me that it may be...
Replies
6
Views
4,237
Hi all Can any one tell me on how to communicate bristol control wave plc to ifix using opc drivers in ifix...pls...its in critical stage...
Replies
2
Views
2,300
i use ifix communicates with siemens plc through si7,when the picture was opened in ifix,it shows the communication was disconnected and can't...
Replies
0
Views
3,356
I dont see any option in database manager all i see how i could show those in alarm summary ?? :) also would be great if i could configure the...
Replies
17
Views
7,545
Back
Top Bottom