BallardHill Posted April 3, 2017 Share Posted April 3, 2017 We'd like to dynamically select which Channels are in use during testing sessions. Switching Channel.Timing between 0.00 and 0.01 is reported correctly in the Channel Table, but Variable Values derived from Channels, for instance, do not track the changes (by showing or not the beloved Red X). Stopping the Document and reloading it after the .Timing is changed DOES cause the desired results. We'd like to dynamically re-select Channels during the same run of the Document, as well as change some .Expressions, .LogFileName, and such, to reflect the new selected Channel set without having to manually stop and reload the Document. Is this possible? Link to comment Share on other sites More sharing options...
AzeoTech Posted April 3, 2017 Share Posted April 3, 2017 After any change in Timing through script, you have to call: Channel.Restart() to restart the timing loops. This is done automatically when you edit channels through the UI, but is not done when you edit channels through script. Link to comment Share on other sites More sharing options...
BallardHill Posted April 5, 2017 Author Share Posted April 5, 2017 Yes, it worked from GUI but not in Sequences. And I always try to RTFM before pestering Support. My apologies! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.