start()#

InstroDAQ.start(background: bool = True, **kwargs)[source]#

Start acquisition: hardware-timed, or the software-timed daemon when SW timing is configured.

With no AI timing configured, background=True falls back to software timing at 1 Hz.

Parameters:
  • background – When True (default), spin the daemon thread to continuously fetch the buffer. When False, begin hardware acquisition only and fetch the buffer yourself by calling read_analog(). Software-timed acquisition requires True — the daemon is what does the timing — so False logs an error and starts nothing.

  • **kwargs – passed to the driver’s start(). channel_type (NI only) selects which DAQmx task to start; drivers ignore keys they don’t use.