Getting Started - PyramidTechnologies/netPyramid-RS-232 GitHub Wiki

Getting Started

Requirements:

  • Visual Studio (Tested in 2013 and 2015 but no reason older versions won't work)
  • .NET 3.5
  • Support Pyramid Bill Acceptor (Apex, Trilogy, or Spectra) configured as RS-232
  • Pyramid RS-232 Harness

Visual Studio

  1. Create your project. You may use any project type that you'd like including command line, Win Forms, or WPF. We'll be using WPF in this guide because that is what our test app uses.
  2. Add a reference to this netPyramid-RS-232 dll. I like to download common libraries to C:\lib so I can find them in the future. Other keep a lib directory in their project's working directory. Either way, copy the the dll AND the log4net dll to your lib folder and add them as dependencies to your project.
  3. Test that your reference worked by adding this line to a new or existing cs source file in your project.

using Apex7000_BillValidator;

  1. If you don't see any errors or warnings, you are ready to start coding.