Can a measurement collected over UART be used later?
The "Detail" result of any test step (including measurements) can be extracted in a user key and used in the remainder of the test plan.
For example:
- command: measure voltageDATP07 1.25-1.35V
extractKey: VOLTAGE
- uartcmd: uart UART0
send: "voltage %VOLTAGE%"
What is not really practical is to do calculations with these values, as the extracted key is a string such as "1.125V". So although these could be further parsed with the regular expressions using the eval command, this would only really work when performing calculations on measurement results that share the same magnitude suffix.
We are tracking an internal feature request to facilitate calculations of measurements (for example by allowing you to extract the internal voltage representation which is a 64-bit nanovolt value)
Please sign in to leave a comment.
Comments
0 comments