MIES icon indicating copy to clipboard operation
MIES copied to clipboard

Simplify test writing for measurement result based tests

Open MichaelHuth opened this issue 2 years ago • 0 comments

For hardware tests there is InitDAQSettingsFromString/AcquireDataNG to have a simple setup of a test.

For the tests without hardware there is also the need to setup a state that resembles the moment after acquisition. To achieve this we setup the config wave, sweep data and labnotebook "manually" at the moment. It would simplify the tests if we use a similar approach as for the hardware tests.

"__SWEEP0_GEN:StimGenFunc:__HS0_DA0_AD0_CM:IC:_ST:StimulusSetA_DA_0:__NLBN_KEY:key:_LBNHS:0:_VAL:value:__TLBN_KEY:key:_LBNHS:INDEP:_VAL:text:"

  • for any value text entry in the string, allow a special prefix that indicates a base64 encoded content, #B64 (needed for test values as epoch strings)
  • The setup should use the same string parser
  • The default device/channel LNB entries should be set by the base setup already
  • For the first implementation limit to the state that we need for the current tests

MichaelHuth avatar Jul 28 '23 12:07 MichaelHuth