Data AcQuisition And Real-Time AnalysisScope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
Contact us about
DDisk Write Size Preset
Rather than ending a DDisk recording manually, this control lets you set a predetermined size. The recording will stop automatically when it reaches this size, although you can still stop it manually at any time before that using the Record button or INSert key and/or ALT+D.
The default units for this control are Samples, where one sample means one sample per active channel; alternatively, think of one sample as one time point or sample period, where all channels are sampled simultaneously. So two files with the same number of samples could differ by a factor of 2 or 4 in the number of bytes.
You can use the DDisk Units control in this same dialog to toggle the units among Bytes, Samples, Seconds, or time in HH:MM:SS format. (Local or UTC Time modes only apply when reading a file; HH:MM:SS will be substituted.)
The maximum size limit is dictated by the .WAV (and hence .DQA) format at just under 4 GB. It is further constrained by the number of active channels, since each channel requires two bytes per sample. If only one channel is active, the limit is over 2 billion samples, or more than 12 hours at 48000 Hz sample rate. With 2 channels, it is over 6 hours and with 4 channels (or 3) it is over 3 hours.
If you set Size Preset to a high value and then increase the number of channels, when you start DDisk you may be prompted to let Daqarta adjust the value to keep it within the format limits. If you would prefer to set some other limit yourself, ESCape or Cancel that prompt to exit DDisk, adjust the value from the CTRL+D dialog, and start DDisk again.
Setting Write Size Preset to 0 disables it and requires that you end recording manually. However, Daqarta will monitor remaining disk space during the recording, and end it automatically if needed to maintain about 1 MB of reserve space.
There is a minimum active Preset size of 1024 samples, since that is the smallest number of samples that Daqarta can display. If you try to set any value greater than zero but less than 1024, it will be forced to 1024.
The DDiskPreset macro uses the units (Bytes, Samples, or Seconds) set via the Units buttons in the DDisk Controls dialog. HH:MM:SS mode is treated as Seconds here. So depending on the Units, DDiskPreset=100k will set the limit to 100000 bytes, samples, or seconds. (Local or UTC Time modes only apply when reading a file; HH:MM:SS will be substituted.)
Questions? Comments? Contact us!We respond to ALL inquiries, typically within 24 hrs.
Over 35 Years of Innovative Instrumentation
© Copyright 2007 - 2023 by Interstellar Research
All rights reserved