DEVICES program instruction $out Optional string expression, variable, or array that defines a string value to be sent to the device as part of the command. The actual data that should be sent depends upon the device type and the command. When the $out parameter is specified as an array, the total length of the string value must be less than or equal to 520 bytes. If an array is specified, and no index is specified, element 0 is accessed first. $in Optional string variable or array that receives any data values returned from a device as the result of the command. The actual data returned depends upon the device type and the command.
The error variable receives the number of input bytes returned. When the $in parameter is specified as an array, up to 512 bytes may be returned, packed in up to four successive string array elements. If an array is specified, and no index is specified, element 0 is accessed first. Details DEVICES is a general-purpose instruction for accessing external devices. It is similar to the DEVICE program instruction except that data items are sent and received as strings rather than real values. NOTE: Similar to the CALL and CALLS instruction pair, this instruction is a string-based version of the DEVICE instruction.
Thus, the name DEVICES can be thought of as "device s", rather than the plural of "device". For details and examples see the supplementary documentation for specific devices. Related Keywords DEVICE program instruction DEVICE real-valued function SETDEVICE program instruction eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 176