Cleaned up ANSTO code to merge with sinqdev.sics
This is our new RELEASE-4_0 branch which was taken from ansto/93d9a7c Conflicts: .gitignore SICSmain.c asynnet.c confvirtualmot.c counter.c devexec.c drive.c event.h exebuf.c exeman.c histmem.c interface.h motor.c motorlist.c motorsec.c multicounter.c napi.c napi.h napi4.c network.c nwatch.c nxscript.c nxxml.c nxxml.h ofac.c reflist.c scan.c sicshipadaba.c sicsobj.c site_ansto/docs/Copyright.txt site_ansto/instrument/lyrebird/config/tasmad/sicscommon/nxsupport.tcl site_ansto/instrument/lyrebird/config/tasmad/taspub_sics/tasscript.tcl statusfile.c tasdrive.c tasub.c tasub.h tasublib.c tasublib.h
This commit is contained in:
@ -113,7 +113,8 @@ experiment.
|
||||
property on the node or as given on the command line. The alias is expected to match the size and type of
|
||||
the data. Please note that hipadaba stores all floats as double which is NX_FLOAT64 as number type. Writing
|
||||
data is started with the offset specified from the start of the data. This is useful to split a histogram
|
||||
memory area into separate detectors or whatever.
|
||||
memory area into separate detectors or whatever. The length of the amount of data to
|
||||
copy is implied by the dimension of the SDS alias points to.
|
||||
<dt>nxscript puthdbslab path start size
|
||||
<dd>Put a hipdaba node as a slab. The node must have a property nxalias to determine where to write to.
|
||||
Start and size are Tcl lists which give the start point where to write and the size of the data
|
||||
@ -168,6 +169,25 @@ designated by targetAlias.
|
||||
The difference is that this converts the data to a6 bit int before writing.
|
||||
And SICSData objects are not supported.
|
||||
</dl>
|
||||
<dt>nxscript puts alias sgetstring [dim,dim]
|
||||
<dd>
|
||||
Writes any SICS data which can be fetched with sget. The input to sget is the
|
||||
sgetstring. If sgetstring contains spaces, it must be quoted. The code tries to guess types
|
||||
and dimensions automatically, thus alias must point to a definition string without -type,
|
||||
-dim and -rank. The dimensions can be overriden with the optional dim argument which is a
|
||||
komma separated list of dimensions.
|
||||
</dl>
|
||||
<dt>nxscript sappend alias sgetstring point [dim,dim]
|
||||
<dd>
|
||||
Appends any SICS data which can be fetched with sget to alias. The input to sget is the
|
||||
sgetstring. If sgetstring contains spaces, it must be quoted. The code tries to guess types
|
||||
and dimensions automatically, thus alias must point to a definition string without -type,
|
||||
-dim and -rank. It is assumed that the first dimension is NX_UNLIMITED. The dimensions can be
|
||||
overriden with the optional dim argument which is a komma separated list of dimensions. This override
|
||||
only allows to specify the correct dimensions of the detector, NX_UNLIMITED is prepended
|
||||
automatically. Point is the count in the dataset where to append to. Usually this is the
|
||||
scan point number.
|
||||
</dl>
|
||||
</p>
|
||||
<H1>Automatic Updating of NeXus Files</H1>
|
||||
<P>
|
||||
|
Reference in New Issue
Block a user