V 10
1
LANG:1 8 (NoName)
PANEL,324 76 738 423 N "_3DFace" 0
EEE E E 1 -1 -1 0  230 90
"" 0 1
EE 2
"CBRef""1"
"EClose"E
""
DISPLAY_LAYER, 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
LAYER, 0 
1
LANG:1 6 Layer1
14 6
"TextField3"
""
1 230 90 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
7 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
228 88 482 114
3 "s" 0 0 0 0 0 0 
"main()
{
   int x_position, y_position;
   getValue(\"\", \"position\", x_position, y_position);
 
   
   getTimeStamp(\"SCTbarr1:h0_n0_p0_Unit00.Chan48.Data\", x_position, y_position);
}

getTimeStamp(string dpePath, int x_position, int y_position)
{
	string local_time_date;
	time time_stamp;
	bool visible;
	
	getValue(\"time_stamp1\", \"visible\", visible);
    setValue(\"time_stamp1\", \"position\",x_position, y_position+25);
	if(visible)
	  {
		 setValue(\"time_stamp1\", \"visible\", FALSE);
	  }
	else
	  {  	
	     dpGet(dpePath+\":_original.._stime\", time_stamp);
	     local_time_date = formatTime(\"%d/%m/%Y  %H:%M:%S\", time_stamp, \":%04d\");
	     setValue(\"time_stamp1\", \"text\", local_time_date);
		 setValue(\"time_stamp1\", \"visible\", TRUE); 
		 delay(6);
		 setValue(\"time_stamp1\", \"visible\", FALSE);
	  }
}" 0

E
E
14 9
"time_stamp1"
""
1 220 300 E E E 1 E 0 E N {255,0,0} E N {204,204,204} E E
 E E
10 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
218 298 482 327
3 "s" 0 0 0 0 0 0 
E
E
E
0
LAYER, 1 
1
LANG:1 6 Layer2
0
LAYER, 2 
1
LANG:1 6 Layer3
0
LAYER, 3 
1
LANG:1 6 Layer4
0
LAYER, 4 
1
LANG:1 6 Layer5
0
LAYER, 5 
1
LANG:1 6 Layer6
0
LAYER, 6 
1
LANG:1 6 Layer7
0
LAYER, 7 
1
LANG:1 6 Layer8
0
0