on 11-13-2008 4:52 PM
All,
Is there any way to get the values of configured Time Periods at runtime. For example get the current shift start and and end time values?
Regards,
Christian
Do a Simulator History tag query for one tag and a small rowcount of 2, with your Time Period assigned and in the xml you'll see Rowsets/@StartDate and Rowsets/@EndDate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This little trick is also an excellent way to understand how the time engine works, in a WYSIWYG manner. If you test your Simulator Tag query template from the Template Editor or WB and select text/xml the answers are revealed.
A simple Q/A for situations like:
What happens if I put Time=Today@08:00:00 and Duration = -1 and DurationUnits = D?
Regards,
Jeremy
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.