aravis icon indicating copy to clipboard operation
aravis copied to clipboard

no image receive when using in software trigger mode at opt-MCC050-GG0 camera

Open liyu9202 opened this issue 9 months ago • 6 comments

Describe the bug no image recevie when using in software trigger mode

To Reproduce I receives images with ArvStream based on the sample code - arvexample.c and issues #628 and I try to change the trigger source - software in the below codes: ArvDevice* dev = arv_camera_get_device(camera); arv_device_set_string_feature_value( dev, "AcquisitionMode", "Continuous", nullptr);

arv_device_set_string_feature_value(
    dev, "TriggerSelector", "AcquisitionStart", nullptr);
std::cout << arv_device_get_string_feature_value(
    dev, "TriggerSelector", nullptr)
    << std::endl;

arv_device_set_string_feature_value(dev, "TriggerMode", "Off", nullptr);
std::cout << arv_device_get_string_feature_value(dev, "TriggerMode", nullptr)
    << std::endl;

arv_device_set_string_feature_value(
    dev, "TriggerSelector", "FrameStart", nullptr);
arv_device_set_string_feature_value(dev, "TriggerMode", "On", nullptr);
arv_device_set_string_feature_value(
    dev, "TriggerSource", "Software", nullptr);

std::cout << arv_device_get_string_feature_value(
    dev, "TriggerSelector", nullptr)
    << std::endl;
std::cout << arv_device_get_string_feature_value(
    dev, "TriggerSource", nullptr)
    << std::endl;
std::cout << arv_device_get_string_feature_value(dev, "TriggerMode", nullptr)
    << std::endl;
gboolean result =arv_camera_is_enumeration_entry_available(camera, "TriggerActivation","RisingEdge", NULL);
if(result)
    arv_camera_set_string(camera, "TriggerActivation", "RisingEdge", nullptr);

The output of features are fine, when TriggerMode set Off, but when TriggerMode set On, software_trigger doesn't get image. plus: Firewall is closed and Camera filter driver doesn't use

Image

Expected behavior I call arv_camera_software_trigger or arv_device_execute_command(TriggerSoftware), it should comes image generally.

Camera description:

  • OPT -opt-MCC050-GG0 -GigE

Platform description:

  • Aravis 0.9.0 -OS: Windows 10 64bit -Hardware Intel I7

Additional context My code is

ctest.zip

liyu9202 avatar Jan 19 '25 03:01 liyu9202