4.2.2 Block 1: Show Date and Time loop
This loop displays the current date and time in two text fields on the GUI.
4.2.3 Block 2: Operation loop
This loop is the actual programming loop. It will run indefinitely unless you stop the program.
If a button is pressed or if status information is to be loaded from the database or if the user
selects another PPM the corresponding block will be executed.
4.2.3.1 Block 2a: start of programming
This block is executed when the button Start is pressed. It will insert a record into the
progstatus table. All the required information is taken from the text fields and list boxes of the
GUI.
After inserting the new entry into the database, you’ll need its ID to reference it for all later
reads and writes. This can be done by asking for the latest ID in the table progstatus. The
SQL command
SELECT MAX(ID) from progstatus
gives us a two dimensional array containing only the maxid.
Straight after starting the program process a new entry in the EQWriteData table will be
created to take all the additional data which has to be written to the target. In this example
the SQL command
INSERT into
VALUES(...)
EQWriteData
(
ID,
Serial,
Product_id,
Revision,
No_of_updates)
with appropriate values creates this entry.
ISP-PRO - Remote Application Control V1.01 – 21/02/05
17
相关PDF资料
PQ-MDS-PCIEXP PCI EXPANDER ADAPTOR
PQF-44 PLUG QFP 44PIN (SOLDER DOWN)
PRG18BB471MS1RB THERMISTOR
PS1600 POWER SUPPLY HOTSWAP 90-245V
PS5100EV KIT EVALUATION PS5100 W/PS051
PS5162EV KIT EVALUATION PS5162 W/PS051
PS5163 MODULE BATTERY MGR W/LED DISPLAY
PS5164EV KIT EVALUATION PS5164 W/PS051
相关代理商/技术参数
PPM3A1-UPG6M 功能描述:UPGRADE PPM3 LABVIEW DEVELOPMENT RoHS:否 类别:编程器,开发系统 >> 软件 系列:- 标准包装:1 系列:ISE® 设计套件 类型:订阅 适用于相关产品:Xilinx FPGAs 其它名称:Q4986209T1081384
PPM3A1-UPG7 功能描述:UPGRADE PPM3 JTAG ISP AVR MCU RoHS:否 类别:编程器,开发系统 >> 软件 系列:- 标准包装:1 系列:ISE® 设计套件 类型:订阅 适用于相关产品:Xilinx FPGAs 其它名称:Q4986209T1081384
PPM3-MK2 功能描述:PROGRAMMER PRODUCTION ISP RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:PPM3-MK2 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035
PPM3-MK2(UN) 制造商:Equinox Technologies 功能描述:PROGRAMMER ISP
PPM-4 功能描述:电线鉴定 Pre-Printed Marker Cards, Hi-Temp, .25" RoHS:否 制造商:TE Connectivity / Q-Cees 产品:Labels and Signs 类型: 材料:Vinyl 颜色:Blue 宽度:0.625 in 长度:1 in
PPM-46 制造商:Panduit Corp 功能描述:
PPM-47 制造商:Panduit Corp 功能描述:
PPM-49 制造商:Panduit Corp 功能描述: