D Serial Commands The value can be a list of comma-separated items to set a sequence of tags: Send SET int1 1, 2, 3 to set int1 = 1, int2 = 2, int3 = 3. The AVP service allows setting of step and datum information from the job tree using forward slash ‘/’ in the symbolic name path. SET avp/insp1/snapshot1/acq1/gain 2.0 paths are not case-sensitive and do not need to be fully qualified if unique. SET avp/acq1/gain 2.0 will set the same gain value if there is only one acquire. Control tags in the AVP service such as START , STOP , and TRIGGER act as momentary switches. SET avp.start 1 is equivalent to the ONLINE command. avp.start will reset immediately and always read as 0 . Success Return:
On success will return !OK followed by an echo of the command. For example: !OK SET matchstring1 Fail Return: On failure will return !ERROR followed by the reason for the failure. For example: !ERROR Tag matchstring66 not found GET {tagname|service|service.tagname} Gets value of a global tag. The tagname must correspond to one of the supported tags within the device. Use the INFO command to get a full list of tags and services, as well as attributes of the tag and list of subtags. The command is terminated by a carriage return and/or line feed character. Include an index to get a single value from an array such as GET int1 .
If the index is omitted, the full array of values will be returned in a comma-separated list of values. Send Get {tagname|service.tagname|service} to get the value of a tag within the global data service. To get the value of a tag within another service, prefix the tagname with the service name. For example, a GET command such as GET eip.input for the EIP input assembly. The AVP service allows retrieval of step and datum information from the job tree using forward slash ‘ / ’ in the symbolic name path. GET avp/insp1/snapshot1/status paths are not case-sensitive and do not need to be fully qualified if unique.
GET avp/snapshot1/status will return the same result if there is only one inspection. When issued against a step, GET avp/snapshot1 will return the values for all datums. Success Return: On success will return the value stored in the tag. For example: ABCD Fail Return: On failure will return !ERROR followed by the reason for the failure. For example: !ERROR Tag matchstring66 not found Vision MINI Smart Camera Guide D-5