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!

Macro Cancel

Controls: Options Menu >> Macro Dialog >> Cancel
Macro: Cancel

The Cancel button aborts a running or Halted macro.

This especially handy during development, when you may discover that you have (for example) neglected to change a WHILE loop index and it is now running out of control: Just click the Cancel button to exit.

The Cancel button can also be activated via Remote Control.

The macro Cancel= command (value optional, ignored) is a good way to exit a macro that encounters conditions such that it can't (or shouldn't) proceed, like a value that is out of range. You would normally include this as part of an IF test, along with an explanatory message:

    IF.X=>1M
        Msg="X value out of range!"
        Cancel=
    ENDIF.

The Msg will be displayed along with an error message showing the name of the macro. When you click OK in the error message, both it and the Msg will be removed.

In this application the Cancel command could be avoided by use of IF...ELSE commands, such that if the value is in range the ELSE branch runs. The problem with that approach is that if you need more than one or two such tests in your macro it gets rather messy, and can require a lot of indented IF levels so that all tests can directly reach the end of the macro.


See also Macro Dialog, Macro Overview


GO:

Questions? Comments? Contact us!

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