Scilab Function
Last update : 27/10/2005
catman_read - Reads catman binary measurement data
files
Calling Sequence
-
[a1,a2] =
catman_read(%file)
Parameters
-
%file
: complete filename of the catman measurement file. This input
argument is optional.
-
a1
: Content of the global section. This structured variable
contains information about filename , fileid (Must be greater than
5010 ! ), dataoffset (there, the raw data is contained ), comment
(The channel comment itself ) , ReservedSTR (the reserved strings,
only for catman 5.0, almost empty), noofchan (Number of channels ),
mcl (max. channel length), redufact (reduction factor, almost
0).
-
a2
: This structured variable contains the channel header data and
the measurement data itself. The fields are: Channelnumber (catman
database channel ), ChannelLength (no. of values in the DB channel
), ChannelName (Name of the DB channel), Unit , comment , format
(0=numeric, 1=String, 2=Binary Object ), datawidth (numeric = 8,
string >= 8), datumzeit (Date/Time of measurement), header
(Traceability data, must be decoded ), linmode (Linearization Mode),
userscale , DBSensorInfo , data (The REAL content of the
database)
Description
-
CATMAN is a software family for DAQ purposes. It is optimized for
DAQ with the amplifier systems MGCplus, MGCsplit and Spider8 of the
company HBM GmbH (Hottinger Baldwin Messtechnik GmbH). Especially the
software catman easy enables the fast and easy measurement with HBM
hardware like Spider8 and MGCplus. Basis is TEDS based upon
IEEE1451.4. Now you can direct import catman datafiles into
SciLab.
-
ONLY CATMAN 4.5 and CATMAN 5.0 is supported !!! The catman online
data format is not supported.
Examples
[a1,a2]=catman_read(); // Select a catman binary file and reads it
disp(a2);
disp(a2.ChannelName);
plot2d(a2(4).data); // Plot the data of the 4th catman channel
See Also
cp42mea
,
cp42cut
,
Authors
-
Dr. Andreas Geissler geisslea@web.de