Datasheet

Table Of Contents
PICkit™ SERIAL ANALYZER
USERS GUIDE
© 2009 Microchip Technology Inc. DS51647C-page 129
Chapter 12. PICkit™ Serial Analyzer DLL
12.1 INTRODUCTION
Custom software programs can be created by accessing the Dynamically Linked
Library (DLL), PICkitS.dll, with the software language of your choice. All of the function-
ality to create tag byte scripts that will be converted to protocol scripts is built into the
DLL and is very easy to use. Any programming language that can access functions
from a DLL can be used, however, a Microsoft.NET framework language is
recommended.
12.2 OVERVIEW
The name of the DLL is PickitS.dll and is included in the PICkit Serial Analyzer instal-
lation. The functions used to create custom GUI apps are divided into logical classes
inside the DLL. The classes are listed below:
•I
2
C Master (class PICkitS.I2CM)
•I
2
C Slave (class PICkitS.I2CS)
SPI Master (class PICkitS.SPIM)
Microwire Master (class PICkitS.MicrowireM)
USART (class PICkitS.USART)
LIN (class PICkitS.LIN)
Device (class PICkitS.Device)
USBRead (Class PICkitS.USBRead)
Applications call functions from class ‘Device’ for initialization and cleanup, and from a
specific protocol class for input and output.
Example projects (written in Visual Basic
®
.NET Express – a free download from Micro-
soft) and detailed documentation for each protocol are available for download from the
PICkit Serial web site.