Quote Originally Posted by pedja089 View Post
You can add timeout label. Then it won't hang forever..
HSERIN 10,TimeOut, [CMD]

Code:
Select Case CMD
  Case "A"
    HSERIN  10,TimeOut,[DEC4 TestVar1]
  Case "B"
    HSERIN 10,TimeOut,[DEC4 TestVar2]
END SELECT
TimeOut:
I can't use that, too program time-consuming, my main timing interrupt is refreshing every 92µs or so...