Appendix D Serial Commands
D-6 MicroHAWK MV-20 / MV-30 / MV-40 Smart Camera Guide
ONLINE?
Queries if the camera is online.
QUERYAUTOCAL
Returns photometry settings: Gain, Exposure, and Focus.
QUERYFOCUSUNITS
Queries the units being used for autofocus, mm (0) or inches (1).
QUERYWHITEBAL
Returns white balance settings: RED gain, BLUE gain, and GREEN gain.
QUICKFOCUS
Performs an autofocus by analyzing the area around the specified point.
READY? [-insp=n]
Queries if inspection is waiting for a trigger. Defaults to first inspection is not specified.
REBOOT [-noload]
Reboots the device.
-noload = do not load BOOT job.
RESTOREWBAL
Restores preset white balance parameters: RED gain, BLUE gain, and GREEN gain.
SET <tagname> <value>
Sets 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 value can contain spaces.
The command is terminated by a carriage return and/or line feed character.
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.