USB-200 Series Specific Example Programs for Unviersal Library


Attached is a set of example programs specific to the USB-200 series.

Examples include:

  • Analog Input scan background + continuous with and without ScaleData option,
  • Analog Input scan Foreground option,
  • Software polled AnalogIn displayed to a meter or stripchart controlled by a timer,
  • Digital input and output by Bit and by Port,
  • Analog Output / scanning (USB-202 and USB-205 only).
  • Examples are written for VB.NET and C#.NET (C Sharp).

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 programs.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’ 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 4:12:23 AM by Jeff
https://kb.mccdaq.com/KnowledgebaseArticle50566.aspx