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!

Windows Version Test


Macro: WinVer

If a macro needs to respond differently depending upon the Windows version, you can use an IF test of the version number via the WinVer macro. For example, to test if Daqarta is running on Vista or later, use IF.WinVer=>5.99. The IF will pass if the version is 6.0 (Vista) or more. (Note that all macros require the = sign, so that => means "Greater Than", not "Greater Than or Equal To".)

Note that this is a read-only macro... you can read it or test it, but you can't change it.

WinVer tests accept major and minor version numbers up to 2 digits each. If you omit the decimal and minor version number, the minor version will be assumed to be 0. If you use 'x' after the decimal instead of a specific value, only the major version will be tested. For example, IF.WinVer=5.x would pass for Windows 2000, XP, or XP-64.

Note that minor version numbers are not decimal fractions: 4.10 is not the same as 4.1.

    4.0 = Windows 95 or NT Workstation
    4.1 = Windows 98
    4.10 = Windows 98 SE
    4.90 = Windows Me
    5.0 = Windows 2000
    5.1 = Windows XP
    5.2 = Windows XP Professional x64
    6.0 = Windows Vista
    6.1 = Windows 7
    6.2 = Windows 8
    6.3 = Windows 8.1
    10.0 = Windows 10

Alternatively, you can use special query characters to obtain only the major or minor versions, or a combined integer version:

UV=WinVer?M sets UV to the major version. If you follow that with IF.UV=5 (or just use IF.WinVer?M=5) the result will be TRUE for either Windows XP (version 5.1) or XP-64 (5.2).

UV=WinVer?m returns the minor version.

WinVer?I returns a 16-bit integer whose high byte holds the major version, and whose low byte holds the minor. For example, UV=WinVer?I returns a value of 1281 for Windows XP, which is 0501 hex. You could use Msg=UV(h) to display it as 00000501, or you could test it with IF.UV=h0501.


See also 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