up Inquisit Language Reference

erase attribute

The erase attribute determines the baseline signal to which port stimuli are set at the end of the trial.

Member of

<port> <xid>

Syntax

/ erase = true("bits")

or

/ erase = true(integer)

or

/ erase = false

Parameters

bits A quoted binary sequence of exactly eight 0's and 1's.
integer An one-byte integer ranging from 0 to 255.

Remarks

By default, port stimuli are erased to a value of 0 or "00000000" (i.e., all TTL bits/pins are set to low).

Examples

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>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.