Doing a dummy write first should do the job just fine.
The weird thing about this working is that the T0 timestamp is supposed
to go into wf_start_time. If you write it to wf_start_offset, I don't
know what DIAdem does with it. wf_start_offset is used e.g. for
frequency-domain data, where "T0" is a floating point number. You could
modify the existing code to try wf_start_time, but if you stay with a
waveform dummy write, you're on the safe side if we add new stuff in
the future.
If you are acquiring at 1Hz, I think you might be doing single-point
acquisition. In that case, make sure to use the NI_MinimumBufferSize
feature to keep your files lean and mean. If for some reason you don't
want to go with that, I recommend defragmenting the file before
post-processing.
Herbert