RDDay Posted February 7 Share Posted February 7 Hi, What is the better way to pre-populate edit boxes with the value of the variable that is associated with the edit box? How can I have the toggle switch component trigger (toggle) a sequence in it's own thread? Thank you RD Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted February 7 Share Posted February 7 OK, first read my post about using edit boxes in HMI's: That said, simply do page.updateEdits() to have the edit boxes populate with whatever value is currently in the Set Channel specified. The reason DAQFactory doesn't automatically do this is that it would be very frustrating to the operator if the edit box changed value while they are trying to enter a new value. As to your second question, I'm not quite sure what you are trying to do. Can you give me some more detail? Quote Link to comment Share on other sites More sharing options...
RDDay Posted February 9 Author Share Posted February 9 Thanks, Fortunately, my needs for the use of edit boxes is to create, edit, and view Time/Temp profiles and save them to a file, a static page. Profiles are loaded and run from another sequence. The page.updateEdits() is exactly what I need. However, it's good to know the limitations of the edit box, I take heed. I skipped the switch for a button. I liked the visual of the switch, on and off positions visually moving. A little background and text changing will do but not as cognitive. I do have a sequence issue. Catch you there. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.