Difference between revisions of "Configurable Turn Table"

From RadiWiki
Jump to: navigation, search
(Read Back examples)
Line 22: Line 22:
  
 
{{ScreenElementDescriptionStart}}
 
{{ScreenElementDescriptionStart}}
{{ScreenElementDescription|Goto angle|The command that should be send to turn the turn table. The command must use the variable name __degree__ or __radian__.}}
+
{{ScreenElementDescription|Goto angle|The command that should be send to turn the turn table. The command must include the keyword __angle__, __degree__ or __radian__, which will be replaced by the desired destination angle for the turntable.}}
 
{{ScreenElementDescription|Current Angle|This is the command to request the current angle of the device.}}
 
{{ScreenElementDescription|Current Angle|This is the command to request the current angle of the device.}}
{{ScreenElementDescription|Goto angle format|This is a regular expression to obtain the current angle to from the reponse of the Current angle command. See regular expression examples below.}}
+
{{ScreenElementDescription|Goto angle format|This is a [[regular expression]] to obtain the current angle from the response of the Current angle command. See regular expression examples below.}}
{{ScreenElementDescription|Movement ready|This is the command to request the current status of the turn table.}}
+
{{ScreenElementDescription|Movement ready|This is the command to request the current status of the turn table. This command is used to determine if the turntable is ready with the movement to the destination angle.}}
{{ScreenElementDescription|Movement ready response|This should be the status when the turntable is not moving/rotating}}
+
{{ScreenElementDescription|Movement ready response|This should be the response from the device when the turntable is not moving/rotating anymore.}}
{{ScreenElementDescription|Stop|This is the command to abort/stop any rotation}}
+
{{ScreenElementDescription|Stop|This is the command to abort/stop any rotation.}}
 
{{ScreenElementDescriptionEnd}}
 
{{ScreenElementDescriptionEnd}}
  
  
== Read Back examples ==
+
== Regular expression examples ==
 
{| class="Regex example table"
 
{| class="Regex example table"
 
|-
 
|-

Revision as of 08:50, 19 April 2018

The Configurable Turn Table device driver is a Turn Table which is supported by RadiMation®.   It can be used to control other measurement equipment, for which no RadiMation device driver is available yet. The Configurable Turn Table allows to manual create a device driver to controll a Turn Table. Where the device then can be used in RadiMation. The Turn Table can thus be used for tests.

Initialisation and Check

Configurable Turn Table Configuration Window.png


ScreenElementDescription.png Reset The reset code that needs to be send to device. When left blank, no command will be send.
ScreenElementDescription.png Init The command that is send to initialize the configured device. When left blank no command will be send.
ScreenElementDescription.png Get Id The command that is send to retrieve the ID of the device. This is used to check if the device is connected. A commonly used SCPI command is: *IDN?. When left blank, no command will be send.
ScreenElementDescription.png Returned ID The identifier is used to check if the correct device driver is selected and the device is connected. Leaving this blank, will skip the device check.
ScreenElementDescription.png Deinit Specifies the command that is send when the device is no longer controlled. This can for example be used to put the measurement device is an intrinsic safe state. Leaving this blank, will keep the device in its last state after controlling it.
ScreenElementDescription.png Wait for Completion after sending command The checkmark can be enabled so RadiMation® will wait for all the commands to complete, before it continues. This is done by sending SCPI command *OPC? to the device.


ScreenElementDescription.png Goto angle The command that should be send to turn the turn table. The command must include the keyword __angle__, __degree__ or __radian__, which will be replaced by the desired destination angle for the turntable.
ScreenElementDescription.png Current Angle This is the command to request the current angle of the device.
ScreenElementDescription.png Goto angle format This is a regular expression to obtain the current angle from the response of the Current angle command. See regular expression examples below.
ScreenElementDescription.png Movement ready This is the command to request the current status of the turn table. This command is used to determine if the turntable is ready with the movement to the destination angle.
ScreenElementDescription.png Movement ready response This should be the response from the device when the turntable is not moving/rotating anymore.
ScreenElementDescription.png Stop This is the command to abort/stop any rotation.


Regular expression examples

Received information
Regex
RadiMation Readout
Note
U_L_N 325
(-?[0-9.,Ee-]+)
325
Takes the first number.
I_L1;12.34
;(-?[0-9.,Ee-]+)
12.34
Takes the first number after ";".
THD_U_L1;;14,5
;;(-?[0-9.,Ee-]+)
14.5
Takes the first number after ";;".
AC_FREQ;Channel1;1.23E3
;.*;(-?[0-9.,Ee-]+)
1230
Takes the first number after the appearance of a second ";".