Data AcQuisition And Real-Time AnalysisScope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
Contact us about
Save Generator Setup
Since there are a lot of controls in the Daqarta Generator, you may want to save all the settings to a file so you can return to the same setup by loading the file in another session, or even later in the same session. Just click this button and you will be prompted for a file name for the setup. The setup file saves only information about the signal to be generated, not main Daqarta status or start or run preferences, which are saved separately. In particular, it does not save the current sample rate.
Note that the setup file includes the state of the Generator, plus volume control settings. If you load a setup that was saved with the Generator running, on the same sound card, it will immediately produce an output at the original volume.
The saved setup also includes the contents of the long Generator title control window above the main trace area. When you later load the setup, the title will be shown in that same location. The title text can be up to 64 characters long.
Daqarta Generator setup files have a .GEN file extension and each takes about 7300 bytes.
If you use the same setup for many sessions (say, a standard auditory threshold test) and change only the volume during each session, you can prevent the Save prompt by unchecking Prompt Volume Change in the Run Preferences dialog.
The SaveGEN= macro has no effect if any File Open or Save As dialog is already active.
SaveGEN= without a name will open the Save As dialog showing all .GEN files, with the default set to Setup or the most recent .GEN name.
SaveGEN="MyFile" will open the Save As dialog with the default name set to MyFile. (Note that quotes are needed around all filenames in macros.) If you accept this by hitting Enter or the Save button in that dialog, Daqarta will assume you want to save a file named MyFile.GEN. If that file already exists, you will be prompted to replace it.
A.SaveGEN="MyFile" will save MyFile.GEN directly, without any Save As dialog. Note that if the file already exists, it will be overwritten without any confirmation prompt.
Similarly, if the Macro Variable Var0 holds a value of 12, then SaveGEN="Test"+Var0 will set a default file name of Test012.
Before saving the setup with SaveGEN, you can use GenTitle to set the Generator title via macro. This accepts string variables and expressions, so you can combine text and variable values to create the overall title, such as:
GenTitle="Beats: " + L.0.ToneFreq + " + " + L.1.ToneFreq"
Questions? Comments? Contact us!We respond to ALL inquiries, typically within 24 hrs.
Over 30 Years of Innovative Instrumentation
© Copyright 2007 - 2013 by Interstellar Research
All rights reserved