# LineScan rotary encoder trigger frequency

**URL:** https://forum.commonvisionblox.com/t/linescan-rotary-encoder-trigger-frequency/2269
**Category:** General Questions
**Tags:** acquisition
**Created:** [November 17, 2024, 10:46pm UTC](https://forum.commonvisionblox.com/t/linescan-rotary-encoder-trigger-frequency/2269 "2024-11-17T22:46:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![StevePSS](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@StevePSS](https://forum.commonvisionblox.com/u/StevePSS)
#### Post date: [November 17, 2024, 10:46pm UTC](https://forum.commonvisionblox.com/t/linescan-rotary-encoder-trigger-frequency/2269/1 "2024-11-17T22:46:42Z")

</div>

Hi,

I have a Linea Mono 2k 52 kHz GigE camera with a rising edge rotary encoder and using CVB .Net.  
The encoder has fixed ticks/mm.

I’ve successfully programmed the nodes to enable encoder triggering for “rotaryEncoderOutputMode” = “Motion”:  
“TriggerMode” = “On”  
“rotaryEncoderInputASource” = “Line1”  
“rotaryEncoderInputBSource” = “Line2”  
“rotaryEncoderInputASource” = “On”  
“LineFormat” = “SingleEnded”  
“lineDetectionLevel” = “Threshold\_for\_3V3”  
“rotaryEncoderSrcActivation” = “RisingEdge”  
“rotaryEncoderOutputMode” = “Motion”  
“rotaryEncoderRescalerOrder” = “multiplierDivider”

My problem is understanding the “divider” and “multiplier” parameters to control the trigger rate. The documentation doesn’t seem to help much. I’ve been told that “multipler” can only be set to values of 1,2,4,8,…, and “divider” will reduce or remove potential triggers?? Experimentation doesn’t yield what I would expect.

Ultimately what I need is:  
A formula to calculate “multiplier” and “divider” for rate of n ticks, i.e. To achieve a trigger rate of 1 linescan for every n encoder ticks.

---

<div class="post-metadata">

### Author: ![Sebastian](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/sebastian/32/1267_2.png) [@Sebastian](https://forum.commonvisionblox.com/u/Sebastian)
#### Post date: [November 18, 2024, 7:24am UTC](https://forum.commonvisionblox.com/t/linescan-rotary-encoder-trigger-frequency/2269/2 "2024-11-18T07:24:26Z")

</div>

Hi @StevePSS,

except that you use [CVB.Net](http://CVB.Net) I do not see a CVB related question here. Can you please create a support request to your support contact responsible for your region.  
Thank you.
