Skip to content

CdDiNotifs

CdDiNotifs

"CdDiNotifs object with all params" CdDiNotifs oNotif; oNotif.m_bOnHigh = true; oNotif.m_bOnLow = false; oNotif.m_bOnRising = true; oNotif.m_bOnFalling = false; oNotif.m_fSettlingTimeInMs = 20; oNotif.m_fTimeoutInMs = 2000; oNotif.m_bConfirmation = false;

m_bOnHigh

When this parameter is true we will get event when signal has High value. Allowed values are true and false.


m_bOnLow

When this parameter is true we will get event when signal has Low value. Allowed values are true and false.


m_bOnRising

When this parameter is true we will get event when signal change value from Low to High. Allowed values are true and false.


m_bOnFalling

When this parameter is true we will get event when signal change value from High to Low. Allowed values are true and false.


m_fSettlingTimeInMs

When we have configured this parameter we will get event only when signal stay on same value for m_fSettlingTimeInMs miliseconds. Allowed values are positive numbers.


m_fTimeoutInMs

When we have configured this parameter we will get timeout event if we dont reach new value in m_fTimeoutInMs. Allowed values are positive numbers.


m_bConfirmation

When this parameter is true we will get aditional confirmation from port. This can be use for quick process to be sure arming is done correctly.