Use of Thread.ExternallySuspended within Code Modules to Enable Debugging Multiple Threads
This example shows how to use the Thread.ExternallySuspended property provided by the TestStand API. You need to use this property in code modules that perform a lengthy operation or wait an indeterminate period of time. Otherwise, the user will not be able to suspend (break) execution in TestStand until after the code module finishes executing.
For more information about this property, refer to the TestStand API Reference Help section on this property. You can also refer to the related links below for information on different cases where it is necessary to use the Thread.ExternallySuspended property.
To run the example, simply run the MainSequence in the Sequence File inside the zip file.
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
