A simple demo showing how to call Wasatch.NET via Embarcadero Delphi to control Wasatch Photonics spectrometers through object Pascal.
This demo was generously contributed by Dr. Friedrich Menges, the Spectroscopy Ninja himself, developer of the powerful and multi-vendor Spectragryph spectroscopy platform.
The demo has been tested with Wasatch.NET 2.0.27 (32-bit) and Delphi Community Edition (10.3.2) on a Windows 10 (64-bit) host.
- Imports/
- Contains sample component imports of various .NET and WasatchNET dependencies. You can and probably should generate your own using RAD Studio (see Build Notes), but these are provided as working examples.
Remember to use the provided script to register Wasatch.NET's COM assembly (with Admin privs), else you won't be able to find the COM assemblies.
You'll want to import a TLB for WasatchNET.dll from the most recent Wasatch.NET release.
- Component → Import Component → Import a Type Library
You'll also have to import the mscorlib_tlb and system_windows_forms_tlb packages from .NET Framework 3.5.
- 2019-08-27 1.0.2
- updated for Wasatch.NET 2.0.27
- 2018-07-23 1.0.1
- cleanup by Friedrich
- 2018-07-20 1.0.0
- Initial version (built against Wasatch.NET 1.0.27)