mostGenerateBusloadCtrl
Valid for: CANoe DE NoteThis function is available with MOST hardware VN2600, VN2610, VN2640, OptoLyzer G2 3150o, OptoLyzer MOCCA compact 50e, and OptoLyzer MOCCA compact 150c.
Function Syntax
Description
The function sends cyclical messages to the control channel. Use the mostConfigureBusloadCtrl() function to specify the send parameters and contents of the message. Note for OptoLyzer G2 3150o, OptoLyzer MOCCA compact 50e and OptoLyzer MOCCA compact 150cThis function shows no effect if the StressNIC is not set to slave mode. For that purpose use mostSetStressNodeParameter function with the proper parameter.
Parameters
- channel: Channel of the connected MOST hardware.
- pkts:
0: Stops the busload generation>0: Sends the given number of packets-1: Sends continual packets
Return Values
<= 0: See error codes