There is an alternative method for retrieving the data
programmatically by using the low-level file I/O functions. A
description of the process can be found in the G programming
reference manual under the heading "Retrieving Data Using File
I/O Functions" (for version 5.1).
Basically, the data type for the log files is a cluster of two
clusters. The first is a time stamp consisting of an unsigned
32-bit integer (seconds)and an unsigned 16-bit integer
(milliseconds). The second cluster consists of the front panel
data. The order of this cluster is the same as the panel order
of the logged VI. You can create this data type and wire it
the "datalog type" terminal of the low-level File Open function,
which will return a file reference you can use to read the log
files. B
y customizing a file dialog routine, you can pick and
choose files, generate lists of paths, and process groups of
files from the path lists.
The beauty of using the low-level file I/O functions is that
once you become comfortable with them, you can use them in place
of the "data logging" feature. You gain more complete control
of your data file structure and have full flexibility in data
post-processing. Granted, this is not an automatic process, but
the low-level File functions are speedy to use once you get know
them.
If you have any questions you can email me. (remove anti-spam)
MaxMar
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!