Switch To Undefined Cycle

Attempts to switch the existing cycle to a new one (in milliseconds) for a specified number of times.

If the default value of “repetition” is used, it will be changed until calling “cancel_undefined_cycle”.

Arguments Description

path (str): Path to the network element for which the undefined cycle is applied.

ECU_Name::Npdu_Id (for Npdu) Channel_Name::Frame_Id (for CAN/CANFD)

cycle (int): The duration of the new cycle in milliseconds.

repetition (int): The number of times to attempt the cycle switch. Defaults to 0x7FFFFFFF.

Returns

**For NPDU:

Returns False if the NPDU is not started or the path is invalid.

For CAN/CANFD:

Returns False if the frame is not started or does not support this feature, or the path is invalid.**

Examples

Switch To Undefined Cycle ${path} ${cycle} repetition=${repetition}
Switch To Undefined Cycle ${ECU_Name}::0x123 100
Switch To Undefined Cycle ${ECU_Name}::0x123 100 repetition=5
Switch To Undefined Cycle ${Channel_Name}::0x123 200
Switch To Undefined Cycle ${Channel_Name}::0x123 200 repetition=5