Scripting API

btkSetAnalogLabel

Module BTKAnalogModifier

Description#

Modifies analog's label 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.
newlabelString with the new label.

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#

  • btkSetAnalogLabel(h, idx, newlabel) modifies the label of the analog channel specified by the index idx.
  • btkSetAnalogLabel(h, label, newlabel) modifies the label of the analog channel specified by the label label.

Notes#

See also#

btkGetAnalog, btkSetAnalogDescription, btkSetAnalogGain, btkSetAnalogOffset, btkSetAnalogScale, btkSetAnalogUnit, btkSetAnalogValues

Syntax#

(analogs, analogsInfo) = btkSetAnalogLabel(h, idx, newlabel)
(analogs, analogsInfo) = btkSetAnalogLabel(h, label, newlabel)

Examples#