up Inquisit Language Reference

ipAddress property

This property reports the IP addresses assigned to the computer.

Member of

<computer>

Syntax

computer.name.ipAddress

Read Only

Type

array

Remarks

This is a list property containing a list of all of the IP Addresses assigned to a computer. Computers typically have only one IP Address but may have more if they have multiple network cards. If the computer is located within a LAN, the computer may be assigned an IP address that is not globally unique.

Examples

The following displays the ip address in a text stimulus:

<text myText>
/ items= ("ip address = <% computer.ipAddress[0] %>")
</text>

The following displays the ip address in an instruction page:

<page myPage>
ip address = <% computer.ipAddress[0] %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.