This worksheet function can be used to retrieve a single sample for a tag at a specified time. If used to show headers, time stamps, or status information about the values, this function must be entered as an array formula in a range that has the appropriate number of rows and columns. You can use the Configure Single Value Function dialog in DeltaV Reporter to set up a call to this function.
Syntax
DvCHValue(connection, tag, show_header, columns, time_mode, selection_mode, timestamp)
Example Array Formula
=DvCHValue("localhost","DeltaV=MAIN_WORKSTATION CHS250_1S/SGGN1/OUT.CV",TRUE,"Value;Timestamp","GMT-06:00",0,"10/12/08 12:00:00 PM")
Function Arguments
If you specify the time stamp argument as a cell reference, the cell must contain a valid date and time in standard Excel format, not exceeding millisecond precision—for example, "10/12/2008 21:06:40.676".