From ce026fa2d475616e1e1d9bbd76241f473e2110c7 Mon Sep 17 00:00:00 2001 From: Thomas Braun Date: Fri, 6 Sep 2024 15:55:31 +0200 Subject: [PATCH] PS_DS_AD9: Fix it This test uses PSQ_TEST_VERY_LARGE_FREQUENCY to use a frequency which results in a very large fit slope. The update of the JSON XOP extended the range of valid values, so we also need to use a larger value here. The removed finite check in CheckRangeOfUserLabnotebookKeys is unfortunate but should not be a problem. --- Packages/tests/UTF_Constants.ipf | 2 +- Packages/tests/UTF_HardwareHelperFunctions.ipf | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Packages/tests/UTF_Constants.ipf b/Packages/tests/UTF_Constants.ipf index 8b0be728ad..50cb63b4a9 100644 --- a/Packages/tests/UTF_Constants.ipf +++ b/Packages/tests/UTF_Constants.ipf @@ -13,4 +13,4 @@ StrConstant ZSTD_SUFFIX = ".zst" Constant TP_DURATION_S = 5 -Constant PSQ_TEST_VERY_LARGE_FREQUENCY = 1e300 +Constant PSQ_TEST_VERY_LARGE_FREQUENCY = 1e350 diff --git a/Packages/tests/UTF_HardwareHelperFunctions.ipf b/Packages/tests/UTF_HardwareHelperFunctions.ipf index 4b1edc5fa9..fe40fbc167 100644 --- a/Packages/tests/UTF_HardwareHelperFunctions.ipf +++ b/Packages/tests/UTF_HardwareHelperFunctions.ipf @@ -772,8 +772,6 @@ static Function CheckRangeOfUserLabnotebookKeys(string device, variable type, va endif endif - CHECK(IsFinite(value)) - INFO("sweepNo=%g, entry=%s, unit=%s\r", n0 = sweepNo, s0 = entry, s1 = unit) // do a coarse range check