Daqarta
Data AcQuisition And Real-Time Analysis
Scope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
The following is from the Daqarta Help system:

Features:

Oscilloscope

Spectrum Analyzer

8-Channel
Signal Generator

(Absolutely FREE!)

Spectrogram

Pitch Tracker

Pitch-to-MIDI

DaqMusiq Generator
(Free Music... Forever!)

Engine Simulator

LCR Meter

Remote Operation

DC Measurements

True RMS Voltmeter

Sound Level Meter

Frequency Counter
    Period
    Event
    Spectral Event

    Temperature
    Pressure
    MHz Frequencies

Data Logger

Waveform Averager

Histogram

Post-Stimulus Time
Histogram (PSTH)

THD Meter

IMD Meter

Precision Phase Meter

Pulse Meter

Macro System

Multi-Trace Arrays

Trigger Controls

Auto-Calibration

Spectral Peak Track

Spectrum Limit Testing

Direct-to-Disk Recording

Accessibility

Applications:

Frequency response

Distortion measurement

Speech and music

Microphone calibration

Loudspeaker test

Auditory phenomena

Musical instrument tuning

Animal sound

Evoked potentials

Rotating machinery

Automotive

Product test

Contact us about
your application!

Save Generator Setup

Controls: Generator Dialog >> Save Setup
Macro: SaveGEN

This option is available from the button near the bottom of the main Generator dialog or from the File menu (ALT+F, V).

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.

However, the setup file preserves only the normal stereo volume settings, not those for Multi-Channel Outputs (4, 6, or 8 channels). Those are controlled via the custom control panel that comes with your multi-channel card, or (currently for Windows XP only) Daqarta's multi-channel slider dialog.

Although multi-channel volume settings are not currently saved in the Generator setup, in XP they are saved (along with most other sound card settings) in the Daqarta0.MIX file when you exit Daqarta, and restored the next time Daqarta starts.

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.

Note that in addition to this manual Save, you will also be prompted at exit time to save the setup if there have been any changes, including volume changes.

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.


Macro Notes:

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.

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.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.

SaveGEN can use string variables and expressions. For example, SaveGEN=Field1 will use the contents of Field1 as the default file name, and A.SaveGEN=Field1 will save a file with that name directly.

Similarly, if the Macro Variable Var0 holds a value of 12, then SaveGEN="Test"+Var0 will set a default file name of Test12. If you expect to use a large series of files, you can use SaveGEN="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.


Before saving the setup with SaveGEN, you can use GenTitle to set the Generator title via macro.


See also Load Setup, Signal Generator Control Dialog

GO:

Questions? Comments? Contact us!

We respond to ALL inquiries, typically within 24 hrs.
INTERSTELLAR RESEARCH:
Over 35 Years of Innovative Instrumentation
© Copyright 2007 - 2023 by Interstellar Research
All rights reserved