Hi Van - let me clarify my question...
I don't believe that the termination portion of the DSC "periodic I/O server wizard" actually works properly, or at least an example is needed of how to make it work.
It appears to me that the wizard functionality of "choosing the server termination method" might not work. Within the wizard, the two options are to abort the running server VI, or to choose a "while loop" to be forcefully-terminated with a standby timeout value to force a VI abort anyway, if the while loop does not exit.
I set up a simple server VI with one main while loop that does RS-232 I/O with a "running" beep on a 1 second timer. After the while loop is another small block of code that closes the serial port, and a different "terminating" beeper. When I run the VI interactively, both beeps work fine. When I use the wizard to turn it into a server and it is deployed to the SVE, the beeps begin normally. When I stop the SVE process via "remove process" in Variable Manager, the "running" beeps continue for another 10 seconds until the abort timeout occurs, even though with the wizard I specified the only while loop in the VI to be aborted.
The heat exchanger example works fine. Unfortunately it does not have any code following the while loop, so it doesn't shed any light on this issue. Ideally that example would be updated a little to show how to use the "while loop termination" feature.
Basically my request comes down to this: is there a way to actually make this work, or is it another in the list of bugs in 8.5.1?
Thanks,
Mike