C++ DP5 SDK Overview
The C++ DP5 SDK provides examples of data acquisition display and control for Amptek signal processors.
The C++ DP5 SDK has five example projects with source code included:
- vcDP5 - Demonstrates most DPP features.
- vcDP5_USB_Repeat - Demonstrates repeat spectra with presets.
- vcDppConsole - Demonstrates acquisition using USB communications in a console window.
- vcDppConsoleInet - Demonstrates acquisition using socket (ethernet) communications in a console window.
This software is free and can be downloaded from the
Software Download page.
C++ DP5 SDK Features Common To All Examples
List of features common to all the examples:
- Create and Parse DP5 protocol messages.
- Request and Decode status packets.
- Send and Receive configurations.
- Acquire spectrum data.
- Saves Amptek MCA spectrum data files.
- Has Visual Studio solution files for VS2003 and up.
- VS2003/VC++ 7.1 Compile with projectname_7.1.sln.
- VS2005/VC++ 8 Compile with projectname_8.sln.
- VS2008/VC++ 9 Compile with projectname_8.sln.
- VS2010/VC++ 10 and above Compile with projectname_10.sln.
- Runs on Microsoft Windows XP and Up.
- Source code is included.
- Hyper-linked software structure help is included.
C++ DP5 SDK Examples are compatible with FW6 devices:
- DP5/DP5G/DP5X
- X-123 (with DP5 inside) including X-123SDD and X-123CdTe
- X-55 (with DP5X inside)
- PX5/PX5-HPGe
- Gamma-Rad5
- TB-5
- MCA-8000D including Option PA
|
|
vcDP5 Example Project
vcDP5 is the development and test application for DppMCA.
Many DppMCA classes are shared with vcDP5.
vcDP5 demonstrates most DPP features.
vcDP5 Example Features
List of vcDP5 features in addition to C++ DP5 SDK Features Common To All Examples:
- Full Dpp configuration dialog for complete hardware control. (Same as DppMCA)
- Device selection dialog includes WinUSB, RS232 Serial Port and UDP Ethernet Sockets. (Same as DppMCA)
- Spectrum linear and log histogram plotting.
- Digital Oscilloscope.
- DPP diagnostic data display.
- 512-byte miscellaneous data block read/write/display.
- Fast/slow threshold tuning.
- Delta acquisition mode.
vcDP5 Screenshots
|
vcDP5 Acquisition Dialog |
|
The DPP Configuration Dialog controls all DPP hardware functions |
|
The DPP Communications Dialog finds and selects DPP devices |
vcDP5_USB_Repeat Example Project
vcDP5_USB_Repeat example application uses the simplified vcDP5_USB with an added repeat acquisition control.
vcDP5_USB_Repeat example application demonstrates repeat spectrum acquisition with presets.
Many vcDP5_USB_Repeat classes are shared with DppMCA.
vcDP5_USB_Repeat Example Features
List of vcDP5_USB_Repeat features in addition to C++ DP5 SDK Features Common To All Examples:
- Repeat spectrum acquisition mode with presets.
- WinUSB DPP device selection dialog
- Spectrum linear and log histogram plotting.
- Digital Oscilloscope.
- DPP diagnostic data display.
- 512-byte miscellaneous data block read/write/display.
- Fast/slow threshold tuning.
- Delta acquisition mode.
vcDP5_USB_Repeat Screenshot
|
vcDP5_USB_Repeat Acquisition Dialog |
vcDppConsole Example Project
vcDppConsole demonstrates acquisition using WinUSB communications in a console window.
vcDppConsole contains mostly generic C++ source code and does not require a graphical user interface.
vcDppConsole Example Features
List of vcDppConsole features in addition to C++ DP5 SDK Features Common To All Examples:
- Spectrum acquisition with preset.
- Simplified WinUSB communications.
- Connects to default WinUSB device.
- Requires no graphical interface.
- ConsoleHelper class simplifies function calls.
- Mostly non-platform specific source code for easier porting to other systems.
vcDppConsole Screenshot
|
vcDppConsole Acquisition Dialog |
vcDppConsoleInet Example Project
vcDppConsoleInet demonstrates acquisition using UDP socket communications in a console window.
vcDppConsoleInet contains mostly generic C++ source code and does not require a graphical user interface.
vcDppConsoleInet Example Features
List of vcDppConsoleInet features in addition to C++ DP5 SDK Features Common To All Examples:
- Spectrum acquisition with preset.
- Simplified UDP socket communications.
- Connects to default UDP socket device.
- Requires no graphical interface.
- ConsoleHelper class simplifies function calls.
- Mostly non-platform specific source code for easier porting to other systems.
vcDppConsoleInet Screenshot
|
vcDppConsoleInet Acquisition Dialog |