The erase attribute determines the baseline signal to which port stimuli are set at the end of the trial.
or
/ erase = boolean(integer)Name | Type | Description |
---|---|---|
boolean | boolean | A value of true or false indicating whether to erase the stimulus. |
bits | string | A quoted binary sequence of exactly eight 0's and 1's. |
integer | integer | An one-byte integer ranging from 0 to 255. |
By default, port stimuli are erased to a value of 0 or "00000000" (i.e., all TTL bits/pins are set to low).
When the following port signal is erased, the highest order bit is set high and all other bits are set low:
<port somesignal>
/ items = ("00001111")
/ erase = true("10000000")
</port>
The following port signal presents values 1 through 5 as signals and erases the port to 0 (all TTL bits/pins are set low):
<port somesignal>
/ items = (1, 2, 3, 4, 5)
/ erase = true(0)
</port>
The following port signal presents values 1 through 5 as signals, and does not automatically erase them at the end of the trial:
<port somesignal>
/ items = (1, 2, 3, 4, 5)
/ erase = false
</port>