Update Config_Controller
@@ -1,94 +1,105 @@
|
||||
# Controller
|
||||
Definition of a set of hardware controllers. The file contains a JSON structure where each field name corresponds to the name of a controller (the names must be unique strings). These fields then contain a structure that defines the configuration parameters of the controller.
|
||||
|
||||
**type**::<BR>
|
||||
 String value that identifies which hardware interface will handle the controller behaviour. The set of allowed values is listed near the beginning of [`Controller.h`](https://gitlab.psi.ch/microspectro/pixelator/-/blob/master/PixelatorController/src/Controller.h#L19), for example:
|
||||
|
||||
`enum Type { NewPort, NexLine, SmarAct, SmarActUsb, SmarActTcp, Orchestra, Zaber};`
|
||||
|
||||
**active**::<BR>
|
||||
 Integer value that defines if the controller should be used (value of 1) or ignored (value of 0). <BR>
|
||||
 **Default**: 0
|
||||
|
||||
All further parameters are passed to the specific controller code without checking. Therefore, any default values or subtleties in usage will depend on the controller type.
|
||||
|
||||
## NewPort
|
||||
|
||||
**serverAddress**::<BR>
|
||||
 String value that defines the network address where the controller can be accessed. Used together with **serverPort**<BR>
|
||||
 **Default**: empty string
|
||||
|
||||
**serverPort**::<BR>
|
||||
 Integer value that defines the port over which the controller can be accessed. Used together with **serverAddress**<BR>
|
||||
 **Default**: 0
|
||||
|
||||
**timeout**::<BR>
|
||||
 Double value that defines the controller timeout in seconds. <BR>
|
||||
 **Default**: 1.0
|
||||
|
||||
|
||||
## NexLine
|
||||
|
||||
**serverAddress**::<BR>
|
||||
 String value that defines the network address where the controller can be accessed.<BR>
|
||||
 **Default**: empty string
|
||||
|
||||
**serverPort**::<BR>
|
||||
 Integer value that defines the port over which the controller can be accessed.<BR>
|
||||
 **Default**: 0
|
||||
|
||||
|
||||
## SmarAct
|
||||
|
||||
**deviceName**::<BR>
|
||||
 String value that defines the filesystem path where the controller can be accessed. <BR>
|
||||
 **Default**: empty string
|
||||
|
||||
**baudRate**::<BR>
|
||||
 Integer value that defines communication rate of the controller. <BR>
|
||||
 **Default**: 9600
|
||||
|
||||
|
||||
## SmarActUsb
|
||||
|
||||
**deviceName**::<BR>
|
||||
 String value that defines the USB object name where the controller can be accessed. <BR>
|
||||
 **Default**: empty string
|
||||
|
||||
|
||||
## SmarActTcp
|
||||
|
||||
**ipAddress**::<BR>
|
||||
 String value that defines the network address where the controller can be accessed.<BR>
|
||||
 **Default**: empty string
|
||||
|
||||
**port**::<BR>
|
||||
 Integer value that defines the port over which the controller can be accessed.<BR>
|
||||
 **Default**: 55551
|
||||
|
||||
|
||||
## Orchestra
|
||||
|
||||
**loopName**::<BR>
|
||||
 String value that defines which Orchestra loop the controller is associated with. <BR>
|
||||
 **Default**: "ControlLoop"
|
||||
|
||||
**Sensor3Name**::<BR>
|
||||
 String value that defines the module name in the Orchestra configuration for the Z-axis interferometer.<BR>
|
||||
 **Default**: "AttoCube_Sensor"
|
||||
|
||||
**nAxes**::<BR>
|
||||
 Integer value that defines the number of `axis` objects that the controller handles. <BR>
|
||||
 **Default**: 2
|
||||
|
||||
|
||||
## Zaber
|
||||
|
||||
**deviceName**::<BR>
|
||||
 String value that defines the filesystem path where the controller can be accessed. <BR>
|
||||
 **Default**: empty string
|
||||
|
||||
**baudRate**::<BR>
|
||||
 Integer value that defines communication rate of the controller. <BR>
|
||||
 **Default**: 9600
|
||||
|
||||
# Controller
|
||||
Definition of a set of hardware controllers. The file contains a JSON structure where each field name corresponds to the name of a controller (the names must be unique strings). These fields then contain a structure that defines the configuration parameters of the controller.
|
||||
|
||||
**type**::<BR>
|
||||
 String value that identifies which hardware interface will handle the controller behaviour. The set of allowed values is listed near the beginning of [`Controller.h`](https://gitlab.psi.ch/microspectro/pixelator/-/blob/master/PixelatorController/src/Controller.h#L19), for example:
|
||||
|
||||
`enum Type { NewPort, NexLine, SmarAct, SmarActUsb, SmarActTcp, Orchestra, Zaber};`
|
||||
`enum Type { NewPort, NexLine, SmarAct, SmarActUsb, SmarActTcp, Orchestra, Orocos, Zaber, ZmiEpics, PandA };`
|
||||
|
||||
**active**::<BR>
|
||||
 Integer value that defines if the controller should be used (value of 1) or ignored (value of 0). <BR>
|
||||
 **Default**: 0
|
||||
|
||||
All further parameters are passed to the specific controller code without checking. Therefore, any default values or subtleties in usage will depend on the controller type.
|
||||
|
||||
## NewPort
|
||||
|
||||
**serverAddress**::<BR>
|
||||
 String value that defines the network address where the controller can be accessed. Used together with **serverPort**<BR>
|
||||
 **Default**: empty string
|
||||
|
||||
**serverPort**::<BR>
|
||||
 Integer value that defines the port over which the controller can be accessed. Used together with **serverAddress**<BR>
|
||||
 **Default**: 0
|
||||
|
||||
**timeout**::<BR>
|
||||
 Double value that defines the controller timeout in seconds. <BR>
|
||||
 **Default**: 1.0
|
||||
|
||||
|
||||
## NexLine
|
||||
|
||||
**serverAddress**::<BR>
|
||||
 String value that defines the network address where the controller can be accessed.<BR>
|
||||
 **Default**: empty string
|
||||
|
||||
**serverPort**::<BR>
|
||||
 Integer value that defines the port over which the controller can be accessed.<BR>
|
||||
 **Default**: 0
|
||||
|
||||
|
||||
## SmarAct
|
||||
|
||||
**deviceName**::<BR>
|
||||
 String value that defines the filesystem path where the controller can be accessed. <BR>
|
||||
 **Default**: empty string
|
||||
|
||||
**baudRate**::<BR>
|
||||
 Integer value that defines communication rate of the controller. <BR>
|
||||
 **Default**: 9600
|
||||
|
||||
|
||||
## SmarActUsb
|
||||
|
||||
**deviceName**::<BR>
|
||||
 String value that defines the USB object name where the controller can be accessed. <BR>
|
||||
 **Default**: empty string
|
||||
|
||||
|
||||
## SmarActTcp
|
||||
|
||||
**ipAddress**::<BR>
|
||||
 String value that defines the network address where the controller can be accessed.<BR>
|
||||
 **Default**: empty string
|
||||
|
||||
**port**::<BR>
|
||||
 Integer value that defines the port over which the controller can be accessed.<BR>
|
||||
 **Default**: 55551
|
||||
|
||||
|
||||
## Orchestra
|
||||
|
||||
**loopName**::<BR>
|
||||
 String value that defines which Orchestra loop the controller is associated with. <BR>
|
||||
 **Default**: "ControlLoop"
|
||||
|
||||
**Sensor3Name**::<BR>
|
||||
 String value that defines the module name in the Orchestra configuration for the Z-axis interferometer.<BR>
|
||||
 **Default**: "AttoCube_Sensor"
|
||||
|
||||
**nAxes**::<BR>
|
||||
 Integer value that defines the number of `axis` objects that the controller handles. <BR>
|
||||
 **Default**: 2
|
||||
|
||||
## Orocos
|
||||
|
||||
Documentation required.
|
||||
|
||||
## Zaber
|
||||
|
||||
**deviceName**::<BR>
|
||||
 String value that defines the filesystem path where the controller can be accessed. <BR>
|
||||
 **Default**: empty string
|
||||
|
||||
**baudRate**::<BR>
|
||||
 Integer value that defines communication rate of the controller. <BR>
|
||||
 **Default**: 9600
|
||||
|
||||
## ZmiEpics
|
||||
|
||||
Documentation required.
|
||||
|
||||
## PandA
|
||||
|
||||
Documentation required.
|
||||
Reference in New Issue
Block a user