AN2263 Freescale Semiconductor / Motorola, AN2263 Datasheet - Page 21

no-image

AN2263

Manufacturer Part Number
AN2263
Description
PC Master Software: Creation of Advanced Control Pages
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
MOTOROLA
PC Master Software: Creation of Advanced Control Pages
Then fill the signal data to the 6
Let the sub-routine RecordAndAnalyze be repeated after the next 5 seconds
with newer data and so on until the Excel file is closed. Add the code
End Sub
to the end of the sub-routine RecordAndAnalyze and create a sub-routine on
the file-close event that will cancel the last schedule.
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.OnTime EarliestTime:=ScheduleTime, ...
End Sub
Appendix C
Basic script.
Freescale Semiconductor, Inc.
Else
End If
ScheduleTime = Now + TimeValue("00:00:05")
Application.OnTime ScheduleTime, "RecordAndAnalyze"
For More Information On This Product,
For s = 0 To serCnt
Next s
MsgBox (msg)
contains the complete source code of the Microsoft Excel Visual
Go to: www.freescale.com
sht.Cells(1, s + 6).Value = serNames(s)
For i = 0 To valCnt
Next i
sht.Cells(i + 2, s + 6).Value = data(s, i)
Procedure:="RecordAndAnalyze", ...
Schedule:=False
th
(F) and the next columns.
Example: Step-by-Step Guide
AN2263/D
21

Related parts for AN2263