USB-CTR Series Specific Example Programs for Unviersal Library


Attached is a set of example programs specific to the USB-CTR04 and USB-CTR08.

Examples include:

  • DaqInScan (composite Scan) 64 bit counters, in Foreground and Background option,
  • Period measurement mode, in Background with and without Continuous option,
  • Pulse width measurement mode, in Background with and without Continuous option,
  • Digital input scanning, Background with and without Continuous option,
  • Digital input and output by Bit and by Port,
  • Pulse output (pulse generator/ PWM),
  • 10 additional examples demonstrating various Totalizer options,
  • Examples are written for VB.NET, C#.NET (C Sharp) and C++.NET.

Notes:

The example programs listed here use references to MCCDAQ.dll and BERGtools.dll. 

Depending on where you install the example programs, you may need to update these references to successfully build the program.

If you receive a warning or error related to a missing reference, remove the existing reference and add a new one.


To add a new reference, from the Solution Explorer, right-click on References and select Add Reference.... 

- To add the MCCDAQ reference, from the Add Reference dialog box, select the .NET tab, scroll down select MCCDAQ API’ and click on the OK button.

- To add the BERGtools reference, from the Add Reference dialog box, select the Browse tab, navigate to the location where you installed the example programs, select ‘BERGtools.dll’ and click on the OK button.


Posted 11/4/2014 8:56:41 AM by Jeff
https://kb.mccdaq.com/KnowledgebaseArticle50569.aspx