/****************************************************************************
  
    Name:  trig.rc
  
    Description:
       Resource file for cli commands and error text
  
    Status:  CODED
  
    $Log:   S:/tbird/mt2_186/trace/trig.rcv  $
*  
*     Rev 1.3   27 May 1997 15:29:14   Judy
*  No change.
*  
*     Rev 1.2   04 Feb 1997 18:18:52   Judy
*  
*     Rev 1.1   22 Jan 1997 16:08:00   Judy
*  Modify shell command.
*  
*     Rev 1.10   12 Dec 1996 11:25:38   cjchen
*  
*     Rev 1.9   22 Nov 1996 14:31:50   cjchen
*  No change.
*  
*     Rev 1.8   07 Nov 1996 18:22:12   cjchen
*  No change.
*  
*     Rev 1.7   29 Oct 1996 16:20:38   cjchen
*  No change.
*  
*     Rev 1.6   22 Oct 1996 18:17:58   cjchen
*  
*     Rev 1.5   18 Oct 1996 17:47:28   cjchen
*  No change.
*  
*     Rev 1.4   17 Oct 1996 09:13:54   cjchen
*  
*     Rev 1.3   11 Oct 1996 17:22:56   cjchen
*  
*     Rev 1.2   09 Oct 1996 14:43:54   cjchen
*  No change.
*  
*     Rev 1.1   08 Oct 1996 17:34:28   cjchen
*  
*     Rev 1.0   06 Sep 1996 16:56:02   cjchen
*  Initial revision.
*  
*     Rev 1.0   30 Jul 1996 09:32:14   cjchen
*  Initial revision.
*  
*     Rev 1.0   14 Jun 1996 17:04:56   Judy
*  Initial revision.
   
      Rev 1.22   10 May 1994 10:19:36   ernie
   Added hidden command _trgIgnoreEmon
   
      Rev 1.21   13 Jul 1993 19:07:26   doug
   Move errors to errtext/mkerrors.h and use generic syntax error
   
      Rev 1.20   15 Dec 1992 10:17:10   fredg
   added period to Out of Memory message
   
      Rev 1.19   04 Nov 1992 11:53:46   doug
   add underscore to trgenable help
   
      Rev 1.18   30 Oct 1992 15:19:08   fredg
   updated error messages
   
      Rev 1.17   25 Oct 1992 11:14:42   mindy
   fixed trgenable was missing _
   
      Rev 1.16   21 Oct 1992 07:59:16   mindy
   corrected error messages
   
      Rev 1.15   14 Oct 1992 18:38:08   mindy
   add error message
   
      Rev 1.14   08 Oct 1992 13:50:00   fredg
   changed trgAction to _trgAction
   changed trgBrkFull to _trgBrkFull
   changed trgClose to _trgClose
   changed trgClrAction to _trgClrAction
   changed trgClrEvent to _trgClrEvent
   changed trgClrTrig to _trgClrTrig
   changed trgCntrFunc to _trgCntrFunc
   changed trgCntrVal to _trgCntrVal
   changed trgEvent to _trgEvent
   changed trgname to _trgName
   change trgEvtSrvr to _trgEvtSrvr
   changed trgExt to _trgExt
   changed trgOpen to _trgOpen
   changed trgQual to _trgQual
   changed trgSave to _trgSave
   changed trgLevel to _trgLevel
   changed trgNumTrcBuf to _trgNumTrcBuf
   changed trgMode to _trgMode
   
      Rev 1.13   08 Oct 1992 09:53:10   fredg
   changed error messages
   
      Rev 1.12   23 Sep 1992 06:50:34   mindy
   changed bad counter value error text
   
      Rev 1.11   09 Sep 1992 10:16:06   mindy
   start all commands with same prefix
   
      Rev 1.10   08 Sep 1992 15:58:58   mindy
   changes unknown (john)
   
      Rev 1.9   20 Aug 1992 11:28:14   mindy
   need to adjust the number of commands too
   
      Rev 1.8   18 Aug 1992 06:48:04   mindy
   removed cli program command
   
      Rev 1.7   10 Aug 1992 07:44:28   tom
   CLI registration changes.
   
      Rev 1.6   17 Jul 1992 14:13:28   mindy
   add an error text
   
      Rev 1.5   25 Jun 1992 12:43:20   mindy
   added an error message
   
      Rev 1.4   15 Jun 1992 10:11:20   mindy
   added error text for changing trigger while tracing
   
      Rev 1.3   02 Jun 1992 15:10:50   tom
   changed bad entry point.
   
      Rev 1.2   30 May 1992 07:06:28   mindy
   left out server name entry
   
      Rev 1.1   14 May 1992 11:43:08   mindy
   added error handling server name in slot 99
   
      Rev 1.0   12 May 1992 13:09:46   mindy
   Initial revision.
  
    $Header:   S:/tbird/mt2_186/trace/trig.rcv   1.3   27 May 1997 15:29:14   Judy  $
  
    Copyright (C) 1991 Microtek International.  All rights reserved.
  
*****************************************************************************/
#include "trigdlg.h"
#include "trigwdlg.h"
STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
{
;
;new CLI registration
  30, "trig"
  31, "trig.dll"
  32, "20"
  33, "_trgaction"
  34, "TrigCliAction"
  35, "h:_trgAction [<LV0|LV1|LV2|LV3|BRK|RST0|RST1|TM0_ON|TM1_ON|TM0_OFF|TM1_OFF|INC0|INC1|TRC_IN|TRC_END|TRC_ON|TRC_OFF|TRIG_OUT>]"
  36, "_trgbrkfull"
  37, "TrigCliBreakFull"
  38, "h:_trgBrkFull  [<TRUE|FALSE>]"
  39, "_trgclose"
  40, "TrigCliClose"
  41, "h:_trgClose"
  42, "_trgclraction"
  43, "TrigCliClearAction"
  44, "h:_trgClrAction [<LV0|LV1|LV2|LV3|BRK|RST0|RST1|TM0_ON|TM1_ON|TM0_OFF|TM1_OFF|INC0|INC1|TRC_IN|TRC_END|TRC_ON|TRC_OFF|TRIG_OUT>]"
  45, "_trgclrevent"
  46, "TrigCliClearEvent"
  47, "h:_trgClrEvent"
  48, "_trgclrtrig"
  49, "TrigCliClearTrigger"
  50, "h:_trgClrTrig"
  51, "_trgcntrfunc"
  52, "TrigCliCounterFunction"
  53, "h:_trgCntrFunc [<COUNTER_COUNTER|COUNTER_TIMER|TIMER_COUNTER|TIMER_TIMER>]"
  54, "_trgcntrval"
  55, "TrigCliCounterValue"
  56, "h:_trgCntrVal <counter #> <value>"
  57, "_trgevent"
  58, "TrigCliEvent"
  59, "h:_trgEvent [<EV0|EV1|EV2|EV3|EV4|EV5|EV6|EV7|TC0|TC1|EXT>]"
  60, "_trgenable"
  61, "TrigCliEventEnable"
  62, "h:_trgEnable [<TRUE|FALSE>]"
  63, "_trgname"
  64, "TrigCliEventName"
  65, "h:_trgName [<event name>]"
  66, "_trgevtsrvr"
  67, "TrigCliEventServer"
  68, "h:_trgEvtSrvr [<id>]"
  69, "_trgext"
  70, "TrigCliExt"
  71, "h:_trgExt [<TRUE|FALSE>]"
  72, "_trgopen"
  73, "TrigCliOpen"
  74, "h:_trgOpen <template name>"
  75, "_trgqual"
  76, "TrigCliQualifier"
  77, "h:_trgQual [<CLOCK|BUS>]"
  78, "_trgsave"
  79, "TrigCliSave"
  80, "h:_trgSave <filename>"
  81, "_trglevel"
  82, "TrigCliSeqLevel"
  83, "h:_trgLevel [<0|1|2|3>]"
  84, "_trgnumtrcbuf"
  85, "TrigCliTraceConfigure"
  86, "h:_trgNumTrcBuf [<number of buffers>]"
  87, "_trgmode"
  88, "TrigCliTraceMode"
  89, "h:_trgMode [<PRE|POST|CENTER>]"
  90, "_trgIgnoreEmon"
  91, "TrigCliIgnoreEmon"
  92, "h:_trgIgnoreEmon [<TRUE|FALSE>]"
}

