tcam-ctrl¶
tcam-ctrl is a commandline tool to allow inspection and configuration of devices.
Arguments¶
-
-h
,
--help
¶
Print available options.
-
-l
,
--list
¶
Print available cameras.
Sample Output¶Available devices: Model Type Serial DFK 72UB02 V4L2 37410696 DFK 39GX265-Z20 Aravis 12919949 DFK AFU050-L34 LibUsb 04614259
-
-p
,
--properties
<SERIAL>
¶ Print available properties.
Requires the serial number of the camera to be queried.
-
-f
,
--format
<SERIAL>
¶ Print information about available video formats.
Requires the serial number of the camera to be queried.
-
-c
,
--caps
<SERIAL>
¶ Print GStreamer 1.0 caps the device offers.
Requires the serial number of the camera to be queried.
These caps are offered directly by the device. Implicitly converted caps offered by the tcambin through conversion are not included.
-
--version
¶
Print version information about the used tiscamera and aravis versions.
Print information about the library versions of tiscamera and aravis.
-
-t,--type
{aravis,v4l2,libusb,unknown}
¶ Device type that shall be used. When a device offers multiple backends, this flag allows the user to choose the appropriate backend. Defaults to ‘unknown’, which causes the first device with matching serial to be choosen.
-
--save
<SERIAL>
¶ Prints a JSON description of the device properties and their values.
Requires the serial number of the camera to be queried.
-
--load
<SERIAL> <JSON>
¶ Load the JSON string and set the properties to the specified values. Alternatively a file path to a file containing the JSON description can be used.
See State for a JSON description.
# load from file tcam-ctrl --load <SERIAL> <FILEPATH> # load string tcam-ctrl --load <SERIAL> '{\"Exposure\":3000,"Exposure\ Auto\":false}'