Site Search:

DI-149 .Net Programming Example

FacebooktwitterredditlinkedinmailFacebooktwitterredditlinkedinmail

Links:
.Net class download page
DI-149 .net programming example
DI-149 product page

DI-149 .net exampleIn our continuing effort to show you how to use our data acquisition starter kits in a .net programming environment, we offer with this installment an example vb.net program for the DI-149. The DI-149 features eight analog input channels with a fixed ±10-V measurement range, four discrete inputs and outputs each with two of the inputs reserved for rate and counter measurements. The example program shared here explores all of this functionality. The program allows you to load the DI-149’s scan list with a combination of analog and discrete input channels. A range selection is supported for the rate input, and overall sampling rate is also a selectable item. During scanning, enabled analog and discrete input channels are displayed in real time and in a scrollable list box. Finally, since the DI-149’s discrete outputs can be toggled asynchronously while inputs are scanned (for use as alarm outputs, for example), the program fully supports this feature through the use of check boxes to manually control output states on a bit-by-bit basis. The example program is clearly-written and very well commented, so that both pro and novice programmers can follow along. It also uses an efficient, and well-conceived event-driven design that takes advantage of .net facilities that are designed specifically for that purpose, so the program may be easily used as the foundation for other application-specific implementations. Any questions, comments, and bugs should be directed to online support system.

 

Follow Us
FacebooktwitterlinkedinyoutubeFacebooktwitterlinkedinyoutube

 Categories: Data Acquisition, Programming

 Tags: , , ,

 Bookmark the permalink

 RSS Feed (comments for this post)

 Post a comment

 Trackback URL

Post a Comment

You must be logged in to post a comment.