C C+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ C C V6_20 = VIEWM = VIEWer for Miscellaneous FTMW FIDs C ---- - C C+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ c c This program allows viewing multiple FIDs and synthesising a single C spectrum on their basis. Possible inputs: c c I. From a .FAR archive as produced by FILMAN (later name FM) c II. An assortment of individual FID files c as specified by the file LIST.DAT or similar produced with programs c FFTLIST or FILMAN c III. Files produced by FFT8 or FTMW_20, also running in the AUTO-SCAN mode, c and the display can be updated during the scan by using c the refresh operation c IV. Files produced by PULSE2A in the BF-FTMW mode c V. Binary .FFT files from FFTS resulting from conversion from other standards c c Interdependence of displays: c c SUMMAR-----LOOKSP c | c --------INTCOM------LOOKSP c c where: SUMMAR - summary screen of fringe voltages and FID c amplitudes as a function of frequency c INTCOM - FID comparisons, nine FIDs per screen c LOOKSP - individual FID and its FFT c c Input can be updated with the ESC key from within SUMMAR and INTCOM c c NOTE: these routines, though they have the same names, are c different and incompatible with those in program VIEW for c viewing AUTOscanned spectra c c c IMPORTANT NOTE ON 8.3 FILENAME OPERATION: c This program goes back to the end of 1990s and since then C it had to face the challenge of long and varied file names that C became allowed by the operating system. It is still recommended that C relatively short file names without spaces are used but V6_20 can C now deal with general file names by means of a Windows feature for converting c long NTFS file names to 8.3 file names (-N option) c c With more recent Windows the support for 8.3 file names is not c guaranteed by default and some side effects are possible. C If legal FID files are not read into V6_20 then it is necessary to C invoke 8.3 file name support explicitly by typing in the command prompt C window (probably to be opened as an Administrator): c c fsutil behavior set disable8dot3 0 c c This sets an appropriate registry value but even then input of files with c long names generated prior to invoking 8.3 support will not take place. c c BUT NOTE: if all such files are copied to some temporary directory c (the originals deleted and the files copied back) then 8.3 access c will become possible. c c see: http://technet.microsoft.com/en-us/library/ff621566.aspx c https://en.wikipedia.org/wiki/8.3_filename c c On a vanilla Windows11 computer (zworke) the encountered situation has been c different for different drives, with responses to the DIR /On/-N command: c C B A D------> c Volume in drive D is WD_3Tb c Volume Serial Number is 183E-3337 c c Directory of d:\rot\isopr\S_wg_ftmw\test c c ISOPR.443fft 4,253 19-04-2023 16:23 c ISOPR.444fft 4,253 19-04-2023 16:23 c ISOPR.445fft 4,253 19-04-2023 16:24 c ISOPR.464fft 4,253 25-08-2023 17:27 c ISOPR.469fft 4,253 25-08-2023 17:28 c ISOPR.470fft 4,253 25-08-2023 17:27 c 6 File(s) 25,518 bytes c 0 Dir(s) 1,348,388,474,880 bytes free c c G O O D------> c Volume in drive C is OS c Volume Serial Number is 985E-CC98 c c Directory of c:\rotprog\v6_20\ivf2016\Debug c c IS8F86~1 FFT 4,253 19-04-2023 16:23 c IS3A52~1 FFT 4,253 19-04-2023 16:23 c IS2BD1~1 FFT 4,253 19-04-2023 16:24 c ISOPR4~3 FFT 4,253 25-08-2023 17:27 c ISOPR4~1 FFT 4,253 25-08-2023 17:28 c ISOPR4~2 FFT 4,253 25-08-2023 17:27 c 6 File(s) 25,518 bytes c 0 Dir(s) 809,233,088,512 bytes free c c and the incompatibility was cured by the prescription described above. c c C Ver 26.III.2024 ---- Zbigniew KISIEL ---- C __________________________________________________ C | Institute of Physics, Polish Academy of Sciences | C | Al.Lotnikow 32/46, Warszawa, POLAND | C | kisiel@ifpan.edu.pl | C | http://info.ifpan.edu.pl/~kisiel/prospe.htm | C_________________________/-------------------------------------------------- C C Modification history: C c 4.05.08: Creation from V6 and VKIEL c 11.05.08: Synchronisation with FTMW_20 c 17.05.08: More synchronisation: modified file standard, flexible if, c synthetic spectra c 28.05.08: cleaning up c 5.11.08: subtraction of selected line from the interferogram c 14.01.09: interferogram points concatenated into a single vector + mods c 31.12.09: display comments and G option in SUMMAR, CTRL I in LOOKSP C 3.01.10: port to IVF C 23.02.13: fixes of bugs found in developing FFTS C 9.07.14: allowance for asymmetric coaddition limits in synthesised spectrum C 12.07.14: better management of 8.3 and long NTFS file names c 14.10.15: debugging hangup on spectrum synthesis c 12.02.17: internal clarification of 8.3 filename handling and initial X-limits c 14.01.20: closer to the standard of VKIEL, binary synthetic spectrum c 28.01.20: miscellaneous debugging and enhancements c 23.03.20: adding the Am mode c 29.06.20: allowance for the number of microwave shots per gas pulse c 2.07.20: NMAXPT,NMAX,MAXPTS increased further since memory reservation is c not much affected, towards more commonality with FFTS C 28.09.20: graphics tweaks to avoid setting XP compatibility for Windows10 C 15.11.20: debugging INTCOM display for short FIDs and 'Z' FID option C 1.04.22: incremental mods to catch up with VKIEL and FFTS C 7.08.22: central frequency corrections for FIDs from VKIEL + debugging C 21.09.22: modifications to display sample string in SUMMAR and INTCOM screens C 14.02.23: more modifications for compatibility with WG-FTMW FIDs C 27.08.23: migration to VS2015/IVF2016/Win11 and accounting for 8.3 quirk in Win11 C 9.01.24: more commenting and error trapping concerning 8.3 filename operation C 20.01.24: optional NAVER scaling (for WG-FTMW data) C 26.03.24: debugging and modifications (F, home, end options) C C_____________________________________________________________________________