Add SDK References to the project
Right-click on the References map in your project and click Add Reference:
Reference external libraries (*.dll files) by selecting them via the ‘Browse’ button and reference project files (*.csproj) by adding them to your solution and referencing the project. (Important! When using the PalmSens SDK without the simplified wrapper, the CoreDependencies must be initiated before you run a measurement, to do this invoke the PalmSens.Windows.CoreDependencies.Init() method one time beforehand)
The PalmSens.Core.dll and PalmSens.Core.Windows.dll libraries should always be referenced. If you wish to use the simplified wrapper to control your devices the PalmSens.Core.Simplified.csproj and PalmSens.Core.Simplified.WinForms.csproj should be referenced. To use the plot control the SDKPlot.csproj, SDKPlot.WinForms.csproj, OxyPlot.dll, and OxyPlot.WindowsForms.dll should be referenced.
Add PSCommSimpleWinforms component to your user interface (simplified wrapper only)
First import the PalmSens.Core.Simplified.csproj and PalmSens.Core.Simplified.WinForms.csproj into your solution and build the PalmSens.Core.Simplified.WinForms project. Then reference these projects in your project. Next, go to the designer of your Main Form and look for the psCommSimpleWinforms component in your toolbox. Drag and drop this component on your Form.
Finally, select the psCommSimpleWinforms component in your form, go to the properties window and set the property Parent to reference the current form. (This is necessary for the simplified PalmSens.Core wrapper to automatically handle potential threading issues for you).