Introduction

A text file fully defining the conversion process of raw data into SDDS file(s). Is very simple for simple cases, is clear to treat special requirements, is open for new (reasonable) complications.

Must contain:

  • Raw data block description (formats and names)
May contain:
  • Additional info for SDDS object attributes
  • Instructions for data generation/modification
  • Instructions for SDDS file formation

PMX examples

#### pmx_QPS_DQAMGA_4-v02.txt ####
$SET Endian LITTLE
i4 TYPE
i4 CIRCUIT
i8 QUENCHTIME
i4 SERVICES
s50 FESA_NAME
s25 LOC
s25 P1
s25 P2
s25 P3
s25 P4
s25 P5
$TABLE Rows 250 SegmNZ AQNTIME
i8 AQNTIME
u1 DQAMG.P2.LOC:ST_FAN_1 {ST:}
u1 DQAMG.P2.LOC:ST_FAN_2 {ST:}
u1 DQAMG.P2.LOC:ST_PWR_PERM {ST:}
u1 DQAMG.P2.LOC:ST_COM {ST:}
u1 DQQDG.P2.LOC:ST_PWR_PERM {ST:}
u1 DQQDG.P2.LOC:ST_PWR {ST:}
u1 DQQDG.P2.LOC:ST_COHER {ST:}
u1 LOC:ST_CIRCUIT_OK_QPS {ST:}
u1 LOC:ST_PWR_PERM {ST:}
+75
f4 DFLBS.P1.LOC.LD1:U_RES (%.4f)
f4 DFLBS.P1.LOC.LD1:U_HTS (%.4f)
f4 DFLBS.P1.LOC.LD2:U_RES (%.4f)
f4 DFLBS.P1.LOC.LD2:U_HTS (%.4f)
+84
$TEND
$FILE Suffx 5Hz

Tags Reference

SET

FILE

TABLE

TEND

GENCOL

MAXCOL

MINCOL

TSCALE

TSEND

MODCOL

types

#define SDDS_DOUBLE 1 d4 #define SDDS_FLOAT 2 f4 #define SDDS_LONG 3 i4 #define SDDS_SHORT 4 i2 #define SDDS_STRING 5 s... #define SDDS_CHARACTER 6 u1 #define SDDS_LONGLONG 7 i8 #define SDDS_BOOLEAN 8 u1 #define SDDS_BYTE 9 u1 #define NOT_USED 10 ...

-- Main.dkudryav - 09 Mar 2007

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2007-03-09 - DmitriyKudryavtsev1
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback