882 Video Test Instrument User Guide (Rev. A.35) 159
SetCancelOnError
Class Command
Description Sets or clears the CancelOnError status. If set (with an argument of true) an error or
failure will cause the Canceled() state to be set to true. To terminate script execution on
error, program code should check the state of Canceled(); if it is true the program should
exit via "return true;"
Command syntax sc.SetCancelOnError(bool)
Return type void
Example refer to example program testapi.cpp.
Related commands Canceled(), GetCancelOnError(), GetError()