Jump to content
  • 0

Digilent adverises that USB-3114 is Matlab compliant. Does not work with Matlab


PSLebow

Question

5 answers to this question

Recommended Posts

  • 0

The MatLab DAQ Toolbox supports the USB-3114, but only asynchronous operations.  Please try the following code:

daqreset;
d = daqlist("mcc")
dq = daq("mcc")
addoutput(dq, "Board0", "Ao0", "Voltage")
for i=0:10
    write(dq,[i]);
    pause(1);
end
write(dq,[0]);
delete (dq);

The single-channel update rate is approximately 100 S/s and is system-dependent. For additional assistance, please contact Mathworks, the authors of the MCC support.

Link to comment
Share on other sites

  • 0

Thank you for the response.  I will try this routine. Is the 10 ms update time (100 S/s) time due to the Matlab limitation or MCC?  Why the 1 second pause?

Link to comment
Share on other sites

  • 0

OK, Thank you for the information. This does work.  I see the nomenclature is buried as a Matlab daq help topic "Getting started with MCC devices".  I didn't see any mention of that Matlab resource in any of the manuals. 

Is there a way to suppress the the Matlab warning "Added channel does not support clocked sampling:...." ?

100 Hz is sufficient for my purposes now.  Is there a higher rate DAC available with similar current output capabilities?  Can you recommend an output current buffer with no drifts or offsets?

 

Paul

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...