I have a rather generic question regarding the best option for programming in CAPL when dealing with signals.
Assuming you need to write CAPL code to set the value of a signal, which approach is best:
to use setSignal system function, which directly sets the signal via the IL
to bind a SysVar to the signal and write event handlers to manage the updates?
I'm no expert in CAPL programming and I've heard people advocating either for one or the other.
Those sustaining SysVars made a point on the fact that there's no return value from the setSignal function, so there's no way of checking the signal change took place successfully unless implementing some additional safety checks.
Thanks for sharing your wisdom :)