DT ReadArchivedHistoricalAcquisitionData.vi
LabVIEW DataTaker Driver >> DataTaker Low Level >> DT ReadArchivedHistoricalAcquisitionData.vi
Reads dataTaker archived historical data from the specified start time to the specified stop time.
Notes
- The dataTaker must be set into fixed format mode (using "DT SetFormatMode.vi") before this VI is called.
- The dataTaker must be set into historical acquisition mode (using "DT SetAcquistionMode.vi") before this VI is called.
Error Message Generated
- DT LOWLEVEL ERROR: Unable to read archived historical acquisition data.
Controls and Indicators

|
connection data in contains information about a dataTaker connection. |

|
connection type is the type of connection used to communicate to the dataTaker. |

|
DT serial contains the serial session configuration information. |

|
protocol: specifies whether to use standard serial communications, or the DARTS protocol (DT500 only). |

|
VISA resource name: the VISA resource to use for serial communications (ignore when using DARTS protocol). |

|
DARTS reference Reference to a DT DARTS object. |

|
serial buffer reference Reference to a DT SerialBuffer object. |

|
TCPIP connection id is a reference to the TCPIP connection. |

|
DT type shows the type of dataTaker that is connected (DT800 or the DT500 family). |

|
current job reference Reference to a DT CurrentJob object. |

|
DT800 hist reference Reference to a DT DT800History object. |

|
start time the time to start reading the data from. Must be specified in the dataTaker's current time format. |

|
stop time the time to stop reading the data from. Must be specified in the dataTaker's current time format. |

|
timeout (ms,25000) length of time to try and write the command to the dataTaker (in ms). |

|
The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |

|
The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. |

|
The code input identifies the error or warning. |

|
The source string describes the origin of the error or warning. |

|
connection data out contains information about a dataTaker connection. |

|
connection type is the type of connection used to communicate to the dataTaker.
|

|
DT serial contains the serial session configuration information. |

|
protocol: specifies whether to use standard serial communications, or the DARTS protocol (DT500 only). |

|
VISA resource name: the VISA resource to use for serial communications (ignore when using DARTS protocol). |

|
DARTS reference Reference to a DT DARTS object. |

|
serial buffer reference Reference to a DT SerialBuffer object. |

|
TCPIP connection id is a reference to the TCPIP connection. |

|
DT type shows the type of dataTaker that is connected (DT800 or the DT500 family).
|

|
current job reference Reference to a DT CurrentJob object. |

|
DT800 hist reference Reference to a DT DT800History object. |

|
historical data is an array of historical data clusters |

|
historical data clusters contains information from a dataTaker data record. The data record contains timestamped data from a number of channels. |

|
schedule ID is the schedule identifier of the recorded data. |

|
seconds since 1904 (s) is the timestamp of the sampled data, given in the number of seconds since 1904 |

|
data is an array of the sampled data, where each element of the array is data from a different channel |

|
Each value is a data value from an individual channel. |

|
timeout? returns true, if the connection has timed out. |

|
The error out cluster passes error or warning information out of a VI to be used by other VIs.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |

|
The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning.
|

|
The code input identifies the error or warning.
|

|
The source string describes the origin of the error or warning.
|
(C) 2003 dataTaker & ICON Technologies Pty Ltd
www.dataTaker.com
www.icon-tech.com.au
|
|