SmarActMCS2Ctrl Class Attributes
Name
Inherited
Abstract
Attr. type
R/W type
Data type
Level
Description
StreamBaseRate false false Scalar READ_WRITE Tango::DEV_LONG OPERATOR Stream base rate for trajectory streaming.
Range: 10 - 1000 hz

Smaract property: SA_CTL_PKEY_STREAM_BASE_RATE
StreamTriggerMode false false Scalar READ_WRITE Tango::DEV_LONG OPERATOR Stream trigger mode for trajectory streaming:

0: Direct Mode
1: External Once Mode
2: External Synchronization Mode
3: External

Check the Smaract docs on the specific meaning of these modes

Smaract command: SA_CTL_OpenStream
ExternalSyncRate false false Scalar READ_WRITE Tango::DEV_LONG OPERATOR External stream synchronization rate in Hz for the trajectory streaming.
May be used to synchronize the internal position streaming clock to an external clock signal.
StreamBaseRate must be a whole-number multiple of the external sync rate.

Value is ony used when trigger mode is set to external sync ( = 2).

Smaract property: SA_CTL_PKEY_STREAM_EXT_SYNC_RATE
StreamLoadMax false false Scalar READ Tango::DEV_LONG OPERATOR Shows the maximum load generated by the current stream in percent. It acts like a peak
detector. The highest load level generated by the currently running stream is
shown. When starting the trajectory streaming the load value is reset to zero.

Smaract property: SA_CTL_PKEY_STREAM_LOAD_MAX
StreamReady false false Scalar READ Tango::DEV_BOOLEAN OPERATOR Will change to true when sufficient trajectory stream data have been transmitted
to the controller so streaming an be started.
A change event with value true when the stream is ready and with value
false when the stream is started will be emitted.

Smaract event: SA_CTL_EVENT_STREAM_READY
StreamStarted false false Scalar READ Tango::DEV_BOOLEAN OPERATOR Will change to true when the trajectory stream is started and to false
when the stream is finished.
A change event with value true when the stream is started and with value
false when the stream is finished will be emitted.

Smaract event: SA_CTL_EVENT_STREAM_FINISHED
IOModulePresent false false Scalar READ Tango::DEV_BOOLEAN OPERATOR True, if io module is installed in the controller.

Checked by setting SA_CTL_PKEY_IO_MODULE_OPTIONS
with SA_CTL_IO_MODULE_OPT_BIT_DIGITAL_OUTPUT_ENABLED and evaluating the return code.
LinearInterpolation false false Scalar READ_WRITE Tango::DEV_BOOLEAN OPERATOR Enable / disable linear interpolation of path between consecutive stream target positions
true: enabled
false: disabled

Smaract property: SA_CTL_PKEY_STREAM_OPTIONS/SA_CTL_STREAM_OPT_BIT_INTERPOLATION_DIS
EventInfo false false Spectrum READ Tango::DEV_ULONG OPERATOR Used to propagate events from hardware to axis devices:
0: axis index
1: event type
2: further event description





SmarActMCS2Ctrl Class Dynamic Attributes
Name
Inherited
Abstract
Attr. type
R/W type
Data type
Level
Description
I32Property false false Scalar READ_WRITE Tango::DEV_LONG OPERATOR For internal use only
F64Property false false Scalar READ_WRITE Tango::DEV_DOUBLE OPERATOR
I32Event false false Spectrum READ Tango::DEV_ULONG OPERATOR Internal use only
ImageWriteDynAttr false false Image WRITE Tango::DEV_DOUBLE OPERATOR Data for trajectory movement, must be organized like this:

axis_X position axis_Y position axis_Z position ...
axis_X position axis_Y position axis_Z position ...
axis_X position axis_Y position axis_Z position ...
axis_X position axis_Y position axis_Z position ...
...