DotNet DP5 SDK Overview
The DotNet DP5 SDK provides acquisition examples of data acquisition display and control for Amptek signal processors.
The DotNet DP5 SDK has four acquisition example projects with source code included:
- vbDP5_vbNet - Demonstrates many DPP features (Visual Basic .NET).
- vbDP5_MultiUSB_vbNet - Demonstrates acquiring spectra using presets with up to 5 WinUSB devices simultaneously (Visual Basic .NET).
- csDP5 - Demonstrates DPP basic features with WinUSB communications (CSharp).
- csDppRS232 - Demonstrates DPP basic features with WinUSB and RS232 serial communications (CSharp).
- csDppEthernet - Demonstrates DPP basic features with Ethernet, WinUSB and RS232 serial communications (CSharp).
The DotNet DP5 SDK has one configuration example project with source code included:
- ReadCfg - Demonstrates DPP ASCII Command Configuration functions (CSharp).
DotNet DP5 SDK Features Common To All Acquisition 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.
- Runs on Microsoft Windows XP and Up.
- Source code is included.
DotNet 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
|
|
vbDP5_vbNet Example Project
vbDP5_vbNet is a Visual Basic .NET development and test application for Amptek DPP Devices.
Most of the vbDP5_vbNet Visual Basic functions are similar to DppMCA classes and functions.
vbDP5_vbNet Example Features
List of vbDP5_vbNet features in addition to DotNet DP5 SDK Features Common To All Examples:
- Device selection dialog for WinUSB.
- Spectrum linear and log histogram plotting.
- Digital Oscilloscope.
- DPP diagnostic data display.
- 512-byte miscellaneous data block read/write/display.
- Delta acquisition mode.
- Visual Basic .NET project files for Visual Studio 2005, 2010, 2012.
vbDP5_vbNet Screenshots
|
vbDP5_vbNet Acquisition Dialog |
|
The DPP Communications Dialog finds and selects DPP devices |
vbDP5_MultiUSB_vbNet Example Project
vbDP5_MultiUSB_vbNet example application uses the simplified vcDP5_USB with an added repeat acquisition control.
vbDP5_MultiUSB_vbNet example application demonstrates repeat spectrum acquisition with presets.
Many vbDP5_MultiUSB_vbNet classes are shared with DppMCA.
vbDP5_MultiUSB_vbNet Example Features
List of vbDP5_MultiUSB_vbNet features in addition to DotNet DP5 SDK Features Common To All Examples:
- Acquire spectra using presets with up to 5 WinUSB devices simultaneously.
- Automatically finds and connects with up to 5 WinUSB DPP devices.
- Runs MultiUSB Test. For each of up to 5 DPP devices:
- Sets preset time.
- Starts spectrum acquisition.
- Monitors acquisition.
- Saves spectrum, status and configuration to Amptek MCA file.
- Monitors 5 DPP devices and displays for active device:
- WinUSB connection summary.
- Spectrum linear or log histogram plot.
- Status snapshot.
- Digital Oscilloscope.
- DPP diagnostic data display.
- 512-byte miscellaneous data block read/write/display.
- Visual Basic .NET project files for Visual Studio 2005, 2010.
vbDP5_MultiUSB_vbNet Screenshot
|
vbDP5_MultiUSB_vbNet Acquisition Dialog |
csDP5 Example Project
csDP5 is a Visual Basic .NET development and test application for Amptek DPP Devices.
Most of the csDP5 Visual Basic functions are similar to DppMCA classes and functions.
csDP5 Example Features
List of csDP5 features in addition to DotNet DP5 SDK Features Common To All Examples:
- Built-in device selection for WinUSB.
- Sets preset time.
- Starts spectrum acquisition.
- Monitors acquisition.
- Saves spectrum, status and configuration to Amptek MCA file.
- Spectrum linear histogram plot.
- Displays Test Status.
- Displays DPP Initial Configuration.
- Displays DPP Test Configuration.
- CSharp project runs in Visual Studio 2005 and up.
csDP5 Screenshots
csDppRS232 Example Project
csDppRS232 example application uses the simplified vcDP5_USB with an added repeat acquisition control.
csDppRS232 example application demonstrates repeat spectrum acquisition with presets.
Many csDppRS232 classes are shared with DppMCA.
csDppRS232 Example Features
List of csDppRS232 features in addition to DotNet DP5 SDK Features Common To All Examples:
- Built-in device selection for WinUSB and R232.
- Sets preset time.
- Starts spectrum acquisition.
- Monitors acquisition.
- Saves spectrum, status and configuration to Amptek MCA file.
- Spectrum linear histogram plot.
- Displays DPP Status.
- Displays DPP Test Configuration.
- CSharp project runs in Visual Studio 2005 and up.
csDppRS232 Screenshot
|
csDppRS232 Acquisition Dialog |
csDppEthernet Example Project
csDppEthernet example application uses the simplified vcDP5_USB with an added repeat acquisition control.
csDppEthernet example application demonstrates repeat spectrum acquisition with presets.
Many csDppEthernet classes are shared with DppMCA.
csDppEthernet Example Features
List of csDppEthernet features in addition to DotNet DP5 SDK Features Common To All Examples:
- Built-in device selection for Ethernet, WinUSB and R232.
- Sets preset time.
- Starts spectrum acquisition.
- Monitors acquisition.
- Saves spectrum, status and configuration to Amptek MCA file.
- Spectrum linear histogram plot.
- Displays DPP Status.
- Displays DPP Test Configuration.
- CSharp project runs in Visual Studio 2005 and up.
csDppEthernet Screenshot
|
csDppEthernet Acquisition Dialog |
ReadCfg Example Project
ReadCfg example application demonstrates DPP ASCII Command Configuration functions.
ReadCfg Example Features
List of ReadCfg features:
- Drag and drop configuration file.
- Reads configuration.
- Creates filtered DPP ASCII Command Configuration string.
- Filters DPP ASCII Commands by device type and device options.
- Creates filtered DPP ASCII Command Readback string.
- AsciiCmdUtilities namespace includes functions to manage oversized configurations.
- ReplaceCmdValues replaces command values in configuration string to conserve size.
- SplitConfig demonstrates splitting a ASCII configuration string.
- GetCmdChunk locates where to split an ASCII command string if bigger than 512 bytes.
ReadCfg Screenshot
|
ReadCfg Configuration Test Dialog |