I want to run the QUARC model at 2 KHz. There were no building issues, but when I try running the model I get the following error message:Error occurred while executing External Mode MEX-file ‘quarc_comm’: Unable to set base rate. A value is outside the valid range.

Last Updated:

When only QUARC’s Immediate I/O blocks (e.g. HIL Write, HIL read) are used in a Simulink model, the maximum sampling frequency is 1 kHz (system clock). In order to achieve a faster sampling frequency, the QUARC’s Timebases blocks (e.g. HIL Read Timebase block, HIL Write Timebase block). Note that the maximum sampling frequency is determined by the DAQ.

Can't find what you're looking for?