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!

Numato_Meter Mini-App

This simple meter macro reads an analog input pin from a Numato USB device and displays the reading directly in volts. Hitting any key exits the macro.

As written, it supports the Numato 8, but you can easily modify it for Numato 16, 32, or 64 by changing the Posn#0="Nu08" line to use "Nu16", "Nu32", or "Nu64".

You will also need to change the K=5.0 / 1023 line by replacing the 5.0 with 3.3 since these other devices use the lower supply voltage.

That line assumes that the power supply is exactly 5.0 (or 3.3) volts, but you can calibrate the unit for greater accuracy if you can measure the supply with a separate meter that you trust; just replace the 5.0 with that reading.

;<Help=H492E

Posn#0="Nu08"               ;Scan for Numato 08
Posn#1=0                    ;First match
@_ComDev_Scan               ;Scan COM devices for match

UP="0"                      ;ADC 0
K=5.0 / 1023                ;Factor, 0-1023 count to volts

UK=0                        ;Will hold key value
WHILE.UK=0                  ;Repeat until any key hit
    UK=Key?!                    ;Get key, if any
    IF.UK=>0                    ;Any key hit?
        LoopBreak=2                 ;Exit WHILE if so
    ENDIF.
    Port="adc read " + UP(A)    ;Request ADC UP read
    UA=Port?V                   ;Read returned data
    V=UA * K                    ;Convert to volts
    Mtr0=V + " V"               ;Display value
WEND.                       ;Back for next pass
Mtr0=                       ;Close meter
Port#O=0                    ;Close COM port

See also Macro Examples and Mini-Apps, USB / Serial Communications Port Access

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