DEVICE program instruction out[] Optional real array that contains data values that are sent to the device as part of a command. The actual data sent depends upon the device type and command being sent to the device. i Optional real value, variable, or expression (interpreted as an integer) that indicates the first array element to be considered in the array out []. Element 0 is accessed first if no index is specified. in[] Optional real array that receives any data values returned from the device as the result of the command. The actual data returned depends upon the device type and the command.
j Optional real value, variable, or expression (interpreted as an integer) that indicates the first array element to be filled in the array in[]. Element 0 is accessed first if no index is specified. out_ trans Optional transformation variable, function, or compound transformation that defines a transformation value to be sent to the device as part of the command. The actual data sent depends on the device type and the command. in_trans Optional transformation variable that receives a data value returned from the device as the result of a command. The actual data returned depends upon the device type and the command.
Details DEVICE is a general-purpose instruction for accessing external devices. For more information and examples, see the section External Encoder Device in the eV+ Language User's Guide .) Related Keywords DEVICE real-valued function DEVICES program instruction SETDEVICE program instruction eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 172