You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If wait_until_done=False, call niDigital_BurstPattern(wait_until_done=False) and return None.
If wait_until_done=True, call niDigital_BurstPattern(wait_until_done=True). Then call niDigital_GetSitePassFail() to get pass-fail results as list of bools. Then call niDigital_GetSiteResultsSiteNumbers() to get the sites corresponding to the results. Finally return the results as a dictionary of site (str): Pass-fail result (bool).
The text was updated successfully, but these errors were encountered:
Description of issue
There are two variants of
burst_pattern
in LV and .NET APIs:Currently, to do what the 2nd variant in other APIs do, users have to call three methods:
..which is ugh. Also, 2nd variant is the majority use-case.
We should make burst_pattern more usable by making these changes:
wait_until_done=True, timeout=10
. This will be done when Improve usability of nidigital API by making method args optional when applicable #1072 is fixed.wait_until_done=False
, callniDigital_BurstPattern(wait_until_done=False)
and returnNone
.wait_until_done=True
, callniDigital_BurstPattern(wait_until_done=True)
. Then callniDigital_GetSitePassFail()
to get pass-fail results as list of bools. Then callniDigital_GetSiteResultsSiteNumbers()
to get the sites corresponding to the results. Finally return the results as a dictionary ofsite (str): Pass-fail result (bool)
.The text was updated successfully, but these errors were encountered: