Scripting API

btkSetAnalogUnit

Module BTKAnalogModifier

Description#

Modifies the analog's unit and returns a list of the updated analog channels.

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.
newunitString with the new unit.

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#

  • btkSetAnalogUnit(h, idx, newunit) modifies the unit of the analog channel specified by the index idx.
  • btkSetAnalogUnit(h, label, newunit) modifies the unit of the analog channel specified by the label label.

Notes#

See also#

btkGetAnalog, btkSetAnalogDescription, btkSetAnalogGain, btkSetAnalogLabel, btkSetAnalogOffset, btkSetAnalogScale, btkSetAnalogValues

Syntax#

(analogs, analogsInfo) = btkSetAnalogUnit(h, idx, newunit)
(analogs, analogsInfo) = btkSetAnalogUnit(h, label, newunit)

Examples#