PREMIUM FEATURE BETA
🔹 RPCs
rpc RTTask (RTTaskRequest) returns (RTTaskResponse) {};
rpc RTTaskBatch(RTTaskBatchRequest) returns (RTTaskBatchResponse) {};
🔹 Request
message RTTaskRequest {
RSI.RapidServer.RequestHeader header = 1;
int32 id = 2;
int32 manager_id = 3;
optional RTTaskConfig config = 4;
optional RTTaskAction action = 5;
}
🔹 Response
message RTTaskResponse {
RSI.RapidServer.ResponseHeader header = 1;
int32 id = 2;
int32 manager_id = 3;
optional RTTaskConfig config = 4;
optional RTTaskAction action = 5;
optional RTTaskInfo info = 6;
optional RTTaskStatus status = 7;
}
🔹 Batch Request and Response
message RTTaskBatchRequest {
RSI.RapidServer.RequestHeader header = 1;
repeated RTTaskRequest requests = 2;
}
message RTTaskBatchResponse {
RSI.RapidServer.ResponseHeader header = 1;
repeated RTTaskResponse responses = 2;
}
TaskPriority
Enum representing the priority levels for a real-time task.
RTTaskManagerState
Enum representing the possible states of an RTTaskManager.
RTTaskState
Enum representing the possible states of a real-time task.
PlatformType
Enum representing the platform type for an RTTaskManager.
RSINetworkEniResult
NetworkEniGenerate return values.
RSINetworkStartMode
Network start modes.
RSIMotorDisableAction
Action for when a motor is disabled.
RSINetworkStartError
Network start errors.
RSIMultiAxisAddressType
Used to get firmware address used in User Limits, Recorders, etc.
INtimeStatus
INtime status values.
RSIHomeStage
Predefined Homing Stage sections.
RSINetworkType
Type of Network topology.
RSINodeType
Valid Node types.
🔹 Config
🔹 Action
message RTTaskAction {
optional Stop stop = 1;
optional TimingReset timing_reset = 2;
optional ExecutionCountAbsoluteWait execution_count_absolute_wait = 3;
optional ExecutionCountRelativeWait execution_count_relative_wait = 4;
message Stop {}
message TimingReset {}
message ExecutionCountAbsoluteWait {
optional int64 count = 1;
optional int32 timeout_ms = 2;
}
message ExecutionCountRelativeWait {
optional int64 count = 1;
optional int32 timeout_ms = 2;
}
}
🔹 Info
message RTTaskInfo {
int32 id = 1;
int32 manager_id = 2;
RTTaskCreationParameters creation_parameters = 3;
Constants constants = 4;
message Constants {
CreationParameterConstants creation_parameters = 1;
StatusConstants status = 2;
message CreationParameterConstants {
int32 directory_length_maximum = 1;
int32 name_length_maximum = 2;
int32 priority_default = 3;
int32 repeat_forever = 4;
int32 repeat_none = 5;
int32 period_default = 6;
int32 phase_default = 7;
int32 enable_timing_default = 8;
}
message StatusConstants {
int64 invalid_execution_count = 1;
uint64 invalid_execution_time = 2;
}
}
}
🔹 Status
message RTTaskStatus {
optional int64 execution_count = 2;
optional uint64 execution_time_max = 3;
optional uint64 execution_time_min = 4;
optional double execution_time_mean = 5;
optional uint64 execution_time_last = 6;
}
🔹 Additional Messages
RTTaskStateUNKNOWN = 0;
RTTaskStateDEAD = 1;
RTTaskStateDISABLED = 2;
RTTaskStateWAITING = 3;
RTTaskStateRUNNING = 4;
}