programming USB-3106 for current output
I want to control current and use full-16bit resolution using MATLAB.
In InstaCal, I can change D/A range to 0-20mA so that I can control current.
And also, I can give a value of 0 to 65535 so that I can use 16 bit resolution for control output.
But in MATLAB, I just can give 0 to 10 volt to USB-3106.
How can I make it in MATLAB?
My MATLAB version is 2012b.
Job Title:: Researcher
Industry:: space dynamics
Hello - The range for each channel on the USB-3100 Series is indeed set in InstaCal. At our library level, values of 0 to 65535 are accepted, with 0 corresponding to minus full scale, and 65535 corresponding to plus full scale. Since you report that MATLAB is assuming the output range is a voltage, then you should be able to send out fractional voltages. You should be able to achieve the desired “current” resolution by requesting to output a voltage with enough significant digits to the right of the decimal point. Four places to the right of the decimal point, i.e. 0.0001 volts, will be more than enough.
1 day ago