Serial Commands
F
HAWK MV-4000 Smart Camera Guide F-3
GETIMAGE <-transfer=ymodem> [-format={jpg|png}] [-quality={0-100}]
[-woi=left,top,right,bottom] [-inspection=n]
Initiates serial transfer of inspection image (RS-232 only).
Note: This command always returns the last (most recent) image.
Important: This command is only supported over TCP/IP for the HAWK MV-4000.
-transfer=ymodem is currentlynot optional - only Ymodem protocol is supported.
-format={jpg|png} specifies the format of the image. If omitted, the image format is JPG.
-quality=n specifies a JPG compression quality of n less than or equal to 100. The default
quality is 80 if not specified.
Note: The PNG format provides lossless image compression. If format is set to PNG, the
quality setting does not apply.
woi=left,top,right,bottom specifies a rectangular area of the image to be included in the
output image. If omitted, the full image buffer is returned.
-inspection=n specifies the inspection from which to retrieve an image. The image will be
from the first snapshot within that inspection. If not specified, the image will be from the
first inspection that does contain a snapshot.
The following example will retrieve an image from the camera with these settings: Protocol:
ymodem; Format: png; Quality: N/A; Inspection: second inspection.
GETIMAGE –transfer=ymodem –format=png –inspection=2
The following example will retrieve an image from the camera with these settings: Protocol:
ymodem; Format: jpg (default); Quality: 50; Inspection: first inspection (default).
GETIMAGE –transfer=ymodem –quality=50
HELP
Returns a list of all serial commands showing correct syntax and functionality descriptions.
INFO [tagname|service]
Gets information about a tag or service.
INFO with no arguments gets a list of services.
INFO <service> gets a list of tags in that service.
INFO <service.tagname> gets attributes of the tag as well as a list of subtags.
The AVP service allows retrieval of step and datum information from the job tree using
forward slash ‘/’ in the symbolic name path. INFO avp/insp1/snapshot1/status paths are
not case-sensitive and do not need to be fully qualified if unique.
INFO avp/snapshot1/status will return the same result if there is only one inspection.
When issued against a step, INFO avp/snapshot1 returns properties of the step, a list of
child datums, and a list of child steps. Child steps are indicated by a trailing forward slash.
JOBBOOT [-slot=]<n>
Sets bootup job slot n (RS-232 only).