Skip to content

Conversation

@yrodzikau
Copy link

Fix microvector delay tick conversion and implement scatterplot channel fill

feat(scanlab): convert microvector laser delays using RTC tick resolution

  • Added ConvertDelaySecondsToTicks() to convert delay seconds into RTC ticks (1 tick = 1/64 µs) and clamp to the supported range [0..32767].
  • Updated AddMicrovectorMovement() to use the new conversion for LaserOnDelay and LaserOffDelay while preserving -1 as the “no delay” sentinel.

feat(libmcenv): implement scatterplot channel population from datatable

  • Implemented fillScatterplotChannel() to populate scatterplot channel/column vectors from the datatable rows with scale and offset applied.
  • Added basic validation and guarded channel/column creation to avoid duplicate entries.

…and implement scatterplot channel fill

### feat(scanlab): convert microvector laser delays using RTC tick resolution
- Added `ConvertDelaySecondsToTicks()` to convert delay seconds into RTC ticks
  (1 tick = 1/64 µs) and clamp to the supported range [0..32767].
- Updated `AddMicrovectorMovement()` to use the new conversion for LaserOnDelay
  and LaserOffDelay while preserving `-1` as the “no delay” sentinel.

### feat(libmcenv): implement scatterplot channel population from datatable
- Implemented `fillScatterplotChannel()` to populate scatterplot channel/column
  vectors from the datatable rows with scale and offset applied.
- Added basic validation and guarded channel/column creation to avoid duplicate
  entries.

Signed-off-by: Yury Rodzikau <y.rodzikau@c1-technologies.com>
@alexanderoster alexanderoster merged commit 1b60b98 into alexanderoster:develop Jan 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants