Previous topic

spinnman.messages.scp.impl.scp_app_stop_request module

Next topic

spinnman.messages.scp.impl.scp_check_ok_response module

This Page

spinnman.messages.scp.impl.scp_application_run_request module

class spinnman.messages.scp.impl.scp_application_run_request.SCPApplicationRunRequest(app_id, x, y, processors)[source]

Bases: spinnman.messages.scp.abstract_messages.abstract_scp_request.AbstractSCPRequest

An SCP request to run an application loaded on a chip

Parameters:
  • app_id (int) – The id of the application to run, between 16 and 255
  • x (int) – The x-coordinate of the chip to run on, between 0 and 255
  • y (int) – The y-coordinate of the chip to run on, between 0 and 255
  • processors – The processors on the chip where the executable should be started, between 1 and 17
Raises spinnman.exceptions.SpinnmanInvalidParameterException:
 

  • If the app_id is out of range
  • If the chip coordinates are out of range
  • If one of the processors is out of range

Attributes

argument_1 The first argument, or None if no first argument
argument_2 The second argument, or None if no second argument
argument_3 The third argument, or None if no third argument
data The data, or None if no data
scp_request_header The SCP request header of the message
sdp_header The SDP header of the message

Methods

get_scp_response() See spinnman.messages.scp.abstract_scp_request.AbstractSCPRequest.get_scp_response()

Detailed Methods

get_scp_response()[source]

See spinnman.messages.scp.abstract_scp_request.AbstractSCPRequest.get_scp_response()