AN2263 Freescale Semiconductor / Motorola, AN2263 Datasheet - Page 22

no-image

AN2263

Manufacturer Part Number
AN2263
Description
PC Master Software: Creation of Advanced Control Pages
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2263/D
Using the PC Master
Software
OnRecorderDone
Event
Extension
Conclusion
22
PC Master Software: Creation of Advanced Control Pages
In the previous example the sub-routine RecordAndAnalyze is called
periodically each 5 seconds. Another way to handle the PC master software
recorder data is to use the OnRecorderDone event. This event is called each
time the currently-selected recorder finishes downloading of the new data. To
assign a handler to this event in Visual Basic, declare the PC master software
ActiveX object with the WithEvents keyword.
Public WithEvents pcm As McbPcm
and then create the event-handler routine:
Private Sub pcm_OnRecorderDone()
End Sub
Methods similar to creating Control Pages can be used also for other HTML
pages within the PC master software:
The aim of this Application Note is to describe and to demonstrate how to
create advanced PC master software Control Pages, which are intended to
monitor and to control embedded applications. Therefore, the complete
methodology with all required information is provided. The description is
illustrated by real examples, with code samples.
A full real-life example is also provided. The example page is divided into two
frames. The usage of PC master software functions from an HTML page is
shown in one frame and the usage of PC master software functions from
Microsoft Excel is shown in the second frame.
Freescale Semiconductor, Inc.
/* any code */
For More Information On This Product,
Detail View pages
Algorithm Block Description pages
Go to: www.freescale.com
MOTOROLA

Related parts for AN2263