Skip to content

How to trace multiple signals in one transition

Example

Screenshot

Actions

if( rtport == &LowerLimitDi) {
        po_DLOG("AutomaticMode.IncomingLimitDi") << "LowerLimitDi is High!" << CLOSELOG;
}
else if( rtport == &UpperLimitDi) {
        po_DLOG("AutomaticMode.IncomingLimitDi") << "UpperLimitDi is High!" << CLOSELOG;
}
else if( rtport == &MiddleLimitDi) {
        po_DLOG("AutomaticMode.IncomingLimitDi") << "MiddleLimitDi is High!" << CLOSELOG;
} else  {
        po_DLOG("AutomaticMode.IncomingLimitDi") << "Not correct! Something wrong" << CLOSELOG;
}
LastLimitDiPort = rtport;

po_DLOG("AutomaticMode.IncomingLimitDi") << "UnwindingEndless!" << CLOSELOG;
po_DLOG("AutomaticMode.IncomingLimitDi") << "StartMoving-Timer for " << m_xdSecondsToDelay << " seconds" << CLOSELOG;
if( m_oDelayTimerIdSmall.isValid() )
                DelayTimerSmall.cancelTimer( m_oDelayTimerIdSmall );
m_oDelayTimerIdSmall = DelayTimerSmall.informIn( CrTimeUtil::GetTimespecFromMilliSecs(1000) );

if (!m_xbBufferNeedsTorqueMode)  // only for testing - older version
    UnwinderDrive.StopOff(CdDriveStopOffTypes( CdDriveStopOffTypes::SOT_STOP)).send();

po_DLOG("AutomaticMode.IncomingLimits") << "Signalname=" << getMsg()->getSignalName() << CLOSELOG;