Scripting API

btkSetAnalogOffset

Module BTKAnalogModifier

Description#

Modifies analog's offset and returns updated analogs.

Parameters#

hHandle pointing to a C++ btk::Acquisition object.
idxInteger containing the index of the analog channel to modify.
labelString containing the label of the analog channel to modify.
newoffsetInteger with the new numerical offset.

Returned Values#

analogsUpdated list of analog channels. Its format is the same than using the function
analogsInfoUpdated informations related to the analog channels. Its format is the same than using the function

Detailed Description#

  • btkSetAnalogOffset(h, idx, newoffset) modifies the offset of the analog channel specified by the index idx.
  • btkSetAnalogOffset(h, label, newoffset) modifies the offset of the analog channel specified by the label label.

Notes#

See also#

btkGetAnalog, btkSetAnalogDescription, btkSetAnalogGain, btkSetAnalogLabel, btkSetAnalogScale, btkSetAnalogUnit, btkSetAnalogValues

Syntax#

(analogs, analogsInfo) = btkSetAnalogOffset(h, idx, newoffset)
(analogs, analogsInfo) = btkSetAnalogOffset(h, label, newoffset)

Examples#