Data AcQuisition And Real-Time AnalysisScope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
Contact us about
Juxt Save File
Saves all traces in Juxt memory to a file with a .JXT extension.
The SaveJXT= macro has no effect if any File Open or Save As dialog is already active, or if there are no Juxt memory traces to be saved.
SaveJXT= without a name will open the Save As dialog showing all .JXT files, with the default set to DataSet or the most recent .JXT name.
SaveJXT="MyFile" will open the Save As dialog with the default name set to MyFile. (Note that quotes are needed around all filenames in macros.) If you accept this by hitting Enter or the Save button in that dialog, Daqarta will assume you want to save a file named MyFile.JXT. If that file already exists, you will be prompted to replace it.
After either of the above commands, you may use IF.Posn?f=0 to see if the user has hit Cancel to exit the Save As dialog instead of choosing a file name. This allows your macro to exit gracefully or take other action.
A.SaveJXT="MyFile" will save MyFile.JXT directly, without any Save As dialog. Note that if the file already exists, it will be overwritten without any confirmation prompt.
Similarly, if the Macro Variable Var0 holds a value of 12, then SaveJXT="Test"+Var0 will set a default file name of Test12. If you expect to use a large series of files, you can use SaveJXT="Test"+Var0(3) (for example) to set the decimal format to 3 integer places to get Test012. This will allow proper sorting by file name.
See also Juxt Trace Memory Array
Questions? Comments? Contact us!We respond to ALL inquiries, typically within 24 hrs.
Over 30 Years of Innovative Instrumentation
© Copyright 2007 - 2017 by Interstellar Research
All rights reserved