DDSCWO returns Result Comments for Daily Detail variables (i.e. hourly, 15 Minute…) when they occur (e.g. searches for the 1st, 2nd, etc... result comment instead of returning the comment for a date/slot).
DDSCWO(VarNum,offset, optional IncludeDate)
VarNum: The variable number to get the value for.
Offset: Sets which comment to return. For example, a setting of 1 means return the 1st comment found for the dates specfied, 2 means return the 2nd comment found, etc…
IncludeDate: Sets whether to include the date/time of the result comment. A setting of 1 will return the date/time in windows short date format with the hh:mm. A setting of 2 will return only the time portion (hh:mm). If set to 0 (zero) or not specified the date/time will not be included in the returned value.
SEE ALSO: DDSC
Variable 1 is an hourly parameter
DDSCWO(1,2) Returns the second result comment found for variable 1.
DDSCWO(1,3,1) Returns the third comment with the date - "02/17/2017 08:00 pH Meter not working"
DDSCWO(1,3,2) Returns the third comment with the date - "08:00 pH Meter not working"