ERROR" Invalid D/A value" in MEX file

Hi, I am writing a mex file which takes 0-2.5V data(1x256 data) from my .m file and sends the data to analog output pin of DAQ. But I get the following error popup "Invalid D/A value". But the data is within the range. (MCC USB 205 supports upto 0-5V)
int Range = BIP5VOLTS;

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Asked:

A R
on 18 Feb 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!