[NeXus-code-tickets] [NeXusCode] #83: The Java function NeXusFile has a problem
NeXus Data Format Library and Applications
noreply at nexusformat.org
Wed Jun 6 11:13:12 BST 2007
#83: The Java function NeXusFile has a problem
---------------------+------------------------------------------------------
Reporter: Rwong | Owner: Freddie Akeroyd
Type: defect | Status: new
Priority: major | Milestone:
Component: napi | Version: 4.0.0
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by Rwong):
I think the problem is not due to the function NeXusFile().
It may be due to NX_CHAR in the line:
// add attributes, the first one is also an example how to write
// strings (by converting to byte arrays)
String units = "MegaFarts";
nf.putattr("Units",units.getBytes(),NexusFile.NX_CHAR);
iStart[0] = 1;
signal[0] = 1;
nf.putattr("signal",signal,NexusFile.NX_INT32);
--
Ticket URL: <http://trac.nexusformat.org/code/ticket/83#comment:1>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications
More information about the NeXus-code-tickets
mailing list