up Inquisit Language Reference

items attribute

The items attribute defines the items contained in the stimulus set.

Member of

<port> <xid>

Syntax

/ items = itemname

or

/ items = ("binary", "binary", "binary",... )

or

/ items = (integer, integer, integer,... )

Parameters

itemname The name of an item element defined elsewhere in the script.
binary A quoted string of exactly eight 1s and 0s.
integer An 8-bit value ranging from 0 to 255.

Remarks

Items can be defined either by specifying the name of an <item element>, or by directly by listing each item in the set.

The items can be defined either as integer values ranging from 0 to 255, or as 8-bit binary strings of 0's and 1's, in which case each digits are listed left-to-right in descending bit order, with the leftmost digit representing the highest order bit and the rightmost digit representing the lowest order bit. See How to Present TTL Signals Through the Parallel Port for more details.

Examples

The following defines port items using binary strings:

<port portsignal>
/ port = LPT1
/ subport = data
/ items = ("00011101", "00000000", "11111111")
</port>

The following defines port items using integers:

<port portsignal>
/ port = LPT1
/ subport = data
/ items = (1, 2, 3, 4, 5)
</port>

The following defines xid port items using integers:

<xid stimtracker>
/ product = stimtracker
/ items = (1, 2, 3, 4, 5)
</xid>

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