mahos.inst.camera.BaslerPylonCamera#

class mahos.inst.camera.BaslerPylonCamera(name, conf=None, prefix=None)#

Wrapper for Basler Pylon.

Parameters:
  • emulation (bool) – (default: False) use emulation mode.

  • trigger_source (str) – (default: “Line1”) trigger source line.

  • trigger_wait_line (str) – (default: “Line2”) trigger wait line.

  • trigger_wait_invert (bool) – (default: False) set True to invert trigger wait polarity.

  • pixel_format (str) – (default: “”) the pixel format for camera acquisition. Leave black to skip setting.

  • queue_size (int) – (default: 8) size of the software frame queue.

__init__(name, conf=None, prefix=None)#

Methods

__init__(name[, conf, prefix])

close_resources()

Close instrument resources.

configure(params[, label])

Configure the instrument settings.

configure_continuous(exposure_time_sec[, ...])

configure_hard_trigger(exposure_time_sec[, ...])

configure_soft_trigger(exposure_time_sec[, ...])

get(key[, args, label])

Get an instrument setting or measurement data.

get_frame([timeout_sec])

get_frame_soft_trig_imm()

Issue soft ware trigger and get grab result immediately.

hasattr(name)

load_default()

poll_loop_continuous(ev)

poll_loop_hard_trig(ev)

reset([label])

Reset the instrument settings.

set(key[, value, label])

Set an instrument setting or commanding value.

set_binning(binning)

set_burst_frames(num)

set_exposure_time(exposure_time_sec)

set_frame_burst_trigger(on)

set_frame_rate(frame_rate_Hz)

set_frame_start_trigger(on)

set_pixel_format([pixel_format])

set_roi(roi)

start([label])

Start the instrument operation.

stop([label])

Stop the instrument operation.