I am trying to use the attached *.dll file in MATLAB and am unclear how to even start. There is no header file along with it. Any help would be appreciated.

댓글 수: 7

James Tursa
James Tursa 2022년 9월 23일
편집: James Tursa 2022년 9월 23일
Many of us are reluctant to click on an unknown zip file. Maybe you could describe what this is and where it came from. What documentation do you have? Is it a very old mex routine? Or ...?
Brian
Brian 2022년 9월 23일
Yeah, that's understandable now that I think about it. It's from the OnSemi Communication ToolKit (CTK) Runtime and is supposed to provide functionality to connect to BELASIGNA chips. I would have attached the *.dll itself, but that was an incompatible file type. I can't find any documentation on it, and when contacting their technical support about interfacing with a BELASIGNA 250, their only response is "That chip has been obsoleted and is no longer supported."
Backstory, there's an old production tester that I'm working to replace, and one of the functionalities is "Check the firmware version on the product and update if necessary." There is a convoluted set of C++ files, *.exe files, and *.bat files that are supposed to enable this (all called from LabView code), and I'm not sure exactly how to decipher all of it, so I wanted to start at the source and try to recreate only as much of it as is necessary in the MATLAB environment instead.
Walter Roberson
Walter Roberson 2022년 9월 23일
It would not be difficult to find out the names of the functions that can be called in the DLL: that information is present in all DLL. But finding out what the parameter data types are for the calls is not easy if the DLL was coded in C (but might be easier if it was coded with C++)
Walter Roberson
Walter Roberson 2022년 9월 23일
Interestingly, https://docplayer.net/98299736-Ece-5650-4650-python-project-1.html shows that it was used for a 2018 course. I do not know whether it might still be possible to obtain the software they used for the course.
Brian
Brian 2022년 9월 26일
I don't see any reference to the CTKCOM.dll, OnSemi, or BelaSigna in that link.
I have a C++ code that was previously used to interface with CTKCOM.dll, I'm just looking to implement that in MATLAB and I'm not sure where to start (I haven't looked at anything C++ related in 20 years). I can likely find the parameter data types in this code. If I do, what would you recommend as the easiest/best way to pull those functions into MATLAB?
Walter Roberson
Walter Roberson 2022년 9월 26일
You are right, I did not scan that article thoroughly enough. There is a reference to BelaSigna on that page, but it is just a link to an Application Note, whereas when I scanned the article the first time I misunderstood it as being a project that involved communicating with a BelaSigna device.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Communications Toolbox에 대해 자세히 알아보기

제품

릴리스

R2022b

태그

질문:

2022년 9월 23일

댓글:

2022년 9월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by