@echo off del bbtalk.ptr echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ echo ³ CONNECT.BAT (c)1998 RD Instruments All rights reserved ³ echo ³ Licensed for exclusive use with RD Instruments products or data ³ echo ³ This batch file will assist you in waking up and testing your ADCP. ³ echo ³ To use: at the DOS prompt type CONNECT and press Enter key ³ echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ :step1 echo. echo ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo STEP 1: CONNECT ADCP TO COMPUTER AND APPLY POWER echo ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo. echo Connect your ADCP to your computer serial port and apply power. echo See the connection diagram on your Installation Reference Card or in echo the User's Guide. echo. ec Are you ready to continue (y/n) ? yesno echo. if ERRORLEVEL 1 goto step2 echo. ec Press y to return to STEP 1, n to quit: yesno echo. if ERRORLEVEL 1 goto step1 goto done :step2 cls echo ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo STEP 2: Find ADCP Com Port and Baud Rate echo ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo. echo We will now run RESET which will find your ADCP on serial ports echo COM1 and COM2, and then wake it up. echo. ec Are you ready to continue (y/n) ? yesno echo. if ERRORLEVEL 1 goto step23 echo. ec Press y to return to STEP 1, n to quit: yesno echo. if ERRORLEVEL 1 goto step1 goto done :step23 RESET /CREATESCRIPT if ERRORLEVEL 1 goto nowake goto wokeup :nowake echo. echo RESET could not wakeup your ADCP. Please be sure that you have echo your serial RS-232 cable connecting your computer with the ADCP, echo and power is applied to the ADCP (See the Installation Reference Card). echo. echo Would you like to try again (y/n) ? yesno if ERRORLEVEL 1 goto step1 goto done :wokeup echo. ec RESET Successful. Are you ready to continue (y/n) ? yesno if ERRORLEVEL 1 goto dtalk echo. ec Press y to return to STEP 1, n to quit: yesno if ERRORLEVEL 1 goto step1 goto done :dtalk cls echo ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo STEP 3: Save ADCP Communications Settings echo ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo. echo BBTALK will now save the ADCP port and baud rate settings. The other echo software will look for these settings (in the file BBTALK.PTR) to find out echo how to communicate with the ADCP. echo. ec Are you ready to continue (y/n) ? yesno if ERRORLEVEL 1 goto pre3 echo. ec Press y to return to STEP 1, n to quit: yesno if ERRORLEVEL 1 goto step1 goto done :pre3 BBTALK WAKEUP.SCR cls echo ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo STEP 4: Perform system test to see if your ADCP works echo ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ echo. echo The SYS-TEST batch file will now call BBTALK and run a brief series of echo tests on your ADCP hardware. The results of these tests will be displayed on echo your screen and logged to the file SYS-TEST.LOG. echo. ec Would you like to run the system test (y/n) ? yesno if ERRORLEVEL 1 goto testscript echo. ec Press y to return to STEP 1, n to quit: yesno if ERRORLEVEL 1 goto step1 goto done echo. ec Press y to return to STEP 1, n to quit: yesno echo. if ERRORLEVEL 1 goto step1 goto done :testscript BBTALK SYS-TEST goto done :done echo. echo Connect batch file - done.