Skip to main contentOpen topic with navigation
CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_TIMSetServerStatus
Iso11783IL_TIMSetServerStatus
Valid for: CANoe DE • CANoe4SW DE
Function Syntax
long Iso11783IL_TIMSetServerStatus(dword cycleTime); // form 1
long Iso11783IL_TIMSetServerStatus(dword cycleTime, pg TIM12 pgWithNewContent); // form 2
long Iso11783IL_TIMSetServerStatus(dbNode server, dword cycleTime); // form 3
long Iso11783IL_TIMSetServerStatus(dbNode server, dword cycleTime, pg TIM12 pgWithNewContent); // form 4
Description
- Forms (1, 3): This function changes the cycle time of the TIM_ServerStatus_Msg message. The content of TIM_ServerStatus_Msg message stays unchanged.
- Forms (2, 4): This function changes the content and cycle time of the TIM_ServerStatus_Msg message.
Parameters
- cycleTime: Cycle time of the TIM_ServerStatus_Msg message [ms] (default: 100).
- pgWithNewContent: Content of this message is used by the following TIM_ServerStatus_Msg messages sent by the TIM server.
- server: TIM server node.
Return Values
- 0: Property has been set successfully
- < 0: An error has occurred, see error codes
Example
—