belias Posted October 22, 2010 Posted October 22, 2010 Hello, I have a few programs with "IF" statements that should only be evaluated when called by another program. This works perfectly when I set the programs to disabled, however it's a bit of an inconvenience keeping track of which programs should / should not be disabled. (I frequently disable programs for testing, etc.). So...as a more elegant solution, I figured I'd put all of these programs in a folder and set the folder condition to something that never evaluates as true. I assumed this would have the same effect as disabling the programs, however apparently not. The programs in this folder never run - even when explicitly called by another program. So here's the question - is this the way it's supposed to work? If so, it seems a bit counter-intuitive that enable/disable would function differently from a folder condition that evaluates to true/false...but maybe that's just me. In any case, if this is indeed how things are supposed to function, an option to disable an entire folder (or allow programs in a "false" folder to run when explicitly called) would be great! Thanks, - Brian
Algorithm Posted October 22, 2010 Posted October 22, 2010 Hello Brian, That is a keen observation, but indeed that is the way it was intended to function. When a folder condition is false, programs within that folder will not run no matter how triggered. As to a disable folder function, or changing the running of direct-called programs within disabled folders, I leave that to the programmers...
belias Posted October 24, 2010 Author Posted October 24, 2010 Hi Darrell, Thanks for the fast reply - great support as always! - Brian
jtara92101 Posted October 24, 2010 Posted October 24, 2010 I have a few programs with "IF" statements that should only be evaluated when called by another program. This works perfectly when I set the programs to disabled i guess I'm missing something here. After reading this, I disabled a program that's called from another program. It no longer worked. So, I set it back to enabled. Not sure if it always evaluates as "false", or returns the last condition from when it WAS enabled.
Sub-Routine Posted October 24, 2010 Posted October 24, 2010 Hi jtara92101, You can view the Last Run Time on the Program Summary panel. Rand
Recommended Posts