Problem loading Thor TSPO1 sensor dll

11 vues (au cours des 30 derniers jours)
Andreia Smith-Moritz
Andreia Smith-Moritz le 11 Sep 2020
Hi,
I want to operate TSP01 temperature and humidity sensor with Matlab, but can't seem to load the .dll provided via the software
The dll is in the folder and the address is correct.
I am running Matlab version 2018a. And wonder if there is some sort of version control issue.
This is the error I get
>> NET.addAssembly('C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\Thorlabs.TLTSP01B_32.Interop.dll');
Message: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\Thorlabs.TLTSP01B_32.Interop.dll'
or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source: mscorlib
HelpLink:

Réponses (0)

Catégories

En savoir plus sur Surrogate Optimization dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by