'Reources Check' and variable checkers/resets only triggering once in TRS12

K3JohnHO

Member
I have been trying, without success, to use 'Resource check' in TRS12 that worked in 2004 without success (layout ported from 2004 to TRS12). Common use is to Hold/Release trains depending on the commodity available at an industry. i.e. hold via a signal till sufficient coal at a mine to fill the train and then hold the next train until there is sufficient coal again. TRS12 will allow 1 cycle then stops checking. Despite various combinations of indented child rules etc. I can not make it function as it did in 2004.

Does 'Resource Check' work in TANE or should I stick with what works (2004)?
 
Thanks TRAMP, I did look at the thread you have mentioned. I played with the script but I am not confident in what I did. I commented out the section below with the "break;" on the assumption this ends the script if "WasComplete". (Did not help)

if (WasComplete()) // and m_runOnlyOnceHandler.boolValue)
{
Interface.Log("# ResourceCheckRule.MainMsgThread> INFO: Rule has already completed and is a run-once only rule!");
break;
}

I also tried some 'Variable set/show/check' rules with no success as well as a 'Reset' rule that was suppose to run child runs ad infinitum.

I will try a few more combinations and come back to this thread.
 
Hi K3JohnHO
I tried all ways inthe end I give up on it and found shedmasterworking grate have not look back.
 
Back
Top