Data AcQuisition And Real-Time AnalysisScope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
Contact us about
Save MIDI Setup
The Save Setup button is near the bottom of the Pitch-to-MIDI dialog. You can activate this at any time to save the current MIDI setup to a named .DQM file.
A MIDI setup file includes all information from the Pitch-to-MIDI dialog and its children, plus Track Limits, Pitch Hysteresis, and +/-Octaves settings from the Pitch Track Toolbox. But it does not include main Daqarta settings such as Trigger controls or Trace Update interval, which can have a large effect on Pitch-to-MIDI behavior.
However, it does include the main Daqarta Notes text, which you can enter before saving the setup, to serve as a reminder to yourself (or someone you exchange the setup with) about important settings.
Note: The current values of all Pitch-to-MIDI settings are saved automatically when Daqarta exits, and restored upon start, just as if you had manually saved and loaded them as a MIDI Setup.
The SaveDQM= macro has no effect if any File Open or Save As dialog is already active.
SaveDQM= without a name will open the Save As dialog showing all .DQM files, with the default set to MIDIset or the most recent .DQM name.
SaveDQM="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.DQM. If that file already exists, you will be prompted to replace it.
After either of the above commands, you may use IF.Posn?f=0 to see if the user has hit Cancel instead of choosing a file name. This allows your macro to exit gracefully or take other action.
A.SaveDQM="MyFile" will save MyFile.DQM 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 SaveDQM="Test"+Var0 will set a default file name of Test12. If you expect to use a large series of files, you can use SaveDQM="Test"+Var0(3) (for example) to set the decimal format to 3 integer places to get Test012. This will allow proper sorting by file name.
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