Starting Up User Programs; Starting Up User Programs - Denso BHT-8000 User Manual

Bar code handy terminal
Hide thumbs Also See for BHT-8000:
Table of Contents

Advertisement

2.6  Starting Up User Programs 
You may start up user programs (application programs) in the BHT in several ways. This section outlines 
those ways. 
 
  Starting from the EXECUTE PROGRAM menu in System Mode 
If you select a desired user program as an execution program in the EXECUTE PROGRAM menu, then 
the selected  program will  immediately  start running. The  selected  program  will always start from the 
beginning. 
For details, refer to Subsection 2.5.3, "[ 1 ] Program Execution." 
  Starting the auto-start execution program selected in the SET SYSTEM menu in System 
Mode, by turning the power on 
If  you  select  a  desired  user  program  as  an  auto-start  execution  program  on  the  SET  EXECUTE 
PROGRAM  screen  in  the  SET  SYSTEM  menu  and  turn  the  BHT  off,  then  the  selected  program  will 
automatically run when the BHT is turned on at the next time. If the resume function is activated, turning 
the BHT on will resume the program at the current point that had been running before the BHT was 
turned off. 
For details, refer to Subsection 2.5.3, "[4.1] Setting an execution program." 
  Starting the first registered execution program, by turning the power on--with Directory 
Manager 
If no auto-start execution program has been selected on the SET EXECUTE PROGRAM screen in the 
SET SYSTEM menu, then turning the BHT on will transfer the control to Directory Manager that starts a 
first-registered one out of user programs (.PD3) loaded in the BHT. 
If the resume function is activated, turning the BHT on will resume the program at the current point that 
had been running before the BHT was turned off. 
When downloading more than one user program after system initialization, you should download first a 
desired  program  to  be  run  as  an  auto-start  execution  program  since  downloaded  programs  will  be 
registered in the system in the downloading order. 
At the time of updating programs, use the same program names in downloading, and the registration 
order of programs will not change so that the same execution program may run. 
NOTE: Directory Manager in system manages also files other than program files (.PD3). If you delete a 
non-program file (e.g., .DAT) registered preceding the first-registered execution program and download 
a  new  user  program,  then  the  new  user  program  will  be  registered  into  the  position  of  the  deleted 
non-program  file.  To  prevent  such  a  problem,  it  is  recommended  that  after  initialization  you  first 
download an execution program to be run first when the BHT is turned on. 
On  the  next  page  are  downloading  examples  and  Directory  Manager  control.  In  those  samples,  the 
following file names are used: 
MAIN.PD3 
SUBMAIN.PD3 
USER.PD3 
AAAAAAAA.DAT 
BBBBBBBB.DAT 
Program to be run by turning the PW key on 
Program chained from the MAIN.PD3 with the CHAIN statement in BHT-BASIC 
New user program 
Data file 1 to be used by user programs 
Data file 2 to be used by user programs 
90

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents