Jump to content

Luis Antonio

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Luis Antonio

  1. On 9/27/2022 at 10:17 PM, Luis Antonio said:

    I had a similar issue with the device MCC USB-201-OEM in MATLAB R2022a, but I resolved it following the procedure posted by Fausto. In addition, I added screen captures before and after applying the procedure.

    Initial error related to the driver, code error -226:

    DriverError_Matlab_2022a_PC_Luis_2.thumb.jpg.f6396acc9f979c9557540d8aea807507.jpg

    Bug fixed:

    DriverError_Matlab_2022a_Resolved.thumb.png.3b5e7f90bf753b72f3b393e05c2214f8.png

    Thanks Fausto!

    On 9/27/2022 at 10:17 PM, Luis Antonio said:

    I had a similar issue with the device MCC USB-201-OEM in MATLAB R2022a, but I resolved it following the procedure posted by Fausto. In addition, I added screen captures before and after applying the procedure.

    Initial error related to the driver, code error -226:

    DriverError_Matlab_2022a_PC_Luis_2.thumb.jpg.f6396acc9f979c9557540d8aea807507.jpg

    Bug fixed:

    DriverError_Matlab_2022a_Resolved.thumb.png.3b5e7f90bf753b72f3b393e05c2214f8.png

    Thanks Fausto!

    Hello.

    I'm facing a new issue related to the USB-201-OEM module and MATLAB 2022a.

    I can acquire analog samples from the Ai0 channel from the module if I do it through the Command Window of MATLAB R2022a (64bits), running on Windows 10. But I can't do it through the executable file generated by the Application compiler of MATLAB. Although I'm using Instacal version 6.60, the version is installed through 'Add-Ons' menu option.

    I added the own MATLAB script, Command Window output, the command prompt output, and the daqtest.txt file generated when I call the 'daqsupport' function into the MATLAB script.

    instaCalTest.m

    MATLAB_CommandWindow_Output.txt

    Windows10_CommandPrompt_Output.txt

    daqtest.txt

    Hopefully, someone can help me.

    Luis Antonio

  2. On 6/22/2022 at 9:52 AM, Fausto said:

    Thank you for the screen capture.

    Please open MATLAB R2022a and click on the 'Add-Ons' menu option.  Select 'Manage Add-Ons'.  Does the list show version 22.1.0 of the 'Data Acquisition Toolbox Support Package for Measurement Computing Hardware'?

    image.thumb.png.0a14743ec52af7bb9472c3fd0433cf67.png

     

    If it does not list this support package, then you will need to install the 'Data Acquisition Toolbox Support Package for Measurement Computing Hardware' via the Add-On manager. 

    However, if the Measurement Computing support package version 22.1.0 is listed, then please uninstall the 'Data Acquisition Toolbox Support Package for Measurement Computing Hardware' from the Add-On manager.  To uninstall the package, click on the vertical ellipsis at the far right and select 'Uninstall'.

    image.thumb.png.5df69d438bc52dcbdafd648b8afa3e8d.png

    Afterwards, exit MATLAB and open Windows Control Panel - Programs & Features (use 'appwiz.cpl' from Windows Taskbar).  Uninstall Measurement Computing’s InstaCal/Universal Library and then restart the PC.    Launch MATLAB and reinstall the 'Data Acquisition Toolbox Support Package for Measurement Computing Hardware' via the Add-On manager.  During the toolbox installation, MATLAB should install MCC’s drivers and libraries.  Let me know if this step does not happen.  Next, exit MATLAB.  Connect your USB-1616HS-BNC device and launch InstaCal.  Verify that the device appears in the list and then close InstaCal.  Launch MATLAB and run the 'daqvendorlist' command.  Does MATLAB detect the MCC vendor and your hardware?  Please respond whether these steps were successful or not. 

    If your issue is not resolved, then execute the ‘daqsupport’ function in MATLAB’s Command window.  This command will save useful diagnostic information to a text file ('daqtest.txt'), which should be sent to MathWorks support group.  

    Regards,

    Fausto

     

    I had a similar issue with the device MCC USB-201-OEM in MATLAB R2022a, but I resolved it following the procedure posted by Fausto. In addition, I added screen captures before and after applying the procedure.

    Initial error related to the driver, code error -226:

    DriverError_Matlab_2022a_PC_Luis_2.thumb.jpg.f6396acc9f979c9557540d8aea807507.jpg

    Bug fixed:

    DriverError_Matlab_2022a_Resolved.thumb.png.3b5e7f90bf753b72f3b393e05c2214f8.png

    Thanks Fausto!

×
×
  • Create New...