set_taxis

Function writedia_R14

  Write DIA structure to file.
  
  

CALL:

   rc = writedia_R14(S, fname)
  
  

INPUT:

   S: Dia structure to save, fields:
      +----IDT
      |    +----sFiltyp (char)
      |    +----sSyscod (char)
      |    +----lCredat (double)
      |    +----sCmtrgl (char)
      +----blok
      +----W3H (struct): see emptyW3H
      +----MUX (struct): empty, see emptyMUX
      +----TYP (struct): empty
      +----RGH (struct): empty, see emptyRGH
      +----RKS (struct): see emptyRKS
      +----TPS (struct): empty, see emptyTPS
      +----WRD (struct): see emptyWRD
   fname: String with the name of the file to create.
         
  

OUTPUT:

   rc: Integer returncode:
       rc == 0 operation successful.
       rc ~= 0 error, rc contains the DIM errorcode.
         
  

See also:

readdia_R14
verifyDia