![]() |
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
|
|
MemArb_To_File MacroAfter you have created a MemArb in memory and tested (and perhaps modified) it, you may want to save it to a file. This might be useful for other applications, or for using as a normal file-type Arb in a Generator setup. That's important because .GEN setups don't save MemArb data, but they can save Arb file names, and load such files automatically when the .GEN setup is loaded. If you created the MemArb using the Arb_From_Equation or Arb_From_List macro mini-apps, you have already created the Arb file. Here we consider the case where the MemArb may have been created by some other macro, or even a series of macros modifying a normal Arb while in memory. The included MemArb_To_File macro mini-app will save the designated MemArb (or modified Arb) to the .WAV file of your choice. You can change the file format via the "Save as type" drop-down control in the Save As dialog, or use a simple macro modification to always default to another file format. You choose the MemArb number to save by entering it into Field1. (Note that Label1 is not changed to denote this.) Alternatively, if you always want to use a specific MemArb number, uncomment the second line by removing the leading semicolon. Change Ch=0 to whatever MemArb number you want to use. If you always want to save to another format besides .WAV, change the MemArbV="<SaveWAV: command to the desired default extension. You can use .DQA, .WAV, .DAT, or .TXT. For example, to default to .TXT instead, use MemArbV="<SaveTXT:". (Technically, you can also use the high-resolution .BUF format, which supports values with 32-bit integer and 32-bit fraction parts, but MemArbs only hold 16-bit integers. Also, you can't later load .BUF files as Arbs, only into Buf0-Buf7 memory arrays.) ;<Help=H491B Ch=Field1 & 7 ;Get MemArb number 0-7 from Field1 ;Ch=0 ;Force specific MemArb 0-7 UX=MemArbV?N ;Size of MemArb (V = num in Ch) IF.UX=0 ;No MemArb there? Msg="MemArb" + Ch + " not found." ELSE. MemArbV="<SaveWAV: ENDIF. See also Memory Arbs (MemArb0-7), Wave Dialog, Arb Wave. ![]() |
|||
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 |