RadiMation Application Note 114: Difference between revisions
Jump to navigation
Jump to search
(Created page with '= Measuring data from the EUT using the Configurable AD Convertor device driver = This Application Note explains how {{RadiMation}} can be configured to protect changes in the co…') |
No edit summary |
||
Line 14: | Line 14: | ||
[[Category:RadiMation Application Note]] | [[Category:RadiMation Application Note]] | ||
[[Category:RadiMation]] | [[Category:RadiMation]] | ||
= How to configure a Configurable AD Convertor = | |||
<!-- Include a space to get a newline!! --> <!-- Beware of the space!! --> | |||
<div style="text-align: left; direction: ltr; margin-left: 2em;">[[Image:Configurable AD Converter Configuration Window.png]]</div> | |||
== 1 Specify the communication type == | |||
First the communication type must be configured. | |||
<div style="text-align: left; direction: ltr; margin-left: 2em;">[[File:ConfigureCommunication.png]]</div> | |||
== 2 Configure the initialization of the device == | |||
{{ScreenElementDescriptionStart}} | |||
{{ScreenElementDescription|Reset|The reset code that needs to be send to device. When left blank no command will be send.}} | |||
{{ScreenElementDescription|Init|The Init code that needs to be send to device. When left blank no command will be send.}} | |||
{{ScreenElementDescription|Get Id|The code that needs to be send to device to get the identification back. A common used [[SCPI]] command is *IDN?. When left blank no command will be send.}} | |||
{{ScreenElementDescriptionEnd}} | |||
== 3 Configure the data readout of the device == | |||
{{ScreenElementDescription|Trigger and Reading| | |||
{{ScreenElementDescription|Trigger|The command need to trigger the measurement. A common used [[SCPI]] is *TRG. When left blank no command will be send.}} | |||
{{ScreenElementDescription|Read Back|In the read back the returned information is defined. This is different for every type of machine there for {{radimation}} used [[regular expressions]] to understand the format. A good regular expression for finding the first number in scientific notation in a text is: | |||
'''([+-]?[0-9]*\.?[0-9]+([eE][+-]?[0-9]+)?)''' | |||
For more possibilities see the example section | |||
}} | |||
}} | |||
{{ScreenElementDescription|Trigger and Reading| | |||
{{ScreenElementDescription|Minimum value|The lowest value that can be measured with this device. The value must be the same as filled in the [[EUT]] window.}} | |||
{{ScreenElementDescription|Maximum value|The highest value that can be measured with this device. The value must be the same as filled in the [[EUT]] window.}} | |||
}} | |||
== 4 Configure multiple channels for 1 device == | |||
== Examples == | |||
{| class="Regex example table" | |||
|- | |||
! <div style="text-align: left; direction: ltr; margin-left: 0em;">Received information</div> | |||
! <div style="text-align: left; direction: ltr; margin-left: 1em;">Regex</div> | |||
! <div style="text-align: left; direction: ltr; margin-left: 1em;">RadiMation Readout</div> | |||
! <div style="text-align: left; direction: ltr; margin-left: 1em;">Note</div> | |||
|- | |||
| U_L_N 325 | |||
| <div style="text-align: right; direction: ltr; margin-left: 1em;">(-?[0-9.,Ee-]+)</div> | |||
| <div style="text-align: right; direction: ltr; margin-left: 1em;">325 | |||
| <div style="text-align: left; direction: ltr; margin-left: 1em;">Takes the first number.</div> | |||
|- | |||
| I_L1;12.34 | |||
| <div style="text-align: right; direction: ltr; margin-left: 1em;">;(-?[0-9.,Ee-]+)</div> | |||
| <div style="text-align: right; direction: ltr; margin-left: 1em;">12.34 | |||
| <div style="text-align: left; direction: ltr; margin-left: 1em;">Takes the first number after ";".</div> | |||
|- | |||
| THD_U_L1;;14,5 | |||
| <div style="text-align: right; direction: ltr; margin-left: 1em;">;;(-?[0-9.,Ee-]+)</div> | |||
| <div style="text-align: right; direction: ltr; margin-left: 1em;">14.5</div> | |||
| <div style="text-align: left; direction: ltr; margin-left: 1em;">Takes the first number after ";;". | |||
|- | |||
| AC_FREQ;Channel1;1.23E3 | |||
| <div style="text-align: right; direction: ltr; margin-left: 1em;">;*;(-?[0-9.,Ee-]+)</div> | |||
| <div style="text-align: right; direction: ltr; margin-left: 1em;">1230</div> | |||
| <div style="text-align: left; direction: ltr; margin-left: 1em;">Takes the first number after the appearance of a second ";". | |||
|} | |||
Read backs can always be tested trough the "Validate Expression tool" | |||
<div style="text-align: left; direction: ltr; margin-left: 2em;">[[File:ValidateExpressionTool.png]]<\div> | |||
[[Category:Configurable Drivers]] |
Revision as of 12:24, 6 October 2016
Measuring data from the EUT using the Configurable AD Convertor device driver[edit]
This Application Note explains how RadiMation® can be configured to protect changes in the configuration by unqualified engineers.
Title of alinea 1[edit]
Text here
How to configure a Configurable AD Convertor[edit]
1 Specify the communication type[edit]
First the communication type must be configured.
2 Configure the initialization of the device[edit]
Reset | The reset code that needs to be send to device. When left blank no command will be send. |
Init | The Init code that needs to be send to device. When left blank no command will be send. |
Get Id | The code that needs to be send to device to get the identification back. A common used SCPI command is *IDN?. When left blank no command will be send. |
3 Configure the data readout of the device[edit]
Trigger and Reading |
|
Trigger and Reading |
|
4 Configure multiple channels for 1 device[edit]
Examples[edit]
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 ";".
|
Read backs can always be tested trough the "Validate Expression tool"