.plw data file |
![]() ![]() ![]() |
The .plw file has a fixed-length header, followed by a data record for each sample. It is terminated by a copy of the .pls file that was used to record it. The first two-byte field of the header contains the length, in bytes, of the header. The remaining fields are as follows: UNS16 header_bytes; - the length, in bytes, of this header char signature [40]; "PicoLog for Windows" UNS32 version; UNS32 no_of_parameters; no of parameters recorded UNS16 parameters [250]; UNS32 sample_no; same as no_of_samples, unless wraparound occurred UNS32 no_of_samples; number of samples recorded so far UNS32 max_samples; UNS32 interval; sample interval UNS16 interval_units; 0=femtoseconds, 4=milliseconds, 5=seconds, 6=minutes, 7=hours UNS32 trigger_sample; UNS16 triggered; UNS32 first_sample; UNS32 sample_bytes; length of each sample record UNS32 settings_bytes; length of settings text after samples (copy of .pls file) PICODATE start_date; FULLTIME start_time; long minimum_time; long maximum_time; char notes [1000]; long current_time; unsigned short stopAfter; unsigned short maxTimeUnit; unsigned long maxSampleTime; unsigned long startTimeMsAccuracy; unsigned long previousTimeMsAccuracy; unsigned long noOfDays; UNS8 spare [58];
Note: Do not attempt to save your data directly to a floppy disk. Definition correct as of R5.20.1. |