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:



Spectrum Analyzer

Signal Generator

(Absolutely FREE!)


Pitch Tracker


DaqMusiq Generator
(Free Music... Forever!)

Engine Simulator

LCR Meter

Remote Operation

DC Measurements

True RMS Voltmeter

Sound Level Meter

Frequency Counter
    Spectral Event

    MHz Frequencies

Data Logger

Waveform Averager


Post-Stimulus Time
Histogram (PSTH)

THD Meter

IMD Meter

Precision Phase Meter

Pulse Meter

Macro System

Multi-Trace Arrays

Trigger Controls


Spectral Peak Track

Spectrum Limit Testing

Direct-to-Disk Recording



Frequency response

Distortion measurement

Speech and music

Microphone calibration

Loudspeaker test

Auditory phenomena

Musical instrument tuning

Animal sound

Evoked potentials

Rotating machinery


Product test

Contact us about
your application!

Timing Randomize / Copy

Controls: Gen Dlg >> Stream >> Smooth TC >> Randomize
Macros: TmRandDlg, TmRand

This controls the random generators used for the Noise sources. It allows you to lock two or more generators together, or else randomize one or all generators.

By default, this starts at Independent, which means the generator for the current Stream is independent of the rest. If you click on the control, you get a dialog of other options.

The top entry is Independent, which essentially does nothing.

For each Stream of each output, there is a button labeled "Copy n", where "n" is the stream number from 0 to 3. The button for the current stream is labeled "Randomize". If you click on that, the random generator for the stream will be re-seeded with random data derived from various unpredictable values, such as system status and the instantaneous count of CPU cycles since power-on.

If you instead select one of the Copy buttons, the current stream random generator will become an exact copy of the one selected. Unless or until you specifically change that, or change the setting for the other stream, the two will stay locked together. This allows you to provide the exact same random sequence to different Streams, even in different output channels. It is also the first step to creating time-shifted random sources, controlled by the Shift option. (Note that the Shift setting of the source is also copied to the current stream.)

At the bottom of the dialog are Copy All and Rand All. Copy All copies the current Stream generator to all the others. Rand All randomizes all generators, and sets all to Independent. In both cases, all Shift values are set to 0.

Macro Notes:

L.1.TmRand=Ind sets Left Stream 1 to Independent. L0, L2, and L3 set it to track other Left streams, while R0 through R3 track Right streams.

L.1.TmRand=L1 is a special case, which seems to be setting a stream to track itself. This actually sets Left Stream 1 to Randomize.

L.1.TmRand=CopyAll copies the Left Stream 1 generator to all the others, and nulls all Shift values.

TmRand=All randomizes all generators, sets them to Independent, and nulls all Shift values. Note that no channel and stream prefixes are needed since all streams are affected equally.

Instead of specifying the TmRand setting with a name, you can use a number, variable, or expression that evaluates to 0-10:

    0 = Ind
    1 = L0
    2 = L1
    3 = L2
    4 = L3
    5 = R0
    6 = R1
    7 = R2
    8 = R3
    9 = CopyAll
    10 = All

If the Timing Dialog is open, TmRandDlg=1 opens the Randomize dialog, TmRandDlg=0 closes it, and TmRandDlg=x toggles between open and closed. Note, however, that you do not need to open the dialog to set its controls directly, as above.

See also Random / Step Timing Dialog, Waveform Stream Controls.


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