![]() |
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:OscilloscopeSpectrum Analyzer 8-Channel
|
Applications:Frequency responseDistortion measurementSpeech and musicMicrophone calibrationLoudspeaker testAuditory phenomenaMusical instrument tuningAnimal soundEvoked potentialsRotating machineryAutomotiveProduct testContact us about
|
|
Numato_Meter Mini-AppThis 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 |