call_command
Runs a SiLA 2 command on a configured server and returns its responses, waiting for observable commands to finish or time out; use it to operate instruments, including actions that may move hardware.
Instructions
Run a SiLA 2 command and return its responses. MAY MOVE HARDWARE.
parameters maps parameter identifiers to values, e.g. {"BucketNumber": 1}.
An observable command is waited for until it finishes or timeout_s passes; its
intermediate responses are collected and returned. On failure, ok is false and
error holds the SiLA error (defined execution error identifier and message).
feature is needed only when two features of the server share the command name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | ||
| command | Yes | ||
| feature | No | ||
| timeout_s | No | ||
| parameters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||