09.01.2013 Views

CANoe DENoe - KEMT FEI TUKE

CANoe DENoe - KEMT FEI TUKE

CANoe DENoe - KEMT FEI TUKE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

50<br />

Note: The number of channels is configuration-specific. It is saved in the configuration<br />

file and is restored when loading the configuration.<br />

2.4.2 Channels in Online Mode<br />

In Online mode with a real bus (menu item Configure│Simulation...) messages<br />

from the simulation setup are transmitted on one or more real buses, and in the<br />

measurement setup they are received by one or more real buses. The defined channels<br />

correspond to these real buses with their controllers.<br />

If you specify more than 2 CAN channels the following conditions must be satisfied to<br />

be able to start a measurement:<br />

• Your active CAN driver must support more than 2 CAN channels. If this is not<br />

the case, you will receive a warning if you specify more than 2 CAN channels.<br />

• A real or virtual CAN controller must be assigned to each channel. If this is not<br />

the case, you will be requested to make such an assignment.<br />

In the Channel Definition Dialog you can choose whether or not a consistency check<br />

should be performed after configuration. The consistency check covers database assignments<br />

and the configuration of all function blocks with the exception of CAPL<br />

blocks. The check monitors whether invalid channels are referenced. If this is the<br />

case an inconsistency is reported. These reports can be output to the Write window if<br />

desired.<br />

With CAPL blocks a determination of whether all referenced channels are valid is not<br />

made until compilation. A warning is output if any channels are invalid. Therefore, it is<br />

advisable to recompile all nodes after each new definition of channels.<br />

If you use undefined channels, <strong>CANoe</strong> behaves as follows in Online mode:<br />

• Channel configuration does not cause any filtering of messages in the data flow<br />

plan.<br />

• When receiving on controllers not assigned to a defined channel, the received<br />

messages are passed through the measurement setup.<br />

• When transmitting from a Generator block or Replay block in the measurement<br />

setup to an undefined channel, the transmit request is similarly passed through.<br />

• An error is reported in the Write window for a sender in the simulation setup as<br />

soon as the transmit request is given to an undefined channel. The message is<br />

not transmitted.<br />

• CAPL blocks do not transmit messages to which an undefined channel is assigned.<br />

2.4.3 Channels in Simulation Mode<br />

In <strong>CANoe</strong>'s Simulation mode (Online mode, Simulated bus option in the menu Configure│Simulation...)<br />

buses and network nodes are fully simulated.<br />

Each channel corresponds to a simulated bus. Set up your channel definition according<br />

to how many buses you wish to simulate.<br />

If you use channels that are not defined, <strong>CANoe</strong> behaves as follows in Simulation<br />

mode:<br />

© Vector Informatik GmbH <strong>CANoe</strong>/<strong>DENoe</strong> Manual Version 4.1.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!