5.0

5.0 | 1 rating Rate this file 12 Downloads (last 30 days) File Size: 3.73 KB File ID: #31989

Sending digital codes with Measurement Computing boards with mex

by

 

28 Jun 2011 (Updated )

Sends digital codes with MCC boards faster than the Data Acquisition Toolbox.

| Watch this File

File Information
Description

I found the Data Acquisition Toolbox too slow for my needs in sending 16-bit digital codes with my PCIM-DAS1602, so I adapted C code from the MCC Universal Library to send codes very fast, at up to 10kHz. This code simply sends two bytes, and then flips a strobe on and off. You can send character stings, in addition to lists of doubles.

Required Products MATLAB Compiler
MATLAB release MATLAB 7.11 (R2010b)
Other requirements Must have MCC Universal Library installed, and cbw32.lib and cbw.h in the same directory as the digCode.c file. Must have an MCC board installed in Windows.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
08 Jun 2013 GU  
Updates
30 Jun 2011

Added a .m help file for usage notes.

Contact us