Luis Antonio
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by Luis Antonio
-
-
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'?
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'.
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:
Bug fixed:
Thanks Fausto!
MATLAB r2022a DAQ functions unable to recognise USB-1616HS-BNC DAQ box
in Measurement Computing (MCC)
Posted
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