Capsule API Example

Loading...
Searching...
No Matches
Functions
CResistances.h File Reference
`#include "CDefinesPrivate.h"`

Go to the source code of this file.

## Functions
| CLC_STRUCT_WNN (Resistances, clCResistance, device)
| Used to receive channel resistances from Capsule.
CL_DLL int32_t | clCResistance_GetCount (clCResistance resistance) NOEXCEPT
| Get total number of resistance channels.
CL_DLL const char * | clCResistance_GetChannelName (clCResistance resistance, int32_t index) NOEXCEPT
| Get channel name by index.
CL_DLL float | clCResistance_GetValue (clCResistance resistance, int32_t index) NOEXCEPT
| Get channel resistance by index.

## Function Documentation

## ◆ CLC_STRUCT_WNN()

CLC_STRUCT_WNN | ( | Resistances | ,
|  | clCResistance | ,
|  | device | )

Used to receive channel resistances from Capsule.

Contains electrode resistances of the device

## ◆ clCResistance_GetChannelName()

CL_DLL const char * clCResistance_GetChannelName | ( | clCResistance | resistance,
|  | int32_t | index )

Get channel name by index.

Parameters

  resistance | resistances handle
  index | channel index

Returns
  channel name

## ◆ clCResistance_GetCount()

CL_DLL int32_t clCResistance_GetCount | ( | clCResistance | resistance | ) |

Get total number of resistance channels.

Parameters

  resistance | resistances handle

Returns
  number of channels

## ◆ clCResistance_GetValue()

CL_DLL float clCResistance_GetValue | ( | clCResistance | resistance,
|  | int32_t | index )

Get channel resistance by index.

Parameters

  resistance | resistances handle
  index | channel index

Returns
  resistance value