Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

SerialInChk does not work in SlowSequence


kcopeland Jul 20, 2017 04:25 PM

CR6, OS6.08

When using the Serial In Chk function in a slowsequence, it does not evaluate (stays at 0).  In the main scan it works just fine.  


DAM Jul 21, 2017 01:34 PM

Have you verified that you don't have a SerialFlush or SerialClose somewhere in the main sequence that is flushing the bytes before the slow sequence can read them?


kcopeland Jul 21, 2017 01:51 PM

You hit it on the head.  This program had a separate subroutine that was resetting (closing and opening) the com port.  When I tried SerialInChk in the main scan, it was running before this subroutine was called.  Thanks for the guidance.

Log in or register to post/reply in the forum.