/*SETUP_DIALOG DIALOG 18, 18, 142, 92 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU CAPTION "AD12-8 Sample One" BEGIN DEFPUSHBUTTON "OK", IDOK, 60, 58, 24, 14, WS_GROUP END */ SAMPLE1_MENU MENU BEGIN POPUP "&Setup" BEGIN MENUITEM "&Card Setup", 101 MENUITEM SEPARATOR MENUITEM "E&xit", 302 END POPUP "&Convert" BEGIN MENUITEM "A/D &Start", 201 MENUITEM "A/D S&top", 202 END POPUP "&About" BEGIN MENUITEM "&About Sample 1", 301 END END ABOUTBOX DIALOG 22, 17, 144, 75 STYLE DS_SYSMODAL | WS_OVERLAPPED | WS_CAPTION CAPTION "About Sample 1" BEGIN CTEXT "AD12-8 Sample 1 Program", -1, 0,5,144,8 CTEXT "Version 3.0", -1, 0,34,144,8, WS_CHILD | WS_VISIBLE | WS_GROUP CTEXT "ACCES I/O Products Inc.", -1, 0, 15, 145, 8 CTEXT "Tech Support: Call (619) 693-9005", -1, -1, 25, 145, 8, WS_CHILD | WS_VISIBLE | WS_GROUP CTEXT "Written by: Seang Chau", -1, -1, 46, 145, 8 CONTROL "OK", IDOK, "BUTTON", WS_GROUP, 55, 60, 32, 14 END SETUP_DIALOG DIALOG 23, 31, 197, 141 STYLE DS_SYSMODAL | WS_OVERLAPPED | WS_CAPTION CAPTION "AD12-8 Setup" BEGIN LTEXT "This program will display the input from the 16 channels", -1, 5, 15, 185, 9 LTEXT "of a single AIM-16 attached to channel 0 of the AD12-8.", -1, 6, 25, 185, 8 LTEXT "AIM-16 channel 0 will display the reference junction ", -1, 6, 35, 185, 8 LTEXT "temperature, channel 1 will display the temperature from", -1, 6, 45, 185, 8 LTEXT "a type T thermocouple, and the remainig 14 channels will", -1, 6, 55, 185, 8 LTEXT "display voltage. The program expects the following setup:", -1, 6, 65, 185, 8 LTEXT "1) The base address set to 300 hex.", -1, 16, 75, 120, 8 LTEXT "2) The voltage range to bipolar 5 volts.", -1, 16, 85, 130, 8 LTEXT "3) The attached AIM-16 should be set to", -1, 16, 95, 175, 8 CONTROL "OK", IDOK, "BUTTON", WS_GROUP, 87, 120, 36, 12 LTEXT "programmable gains.", -1, 25, 104, 70, 8 END