source: sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/Menu.ipf @ 661

Last change on this file since 661 was 661, checked in by srkline, 12 years ago

Added routines to enforce short enough names to keep the Igor-generated object names to less than 31 characters (once I add extensions). Changed the ExecuteProtocol? to automatically trim text from the HFIR data file names, since they are ridiculously long.

Added routines in 1D Data loader (and XML loader) to enforce 25 characters, in the case that a long file name was generated by another program.

If XML files are generated, "x" is tagged at the end of the suffix, as in ".ABSx".
Added menu items to each package menu for feedback, movies, and updates

Made sure that new table entry of SamplePosition? did not cause compile errors with other facility templates. right now, this is NCNR-specific, but easity added to other facilities if they provide the stub. then the bits of the table could be added.

File size: 1.4 KB
RevLine 
[41]1#pragma rtGlobals=1             // Use modern global access method.
2#pragma version=5.0
[570]3#pragma IgorVersion=6.1
[41]4
5
6//**************************
7// Vers 1.2 091901
8//
9//****************************
10//
11
12//
13Menu "SANS"
14        "Initialize"
15        "SANS Help"
16        "-"
17        "Main Control Panel",DoWindow/F Main_Panel
[237]18        "SASCALC"
[41]19        "-"
20        Submenu "Data Display"
21                "Show 2D SANS Data",DoWindow/F SANS_Data
22                "Show File Table",ShowCatWindow()
23        End
24        Submenu "Input Panels"
25                "Calculate Transmissions",CalcTrans()
26                "Build Reduction Protocols",ReductionProtocolPanel()
27                "Reduce Multiple Files",ReduceMultipleFiles()
28                "Patch Files",PatchFiles()
29                "1D Average",ShowAveragePanel()         
30        End
31        Submenu "1-D Processing"
32                "Load and Plot 1D Data",Show_Plot_Manager()
33                "Open FIT Panel",OpenFITPanel()
34                "Sort and Combine data",ShowNSORTPanel()
[612]35//              "Subtract 1D Data Sets",OpenSubtract1DPanel()
36                "Subtract 1D Data Sets",MakeDAPanel()           //new version
[41]37        End
38                Submenu "2-D Processing"
39                "2D Work file Math",Show_WorkMath_Panel()
40                "Tile Raw 2D files",Show_Tile_2D_Panel()
41                "Export 2D ASCII data",Export_RAW_Ascii_Panel()
42        End
[377]43        "-"
[661]44        "Feedback or Bug Report",OpenTracTicketPage()
45        "Open Help Movie Page",OpenHelpMoviePage()
[377]46        "Check for Updates",CheckForLatestVersion()
[41]47//      Submenu "Utility Routines"
48//              "Clear Work Folders"
49//              "Clear Root Folder"
50//      End
51End
52
53Function SANSHelp()
[316]54        DisplayHelpTopic/Z/K=1 "SANS Data Reduction Tutorial"
55        if(V_flag !=0)
56                DoAlert 0,"The SANS Data Reduction Tutorial Help file could not be found"
57        endif
[41]58End
Note: See TracBrowser for help on using the repository browser.