IDD_EXTSETTING DIALOG 18, 18, 88, 79
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "External Trigger"
FONT 10, "System"
BEGIN
	CONTROL "&Set", IDC_SELSET, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 7, 28, 12
	LTEXT "&Bit No:", -1, 14, 24, 23, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
	CONTROL "", IDC_BITNUMBER, "COMBOBOX", CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 39, 23, 40, 77
	LTEXT "S&tate:", -1, 14, 39, 23, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
	CONTROL "", IDC_STATE, "COMBOBOX", CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 39, 38, 40, 28
	PUSHBUTTON "OK", IDOK, 9, 62, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "Cancel", IDCANCEL, 48, 62, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 5, 4, 78, 51
END


DialogMenu MENU 
BEGIN
	POPUP "&File"
	BEGIN
		MENUITEM "E&xit", IDM_TRIGFEXIT
	END

	MENUITEM "&Events", IDM_TRIGEEVENTS
	POPUP "&Options"
	BEGIN
		MENUITEM "&Trace Control...", IDM_TRIGOCONTROL
		POPUP "Timer &0 Unit"
		BEGIN
			MENUITEM "&clock", IDM_TRIGOTM0EP
			MENUITEM "&s", IDM_UNIT_S_0
			MENUITEM "&ms", IDM_UNIT_MM_0
			MENUITEM "&us", IDM_UNIT_UM_0
		END

		POPUP "Timer &1 Unit"
		BEGIN
			MENUITEM "&clock", IDM_TRIGOTM1EP
			MENUITEM "&s", IDM_UNIT_S_1
			MENUITEM "&ms", IDM_UNIT_MM_1
			MENUITEM "&us", IDM_UNIT_UM_1
		END

		MENUITEM SEPARATOR
		MENUITEM "Counter -- &Decimal Value", IDM_COUNTER_DEC
                MENUITEM "Counter -- H&exadecimal Value", IDM_COUNTER_HEX
		MENUITEM SEPARATOR
                MENUITEM "Trigger Out -- &High", IDM_TRIGOEXHIGH
                MENUITEM "Trigger Out -- High-&Z", IDM_TRIGOEXHIGHZ
                MENUITEM "Trigger Out -- &Low", IDM_TRIGOEXLOW
		MENUITEM SEPARATOR
                MENUITEM "Trigger In - H&igh", IDM_TRIGOINHIGH
                MENUITEM "Trigger In - L&ow", IDM_TRIGOINLOW
	END

	POPUP "&Level"
	BEGIN
		MENUITEM "Show Level &0", IDM_TRIGL0
		MENUITEM "Show Level &1", IDM_TRIGL1
		MENUITEM "Show Level &2", IDM_TRIGL2
		MENUITEM "Show Level &3", IDM_TRIGL3
	END

	POPUP "&Windows"
	BEGIN
		MENUITEM "&Breakpoint", IDM_EVTWBKPT
		MENUITEM "&CPU", IDM_EVTWCPU
		MENUITEM "&Memory", IDM_EVTWMEMORY
		MENUITEM "&Peripheral", IDM_EVTWPERIPHERAL
		MENUITEM "S&hell", IDM_EVTWSHELL
		MENUITEM "&Source", IDM_EVTWSOURCE
		MENUITEM "Spa[&z]", IDM_EVTWSPA
		MENUITEM "S&tack", IDM_EVTWSTACK
		MENUITEM "Stat&us", IDM_EVTWSTATUS
		MENUITEM "T&oolBar", IDM_EVTWTOOLBAR
		MENUITEM "Tr&ace", IDM_EVTWTRACE
		MENUITEM "Tri&gger", IDM_EVTWTRIGGER
		MENUITEM "&Variable", IDM_EVTWVARIABLE
	END

	MENUITEM "&Accept!", IDM_TRIGACCEPT
	POPUP "&Help"
	BEGIN
		MENUITEM "Help &Index", IDM_TRIGHINDEX
		MENUITEM "&Help With Help", IDM_TRIGHHELP
		MENUITEM "Help With &Trigger", IDM_TRIGHEVENT
	END

