Ok, thanks Marc!

And do they work for you both TIMER_DRIVEN and EVENT_DRIVEN in the raspberry? 
Can you send me a config.yml you have using the GetUSBCamera?

Best regards,
Iyán


De: Marc [mailto:[email protected]]
Enviado el: lunes, 23 de abril de 2018 0:22
Para: [email protected]
Asunto: Re: [NIFI-CPP] Issues with TIMER_DRIVEN and CRON_DRIVEN

**This Message originated from a Non-ArcelorMittal source**
I wanted to follow up and say that timer driven and event driven are the only 
scheduling strategies available in minifi c++. Cron is not a supported strategy 
yet. Sorry for not mentioning this earlier

On Sun, Apr 22, 2018, 4:05 PM Iyán Méndez Veiga 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I haven't been able to configure MiNiFi to take pictures every 30 seconds
using GetUSBCamera processor. I have the following in the config.yml

  - name: take_picture
    class: GetUSBCamera
    max concurrent tasks: 1
    scheduling strategy: TIMER_DRIVEN
    scheduling period: 30 sec
    auto-terminated relationships list:
      - failure
    Properties:
      FPS: 1
      Format: PNG
      USB Vendor ID: 0x046d
      USB Product ID: 0x082d

The processor ignores the scheduling period and it takes pictures
continuously. I tried to use the CRON_DRIVEN but any processor seems to work.
Perhaps is that I didn't understand how to use it reading this:
http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/
crontrigger.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.quartz-2Dscheduler.org_documentation_quartz-2D2.x_tutorials_crontrigger.html&d=DwMFaQ&c=y5LGzd1hT50ruE_IlUH7x8VGgWz9W0tFVWT6rSvPUKA&r=OqJOXvZGIFafgLt7Uocjlzsiwprj2_HJJ0p7HG9IsupasVjguMhbhoUfzdA5V_Qn&m=8r4MTg3DbxO7p1jB1nKRsGRHEwAic5N87C8T2W1Qh94&s=b1mT-tf8rCQ-LZc0AAKCqpZSynrIl1PvoMKzllq-Vbk&e=>

  - name: take_picture
    class: GetUSBCamera
    max concurrent tasks: 1
    scheduling strategy: CRON_DRIVEN
    scheduling period: 0/30 * * * * *
    auto-terminated relationships list:
      - failure
    Properties:
      FPS: 1
      Format: PNG
      USB Vendor ID: 0x046d
      USB Product ID: 0x082d

Hope anyone can help me. By the way, is there any place to check current open/
known issues and bugs?

Thanks,
Iyán

--
Iyán Méndez Veiga | Physicist
GPG: 0x422E3694311E5AC1
Web: 
https://iyanmv.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__iyanmv.com&d=DwMFaQ&c=y5LGzd1hT50ruE_IlUH7x8VGgWz9W0tFVWT6rSvPUKA&r=OqJOXvZGIFafgLt7Uocjlzsiwprj2_HJJ0p7HG9IsupasVjguMhbhoUfzdA5V_Qn&m=8r4MTg3DbxO7p1jB1nKRsGRHEwAic5N87C8T2W1Qh94&s=hJ6Pdpny6jUwGI5i0fnnpEzMvV5DOh0YVPmJvaWt_eQ&e=>

♫♪.ılılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılılı.♫♪

Reply via email to