get_messages#

MotorCAD.get_messages(num_messages)#

Get a list of the last N messages from the message history.

Parameters:
num_messagesint

Number of last messages to get. If is parameter is set to 0, all messages in the history are returned.

Returns:
List

List of messages.