| Article ID: | T48 |
| Date: | 4/3/2000 |
| Product: | SPEL for Windows 1.x up to 1.31.1, 2.x up to 2.2.2 |
| Problem: | Reset from program does not turn off outputs. |
Symptoms
When a RESET statement is executed in a program, the
outputs are not turned off, even though software switch SS1-4 is off. The
manual and help states that the outputs should be turned off when SS1-4 is
off.
Remedies
You can turn off all outputs in a program by creating a
function similar to the one below. You need to modify the function to
handle all of the outputs installed on your system.
Function AllOff
Integer i
For i = 0 To 15
Off i
Next i
Fend
Cause
The manual and help are incorrect. A RESET statement in a
program will not turn off outputs. RESET from the monitor window, or
remote input, or Abort All, or Ctrl-C, will turn off outputs if SSW1-4 is
off.
Status
The manual and help will be corrected in the next release.
