canOnline
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
void canOnline();// form 1: deprecateddword canOnline(dword flags);// form 2
Description
Restores the connection of the node to the bus. After a call to the functioncanOffline() the node can be connected to the bus with the function canOnline(). Messages sent from the node are passed through to the bus.
If the node is set to offline, output instructions for sending messages in CAPL or modeling library are ignored (refers to a node locally only). Regardless of the status, all messages are received in the CAPL program/NodeLayer.
Form 1 only has an effect on the CAPL-program.
In form 2 you can choose between the CAPL-program and/or the Nodelayer-DLL.
Parameters
- Flags: Indicates the activated part of the node.
1: Activates the CAPL-program2: Activates the Nodelayer3: Activates the CAPL-program and the Nodelayer and attaches the diagnostic ECU simulation to the network, if one is configured for the node