END

EXTINSELECT DIALOG 14, 19, 142, 110
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ext In Select"
BEGIN
CONTROL "Active Logic Status", -1, "button", BS_GROUPBOX | BS_LEFTTEXT | WS_CHILD | WS_VISIBLE, 10, 7, 121, 28
RADIOBUTTON "&High", 500, 30, 18, 28, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
RADIOBUTTON "&Low", 501, 83, 18, 28, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
CONTROL "Bit Number", -1, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 13, 41, 118, 41
RADIOBUTTON "&0", 510, 27, 52, 18, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
RADIOBUTTON "&1", 511, 53, 51, 19, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
RADIOBUTTON "&2", 512, 77, 52, 17, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
RADIOBUTTON "&3", 513, 103, 52, 18, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
RADIOBUTTON "&4", 514, 27, 68, 16, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
RADIOBUTTON "&5", 515, 54, 68, 17, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
RADIOBUTTON "&6", 516, 79, 67, 17, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
RADIOBUTTON "&7", 517, 103, 68, 17, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "O&K", 520, 13, 92, 38, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&CANCEL", 521, 95, 91, 34, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END

EVENTDLG DIALOG 14, 19, 142, 110
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "EVENTDLG"
BEGIN
END

SelExtOut DIALOG 30, 41, 114, 49
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ext Out"
BEGIN
	RADIOBUTTON "&High", 540, 4, 8, 28, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	RADIOBUTTON "&Low", 541, 43, 8, 28, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	RADIOBUTTON "High-&Z", 542, 77, 8, 34, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Ok", 543, 13, 32, 37, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", 544, 60, 32, 38, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END


