Talk:Main Page

From EPICSWIKI
Revision as of 21:03, 23 July 2014 by TimSouthern (talk | contribs) (Message db record example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  1. Program: msg.db
  2. Purpose: Creates a set of 10 messages that can be displayed in edm.


  1. MACROS:
  2. S - application specific identifier
  3. TIME - defines format to display time PVs. Uses formats defined by the
  4. linux 'date' command. (ie. "@%x %T" displays "mm/dd/yy hh:mm:ss")
  1. Author: Tim Southern <[email protected]>
  2. Created: June 10, 2010
  3. Updated: Feb. 25, 2012
  4. - Changed reading a PV for time to reading system using soft
  5. timestamp record type


record(stringin, "$(S):info") {

   field(DESC, "Info from seq")
   field(VAL, "Message db intialized")
   field(FLNK, "$(S):msg10")
   field(PINI, "YES")

}

record(stringin, "$(S):msg01") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):time01")
   field(INP, "$(S):info")

}

record(stringin, "$(S):time01") {

   field(DESC, "Message History")
   field(DTYP, "Soft Timestamp")
   field(VAL, "--------------------")
   field(INP, "$(TIME)")    	

}

record(stringin, "$(S):msg02") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):time02")
   field(INP, "$(S):msg01")	

}

record(stringin, "$(S):time02") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):msg01")
   field(INP, "$(S):time01")	  

}

record(stringin, "$(S):msg03") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):time03")
   field(INP, "$(S):msg02")	

}

record(stringin, "$(S):time03") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):msg02")
   field(INP, "$(S):time02")	  

}

record(stringin, "$(S):msg04") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):time04")
   field(INP, "$(S):msg03")	

}

record(stringin, "$(S):time04") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):msg03")
   field(INP, "$(S):time03")	

}

record(stringin, "$(S):msg05") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):time05")
   field(INP, "$(S):msg04")	

}

record(stringin, "$(S):time05") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):msg04")
   field(INP, "$(S):time04")	

}

record(stringin, "$(S):msg06") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):time06")
   field(INP, "$(S):msg05")	

}

record(stringin, "$(S):time06") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):msg05")
   field(INP, "$(S):time05")	

}

record(stringin, "$(S):msg07") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):time07")
   field(INP, "$(S):msg06")	

}

record(stringin, "$(S):time07") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):msg06")
   field(INP, "$(S):time06")	

}

record(stringin, "$(S):msg08") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):time08")
   field(INP, "$(S):msg07")	

}

record(stringin, "$(S):time08") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):msg07")
   field(INP, "$(S):time07")	

}

record(stringin, "$(S):msg09") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):time09")
   field(INP, "$(S):msg08")	

}

record(stringin, "$(S):time09") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):msg08")
   field(INP, "$(S):time08")	

}

record(stringin, "$(S):msg10") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):time10")
   field(INP, "$(S):msg09")	

}

record(stringin, "$(S):time10") {

   field(DESC, "Message History")
   field(VAL, "--------------------")
   field(FLNK, "$(S):msg09")
   field(INP, "$(S):time09")	

}