Linux-tiscamera-Programming-Samples
Linux-tiscamera-Programming-Samples copied to clipboard
How to call trigger software in cpp
Hi how can I call the trigger software function used in tcam-Capture application in cpp
Hello
After building your pipeline, you enable the trigger mode by
tcam_property_provider_set_tcam_enumeration(TCAM_PROPERTY_PROVIDER(source), "TriggerMode", "On", &err);
You fire a software trigger by
tcam_property_provider_set_tcam_command(TCAM_PROPERTY_PROVIDER(source), "TriggerSoftware", &err);
You may refer to the software trigger sample at https://github.com/TheImagingSource/tiscamera/blob/master/examples/c/06-softwaretrigger.c. After installing the dev packages from https://github.com/TheImagingSource/tiscamera/releases, this sample should be on your computer.
Stefan