SelLevel DIALOG 29, 20, 74, 97
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Sequence"
BEGIN
	RADIOBUTTON "Level&0", 530, 10, 5, 33, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	RADIOBUTTON "Level&1", 531, 10, 18, 33, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	RADIOBUTTON "Level&2", 532, 10, 32, 33, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	RADIOBUTTON "Level&3", 533, 10, 46, 33, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	RADIOBUTTON "&no sequence", 534, 10, 59, 53, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Ok", 535, 3, 77, 27, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", 536, 45, 77, 27, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END

TRACECONTROL DIALOG 4, 18, 139, 100
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Trace Control"
BEGIN
	CONTROL "&Trigger Position", 200, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 5, 7, 128, 34
	RADIOBUTTON "&Pre", IDT_PRE, 11, 23, 28, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	RADIOBUTTON "Ce&nter", IDT_CENTER, 50, 23, 37, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	RADIOBUTTON "Po&st", IDT_POST, 96, 24, 28, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&OK", IDT_OK, 6, 80, 35, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", IDT_CANCEL, 51, 79, 35, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Help", IDT_HELP, 95, 79, 35, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "&Emulation Break on Full", IDT_TRCBRK, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 9, 45, 105, 12
	CONTROL "T&race off on Full", IDT_TRCOFF, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 9, 59, 81, 12
END

