# Clocked Data Storage Vision Data Access functions

This topic lists the Vision Data Access functions that get values from a Count structure

Note:

- For the GetErrorCount, the GetFailCount, the GetPassCount and the GetTotalCount functions, returned values are from a referenced Count structure, which is inserted in the spreadsheet when the CountPassFail function is created.

Function | Description
GetCount(Structure) | Returns the Count value from a Delay structure.
GetErrorCount(Structure) | Returns the incremental count of errors from a Count structure. The counter is incremented when the returned value is less than zero.
GetFailCount(Structure) | Returns the incremental count of failures from a Count structure. The counter is incremented when the returned value is equal to zero.
GetLoopCount(Loop) | Returns the current index of the repeated iterations performed by a Repeat or RepeatUntil function stored in a Loop data structure. For more information, see Repeat and RepeatUntil. Note: To ensure proper evaluation, place the GetLoopCount function within the selection of cells that the loop applies to, otherwise the GetLoopCount function only evaluates the loop once and does not update in sync with the loop.
GetLoopReset(Loop) | Returns a 1 (TRUE) prior to the first execution of a repeated iteration performed by a Repeat or RepeatUntil function that is stored in a Loop data structure. You can also use this function to clear the data from any functions within the loop, such as a StoreData cell. For more information, see Repeat, RepeatUntil and StoreData . Note: To ensure proper evaluation, place the GetLoopCount function within the selection of cells that the loop applies to, otherwise the GetLoopCount function only evaluates the loop once and does not update in sync with the loop.
GetMax(Structure) | Returns themaximum value from a Delay structure.
GetMean(Structure) | Returns the mean value from a Delay structure.
GetMin(Structure) | Returns the minimum value from a Delay structure.
GetPassCount(Structure) | Returns the incremental count of passes from a Count structure. The counter is incremented when the returned value is greater than zero.
GetSDev(Structure) | Returns the SDev value from a Delay structure. This calculation is a biased standard deviation, where the denominator is N-1. An unbiased standard deviation has a denominator of N.
GetSum(Structure) | Returns the sum value from a Delay structure.
GetTotalCount(Structure) | Returns the total number of passes, failures and errors from a Count structure.
GetValue(Structure, Index) | Returns the value stored in a Delay structure.