UniSet 2.44.3
Структура uniset::IOControl::IOInfo

#include <IOControl.h>

Граф наследования:uniset::IOControl::IOInfo:
Граф связей класса uniset::IOControl::IOInfo:

Открытые члены

 IOInfo (const IOInfo &r)=delete
IOInfo & operator= (const IOInfo &r)=delete
 IOInfo (IOInfo &&r)=default
IOInfo & operator= (IOInfo &&r)=default
Открытые члены унаследованные от uniset::IOBase
 IOBase (const IOBase &r)=delete
IOBase & operator= (const IOBase &r)=delete
 IOBase (IOBase &&r)=default
IOBase & operator= (IOBase &&r)=default
bool check_channel_break (long val)
bool check_debounce (bool val)
bool check_on_delay (bool val)
bool check_off_delay (bool val)
bool check_front (bool val)
bool check_depend (const std::shared_ptr< SMInterface > &shm)
IOBase make_iobase_copy ()
void create_from_iobase (const IOBase &b)

Открытые атрибуты

int subdev = { DefaultSubdev }
int channel = { DefaultChannel }
int ncard = { DefaultCard }
int aref = { 0 }
int adelay = { 0 }
int range = { 0 }
bool lamp = { false }
bool no_testlamp = { false }
bool enable_testmode = { false }
bool disable_testmode = { false }
Открытые атрибуты унаследованные от uniset::IOBase
IOController_i::SensorInfo si
UniversalIO::IOType stype
IOController_i::CalibrateInfo cal
Calibrationcdiagram
long breaklim
long value
long craw
long cprev
long safeval
long defval
bool safevalDefined = { false }
DigitalFilter df
bool nofilter
bool f_median
bool f_ls
bool f_filter_iir
bool ignore
bool invert
bool noprecision
bool calcrop
PassiveTimer ptDebounce
PassiveTimer ptOnDelay
PassiveTimer ptOffDelay
Trigger trOnDelay
Trigger trOffDelay
Trigger trdebounce
bool debounce_pause
bool debounce_state
bool ondelay_state
bool offdelay_state
uniset::ObjectId d_id
IOController::IOStateList::iterator d_it
long d_value
long d_off_value
UniversalIO::IOType d_iotype
uniset::ObjectId t_ai
IONotifyController_i::ThresholdInfo ti
IOController::IOStateList::iterator t_ait
bool front
FrontType front_type
bool front_prev_state
bool front_state
bool rawdata
IOController::IOStateList::iterator ioit
uniset::uniset_rwmutex val_lock

Друзья

std::ostream & operator<< (std::ostream &os, const IOInfo &inf)
std::ostream & operator<< (std::ostream &os, const std::shared_ptr< IOInfo > &inf)

Дополнительные унаследованные члены

Открытые типы унаследованные от uniset::IOBase
enum  FrontType { ftUnknown , ft01 , ft10 }
Открытые статические члены унаследованные от uniset::IOBase
static void processingF64asAI (IOBase *it, double new_val, const std::shared_ptr< SMInterface > &shm, bool force)
static void processingFasAI (IOBase *it, float new_val, const std::shared_ptr< SMInterface > &shm, bool force)
static void processingAsAI (IOBase *it, long new_val, const std::shared_ptr< SMInterface > &shm, bool force)
static void processingAsDI (IOBase *it, bool new_set, const std::shared_ptr< SMInterface > &shm, bool force)
static long processingAsAO (IOBase *it, const std::shared_ptr< SMInterface > &shm, bool force)
static float processingFasAO (IOBase *it, const std::shared_ptr< SMInterface > &shm, bool force)
static double processingF64asAO (IOBase *it, const std::shared_ptr< SMInterface > &shm, bool force)
static bool processingAsDO (IOBase *it, const std::shared_ptr< SMInterface > &shm, bool force)
static void processingThreshold (IOBase *it, const std::shared_ptr< SMInterface > &shm, bool force)
static bool initItem (IOBase *b, UniXML::iterator &it, const std::shared_ptr< SMInterface > &shm, const std::string &prefix, bool init_prefix_only, std::shared_ptr< DebugStream > dlog=nullptr, std::string myname="", int def_filtersize=0, float def_filterT=0.0, float def_lsparam=0.2, float def_iir_coeff_prev=0.5, float def_iir_coeff_new=0.5)
static std::string initProp (UniXML::iterator &it, const std::string &prop, const std::string &prefix, bool prefonly, const std::string &defval="")
static int initIntProp (UniXML::iterator &it, const std::string &prop, const std::string &prefix, bool prefonly, const int defval=0)
static timeout_t initTimeoutProp (UniXML::iterator &it, const std::string &prop, const std::string &prefix, bool prefonly, const timeout_t defval)
Статические открытые данные унаследованные от uniset::IOBase
static const int DefaultSubdev = -1
static const int DefaultChannel = -1
static const int DefaultCard = -1

Подробное описание

Информация о входе/выходе

Данные класса

◆ aref

int uniset::IOControl::IOInfo::aref = { 0 }

Вид подключения 0 - analog ref = analog ground 1 - analog ref = analog common 2 - analog ref = differential 3 - analog ref = other (undefined)

◆ channel

int uniset::IOControl::IOInfo::channel = { DefaultChannel }

(UNIO) канал [0...23]

◆ disable_testmode

bool uniset::IOControl::IOInfo::disable_testmode = { false }

флаг для режима тестирования tmConfigDisable

◆ enable_testmode

bool uniset::IOControl::IOInfo::enable_testmode = { false }

флаг для режима тестирования tmConfigEnable

◆ lamp

bool uniset::IOControl::IOInfo::lamp = { false }

признак, что данный выход является лампочкой (или сигнализатором)

◆ ncard

int uniset::IOControl::IOInfo::ncard = { DefaultCard }

номер карты [1|2]. -1 - не определена.

◆ no_testlamp

bool uniset::IOControl::IOInfo::no_testlamp = { false }

флаг исключения из 'проверки ламп'

◆ range

int uniset::IOControl::IOInfo::range = { 0 }

Задержка на чтение аналоговых входов с мультиплексированием ( в мкс )

Измерительный диапазон 0 - -10В - 10В 1 - -5В - 5В 2 - -2.5В - 2.5В 3 - -1.25В - 1.25В

◆ subdev

int uniset::IOControl::IOInfo::subdev = { DefaultSubdev }

(UNIO) подустройство (см. comedi_test для конкретной карты в/в)