Ignore:
Timestamp:
Dec 2, 2015 1:24:05 PM (7 years ago)
Author:
srkline
Message:

Filling in missing "dummy" functions when XML xop is not present.

Added new V_ procedures for the beginning of the reduction steps - initialization, main panel, preferences, and a menu. These are lifted directly from the SANS routines and much still needs to be modified.

Location:
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/VSANS_Includes.ipf

    r967 r971  
    11#pragma rtGlobals=3             // Use modern global access method and strict wave access. 
     2 
     3// to properly set up the template for other facility reduction templates,  
     4// function NCNR_VSANS() must exist here in the Includes file. 
     5// 
     6Function NCNR_VSANS() 
     7        //does nothing but define NCNR() 
     8        return(0) 
     9End 
     10 
    211 
    312#include "VC_DetectorBinning_Q" 
     
    3039#include "V_HDF5_Write" 
    3140#include "V_HDF5_RW_Utils" 
     41 
     42// start of VSANS reduction procedures 
     43#include "V_Initialize" 
     44#include "V_MainPanel" 
     45#include "V_Menu" 
     46#include "V_VSANS_Preferences" 
     47 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_HDF5_RW_Utils.ipf

    r970 r971  
    314314 
    315315                if(!groupID) 
    316                         HDF5CreateGroup /Z fileID, groupName, groupID 
    317                         //err = 1 
    318                         //abort "HDF5 group does not exist" 
     316                // don't create the group it the name isn't right -- throw up an error 
     317                        //HDF5CreateGroup /Z fileID, groupName, groupID 
     318                        err = 1 
     319                        HDF5CloseFile /Z fileID 
     320                        DoAlert 0, "HDF5 group does not exist "+groupName+varname 
     321                        return(err) 
    319322                else 
    320323                        // get attributes and save them 
     
    399402 
    400403                if(!groupID) 
    401                         HDF5CreateGroup /Z fileID, groupName, groupID 
    402                         //err = 1 
    403                         //abort "HDF5 group does not exist" 
     404                // don't create the group it the name isn't right -- throw up an error 
     405                        //HDF5CreateGroup /Z fileID, groupName, groupID 
     406                        err = 1 
     407                        HDF5CloseFile /Z fileID 
     408                        DoAlert 0, "HDF5 group does not exist "+groupName+varname 
     409                        return(err) 
    404410                else 
    405411                        // get attributes and save them 
Note: See TracChangeset for help on using the changeset viewer.