Low Level Commands¶
- class obi.commands.low_level_commands.SynchronizeCommand(*, cookie, output, raster)[source]
- Parameters:
cookie (u16)
output (OutputMode)
raster (bool)
- class obi.commands.low_level_commands.AbortCommand[source]
End the current
RasterRegionCommand
- class obi.commands.low_level_commands.FlushCommand[source]
Submits the data in the FPGA FIFO over USB, regardless of whether the FIFO is full.
- class obi.commands.low_level_commands.ExternalCtrlCommand(enable)[source]
Enable or disable external control of the beam
- Parameters:
enable (bool)
- class obi.commands.low_level_commands.BeamSelectCommand(beam_type)[source]
Select a beam type. Blanking will be enabled on all other beams if blanking IO is available.
- Parameters:
beam_type (BeamType)
- class obi.commands.low_level_commands.BlankCommand(enable, inline=False)[source]
Triggers beam blanking
- class obi.commands.low_level_commands.DelayCommand(delay)[source]
Starts a counter, pausing execution of subsequent commands until the time is up. One unit of delay is one 48MHz clock cycle, or 20.83 ns.
- Parameters:
delay (u16)
- class obi.commands.low_level_commands.RasterRegionCommand(x_range, y_range)[source]
Sets the region of the internal raster scanner module. Takes
DACCodeRange
as input.- Parameters:
x_range (DACCodeRange)
y_range (DACCodeRange)
- class obi.commands.low_level_commands.RasterPixelCommand(*, dwell_time)[source]
One pixel dwell value. The position at which this pixel is executed depends on the current
RasterRegionCommand
.- Parameters:
dwell_time (DwellTime)
- class obi.commands.low_level_commands.ArrayCommand(cmdtype, array_length)[source]
- class obi.commands.low_level_commands.RasterPixelFillCommand(dwell_time)[source]
- Parameters:
dwell_time (DwellTime)
- class obi.commands.low_level_commands.RasterPixelRunCommand(length, dwell_time)[source]
One pixel dwell value, to be repeated for a specified length. The position at which these pixels are executed depends on the current
RasterRegionCommand
.
- class obi.commands.low_level_commands.RasterPixelFreeRunCommand(dwell_time)[source]
One pixel dwell value, to be repeated indefinitely. The position at which these pixels are executed depends on the current
RasterRegionCommand
.- Parameters:
dwell_time (DwellTime)