View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Sending digital codes with Measurement Computing boards with mex

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

Sending digital codes with Measurement Computing boards with mex



28 Jun 2011 (Updated )

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

| Watch this File

File Information

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

GU (view profile)

30 Jun 2011 1.1

Added a .m help file for usage notes.

Contact us