From 37c51f7ede639d5ff1895bbfa7c6dd0c5d80fea1 Mon Sep 17 00:00:00 2001 From: rivers Date: Sat, 3 Dec 2011 19:56:57 +0000 Subject: [PATCH] Document Null file plugin git-svn-id: https://subversion.xor.aps.anl.gov/synApps/areaDetector/trunk@14244 dc6c5ff5-0b8b-c028-a01f-ffb33f00fc8b --- documentation/NDPluginFile.html | 42 ++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/documentation/NDPluginFile.html b/documentation/NDPluginFile.html index 3e04670..152a31d 100755 --- a/documentation/NDPluginFile.html +++ b/documentation/NDPluginFile.html @@ -26,6 +26,7 @@
  • netCDF file plugin
  • NeXus (HDF) file plugin
  • HDF5 file plugin
  • +
  • Null file plugin
  • Overview @@ -525,11 +526,11 @@ variables: There is currently no documentation on the contents of the XML template file. However, there are example XML template files in the iocSimDetector and iocPerkinElmer directories. Documentation on the XML file contents will be written ASAP. - - It is possible to validate most of the syntax in a NeXus template XML file. - For example, the command (starting from the iocBoot directory) to - validate the syntax of the iocBoot/iocSimDetector/NexusTemplate.xml file is: -
    xmllint --noout --schematron ./template.sch iocSimDetector/NexusTemplate.xml

    + + It is possible to validate most of the syntax in a NeXus template XML file. For + example, the command (starting from the iocBoot directory) to validate + the syntax of the iocBoot/iocSimDetector/NexusTemplate.xml file is:

    +
    xmllint --noout --schematron ./template.sch iocSimDetector/NexusTemplate.xml

    The prebuilt Linux libraries libhdf5.a and libNeXus.a are built with HDF5 1.6.9. When they are built with the latest version, 1.8.2, they require GLIBC version 2.7 @@ -708,10 +709,10 @@ variables:

    - It is possible to validate the syntax of an NDArray attributes XML file. - For example, the command (starting from the iocBoot directory) to - validate the syntax of the iocBoot/iocSimDetector/simDetectorAttributes.xml file is: -

    xmllint --noout --schema ./attributes.xsd iocSimDetector/simDetectorAttributes.xml

    + It is possible to validate the syntax of an NDArray attributes XML file. For example, + the command (starting from the iocBoot directory) to validate the syntax + of the iocBoot/iocSimDetector/simDetectorAttributes.xml file is:

    +
    xmllint --noout --schema ./attributes.xsd iocSimDetector/simDetectorAttributes.xml

    Compression

    @@ -1034,5 +1035,28 @@ variables:

    NDFileHDF5.png

    +

    + Null file plugin +

    +

    + NDFileNull inherits from NDPluginFile. This is a dummy file writer, which does not + actually write anything. Its main purpose is to delete original driver files (DeleteDriverFile + record) without writing the data to disk. For example, if the Pilatus is being used + simply for alignment or testing one might want to display the images but then immediately + delete the files that the Pilatus had created. This plugin allows one to do this, + since it always reports success in "writing" the file, so the NDPluginFile base + class will deleted the driver file if all the conditions outlined above are met. +

    +

    + The NDFileNull class documentation + describes this class in detail. +

    +

    + The NDFileNull plugin is created with the NDFileNullConfigure command, either from + C/C++ or from the EPICS IOC shell.

    +
    NDFileNullConfigure (const char *portName, int queueSize, int blockingCallbacks, 
    +                     const char *NDArrayPort, int NDArrayAddr, size_t maxMemory, 
    +                     int priority, int stackSize)
    +